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