生产能力平衡
This commit is contained in:
@@ -127,8 +127,8 @@ export function discharge(a) {
|
|||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '2',
|
type: '2',
|
||||||
name: '车间生产管理工艺_新排产算法_工序应完成时间_平均算法',
|
name: '车间生产管理_能力平衡_循环执行',
|
||||||
param: '工艺计划流水号=' + a + '=int'
|
param: '工艺计划流水号组=' + a
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -621,6 +621,7 @@ export default {
|
|||||||
directives: { elDragDialog },
|
directives: { elDragDialog },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
bianliang1: [],
|
||||||
count: 0,
|
count: 0,
|
||||||
是否扫描: false,
|
是否扫描: false,
|
||||||
dataX1: [], // 图表1横坐标
|
dataX1: [], // 图表1横坐标
|
||||||
@@ -1437,19 +1438,15 @@ export default {
|
|||||||
},
|
},
|
||||||
// 虚拟排产
|
// 虚拟排产
|
||||||
Discharge() {
|
Discharge() {
|
||||||
this.result1 = 0
|
|
||||||
for (let i = 0; i < this.tableData1.length; i++) {
|
for (let i = 0; i < this.tableData1.length; i++) {
|
||||||
discharge(this.tableData1[i].工艺计划流水号).then(response => {
|
this.bianliang1.push(this.tableData1[i].工艺计划流水号)
|
||||||
this.result1 += parseInt(response.data[0].result)
|
}
|
||||||
if (this.result1 === this.tableData1.length) {
|
discharge(this.bianliang1).then(response => {
|
||||||
this.result1 = 0
|
|
||||||
this.total1 = 0
|
this.total1 = 0
|
||||||
this.pageSize1 = 10
|
this.pageSize1 = 10
|
||||||
this.pageList1 = 1
|
this.pageList1 = 1
|
||||||
this.Selection1()
|
this.Selection1()
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
|
||||||
},
|
},
|
||||||
// 4.1 确定零件计划
|
// 4.1 确定零件计划
|
||||||
Plan() {
|
Plan() {
|
||||||
|
|||||||
Reference in New Issue
Block a user