diff --git a/src/views/inm/mioitem.vue b/src/views/inm/mioitem.vue
index 20f9fb5f..0e51f43f 100644
--- a/src/views/inm/mioitem.vue
+++ b/src/views/inm/mioitem.vue
@@ -104,6 +104,16 @@
{{scope.row.count}}
+
+
+ {{ scope.row.material_.unit_price }}
+
+
+
+
+ {{ scope.row.count * Number(scope.row.material_.unit_price) }}
+
+
@@ -679,12 +689,12 @@ that.$API.wpm.prints.req(printer_ip, obj).then((response) => {
if((index == 6||index == 7||index == 8||index == 9)&&column.label=='不合格数量'){
propert = 'count_notok';
}
- // if((index == 6||index == 7||index == 8)&&column.label=='检验'){
- // propert = 'count_tested';
- // }
if(index == 6 &&column.label == '发出数量'){
propert = 'count_send';
}
+ if(index == 7 &&column.label == '金额'){
+ propert = 'material_.unit_price';
+ }
if (propert!=='') {
const values = data.map((item) =>
Number(item[propert])
@@ -710,6 +720,16 @@ that.$API.wpm.prints.req(printer_ip, obj).then((response) => {
}
}
}
+ if(index==7&&this.cate == 'helpso'&&this.project_code=='gx'){
+ let sumsss = 0;
+ data.forEach((item)=>{
+ if(item.count&&item.material_.unit_price&&item.material_.unit_price!==null){
+ sumsss += Number(item.count)*Number(item.material_.unit_price);
+ }
+ })
+ sums[index] =sumsss;
+ }
+
});
return sums;
},