白坯订单管理

master
wws 1 year ago
parent 13a2dd7e47
commit fcf19fd4e0

@ -387,7 +387,7 @@
</el-col>
<el-col :offset="1" :span="7">
<!-- 车数 -->
<el-form-item v-if="this.splitForm.carNum != null" size="small" label="分配车数:">
<el-form-item size="small" label="分配车数:">
<el-input required type="number" @input="changeCarNum" v-model="splitForm.carNum"></el-input>
</el-form-item>
</el-col>
@ -521,7 +521,7 @@ export default {
productDate: null,
shiftId: null,
routeCode: null,
carNum: null,
carNum: 0,
},
//
loading: true,
@ -628,7 +628,10 @@ export default {
message: '车数不能超过拆分数量!',
type: 'warning'
})
this.splitForm.carNum = this.splitForm.splitNum;
console.log("拆分数量")
console.log(this.splitForm.splitNum)
num = this.splitForm.splitNum
this.splitForm.carNum = num;
}
//
if (num <= 0) {
@ -636,9 +639,10 @@ export default {
message: '车数数量不能小于0',
type: 'warning'
})
this.splitForm.carNum = 1;
}
num = 1;
this.splitForm.carNum = num;
}
this.workForm.carNum = num;
},
// -
handleUpdateDown(row) {
@ -681,6 +685,7 @@ export default {
productDate: null,
shiftId: null,
routeCode: null,
carNum: null
}
this.formFields = []
@ -731,12 +736,13 @@ export default {
this.splitForm.splitNum = this.splitData[0].quantitySplit
//
this.splitForm.prodLineCodeArray = response.data.workOrder.prodLineCodeArray
//
this.splitForm.carNum = this.splitData[0].carNum
//
this.splitForm.shiftId = this.splitData[0].shiftDesc
//
this.splitForm.routeCode = this.splitData[0].routeCode
//
this.splitForm.carNum = this.splitData[0].carNum
//
if (this.productData[0].prodType == 'white'){
@ -994,7 +1000,8 @@ export default {
splitNum: this.workForm.splitNum,
product: this.productData[0],
routeCode: this.workForm.routeCode,
proOrderWorkorder: this.selectWork
proOrderWorkorder: this.selectWork,
carNum: this.workForm.carNum,
}
subChangeWorkOrder(data).then(response => {
@ -1014,7 +1021,8 @@ export default {
splitNum: null,
productDate: null,
shiftId: null,
formFields: []
formFields: [],
carNum: null
}
this.formFields = [{
batchCode: '',

Loading…
Cancel
Save