工单变更(车数显示)

master
wws 1 year ago
parent e669270bdb
commit 65cd397a3c

@ -387,7 +387,7 @@
</el-col>
<el-col :offset="1" :span="7">
<!-- 车数 -->
<el-form-item size="small" label="分配车数:">
<el-form-item v-if="checkType" size="small" label="分配车数:">
<el-input required type="number" @input="changeCarNum" v-model="splitForm.carNum"></el-input>
</el-form-item>
</el-col>
@ -467,6 +467,8 @@ export default {
dicts: ['product_type', 'workorder_type', 'shift_type'],
data() {
return {
//
checkType: false,
// 线code
proLineCode: null,
//
@ -718,6 +720,11 @@ export default {
getOrderAndWork(this.selectWork).then(response => {
this.splitData.push(response.data.workOrder)
this.productData.push(response.data.order)
if(this.productData[0].prodType == 'white') {
this.checkType = true
}else {
this.checkType = false
}
this.refreshProTable = false // refreshProTablefalse
this.refreshWorkerTable = false // refreshProTablefalse

Loading…
Cancel
Save