生产能力平衡

This commit is contained in:
zhangdingyu
2019-03-18 10:23:57 +08:00
parent b2d10c4351
commit 0e99b449cc

View File

@@ -1453,12 +1453,7 @@ export default {
this.result1 = 0
for (let i = 0; i < this.tableData1.length; i++) {
this.length = this.tableData1.length
if (this.预计外协[i] === '否') {
this.预计外协[i] = 1
} else {
this.预计外协[i] = 2
}
out(this.tableData1[i].工艺计划流水号, this.预计外协[i]).then(response => {
out(this.tableData1[i].工艺计划流水号, 1).then(response => {
}).then(() => {
plan(this.tableData1[i].工艺计划流水号).then(response => {
if (this.tableData1[i].平衡次数 !== 0 || this.tableData1[i].是否焊接 !== 1) {
@@ -1466,7 +1461,6 @@ export default {
if (this.result1 === this.length) {
this.$message.success('零件计划制定成功')
this.total1 = 0
this.pageSize1 = 10
this.pageList1 = 1
this.Selection1()
} else if (response.data[0].result === '0') {