生产能力平衡
This commit is contained in:
@@ -127,8 +127,8 @@ export function discharge(a) {
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_工序应完成时间_平均算法',
|
||||
param: '工艺计划流水号=' + a + '=int'
|
||||
name: '车间生产管理_能力平衡_循环执行',
|
||||
param: '工艺计划流水号组=' + a
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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