生产能力平衡
This commit is contained in:
@@ -621,6 +621,7 @@ export default {
|
||||
directives: { elDragDialog },
|
||||
data() {
|
||||
return {
|
||||
bianliang1: [],
|
||||
count: 0,
|
||||
是否扫描: false,
|
||||
dataX1: [], // 图表1横坐标
|
||||
@@ -1437,19 +1438,15 @@ export default {
|
||||
},
|
||||
// 虚拟排产
|
||||
Discharge() {
|
||||
this.result1 = 0
|
||||
for (let i = 0; i < this.tableData1.length; i++) {
|
||||
discharge(this.tableData1[i].工艺计划流水号).then(response => {
|
||||
this.result1 += parseInt(response.data[0].result)
|
||||
if (this.result1 === this.tableData1.length) {
|
||||
this.result1 = 0
|
||||
this.total1 = 0
|
||||
this.pageSize1 = 10
|
||||
this.pageList1 = 1
|
||||
this.Selection1()
|
||||
}
|
||||
})
|
||||
this.bianliang1.push(this.tableData1[i].工艺计划流水号)
|
||||
}
|
||||
discharge(this.bianliang1).then(response => {
|
||||
this.total1 = 0
|
||||
this.pageSize1 = 10
|
||||
this.pageList1 = 1
|
||||
this.Selection1()
|
||||
})
|
||||
},
|
||||
// 4.1 确定零件计划
|
||||
Plan() {
|
||||
|
||||
Reference in New Issue
Block a user