工单变更(车数显示)

yangwl
wws 1 year ago
parent e669270bdb
commit 65cd397a3c

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

Loading…
Cancel
Save