|
|
|
@ -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 // 先将refreshProTable设置为false,隐藏表格
|
|
|
|
|
this.refreshWorkerTable = false // 先将refreshProTable设置为false,隐藏表格
|
|
|
|
|