diff --git a/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue b/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue
index 86e3249e..92899aac 100644
--- a/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue
+++ b/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue
@@ -431,7 +431,7 @@
@current-change="handleCurrentChange1"/>
虚拟排产
- 确定零件计划
+ 确定零件计划
全部选出
@@ -620,6 +620,7 @@ export default {
directives: { elDragDialog },
data() {
return {
+ 可以确定零件计划: false,
bianliang1: [],
count: 0,
是否扫描: false,
@@ -1226,6 +1227,12 @@ export default {
this.计划日期.push(response.data[i].计划日期)
}
})
+ this.可以确定零件计划 = true
+ for (let i = 0; i < this.planDate.length; i++) {
+ for (let j = 0; j < this.planDate[i].length; j++) {
+ this.可以确定零件计划 = this.可以确定零件计划 && !!this.planDate[i][j]
+ }
+ }
})
}
} else {
@@ -1435,6 +1442,7 @@ export default {
this.bianliang1.push(this.tableData1[i].工艺计划流水号)
}
discharge(this.bianliang1).then(response => {
+ console.log(response.data)
this.Selection1()
})
},