diff --git a/src/views/statistics/stock_statistics.vue b/src/views/statistics/stock_statistics.vue
index 7dea40b6..04c161f9 100644
--- a/src/views/statistics/stock_statistics.vue
+++ b/src/views/statistics/stock_statistics.vue
@@ -68,16 +68,28 @@
-
-
+
+
+ ({{ scope.row.material_.model }})
+
+
+
+
+ ({{
+ scope.row.material_.specification
+ }})
+
+
@@ -100,15 +115,16 @@
{{
Math.floor(
scope.row.count /
- scope.row.week_esitimate_consume
+ scope.row.material_
+ .week_esitimate_consume
) * 7
}}
@@ -268,7 +284,7 @@ export default {
data() {
return {
mioTypeEnum,
- apiObj: this.$API.mtm.material.list,
+ apiObj: this.$API.inm.warehouse.batch,
materialType: "",
params: { is_hidden: false, type: 10, count__gte: 1 },
query: {
@@ -337,9 +353,11 @@ export default {
},
//更改周预估用量
weekcountChange(row) {
- let obj = { week_esitimate_consume: row.week_esitimate_consume };
+ let obj = {
+ week_esitimate_consume: row.material_.week_esitimate_consume,
+ };
this.$API.mtm.material.setWeekConsume
- .req(row.id, obj)
+ .req(row.material_.id, obj)
.then((res) => {
console.log(res);
this.$refs.tables1.refresh();