订单管理管理模块(产线更换为机型)

yangwl
wws 1 year ago
parent 23ffc3d1b9
commit bd78a800a6

@ -154,8 +154,8 @@
<el-row> <el-row>
<!-- 选择产线 --> <!-- 选择产线 -->
<el-col :span="6"> <el-col :span="6">
<el-form-item label="选择产线:"> <el-form-item label="选择机型:">
<el-select size="small" v-model="form.prodLineCode" placeholder="请选择产线"> <el-select size="small" v-model="form.prodLineCode" placeholder="请选择成型机">
<el-option v-for="item in proline" :key="item.key" :label="item.label" :value="item.key"></el-option> <el-option v-for="item in proline" :key="item.key" :label="item.label" :value="item.key"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -224,7 +224,7 @@
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
> >
<el-table-column width="60" align="center" label="序号" type="index" :index="indexMethod"></el-table-column> <el-table-column width="60" align="center" label="序号" type="index" :index="indexMethod"></el-table-column>
<el-table-column width="120" align="center" prop="prodLineCode" label="产线"></el-table-column> <el-table-column width="120" align="center" prop="prodLineCode" label="成型机"></el-table-column>
<el-table-column width="300" align="center" prop="workorderCode" label="工单号"></el-table-column> <el-table-column width="300" align="center" prop="workorderCode" label="工单号"></el-table-column>
<el-table-column width="120" align="center" prop="quantitySplit" label="数量"></el-table-column> <el-table-column width="120" align="center" prop="quantitySplit" label="数量"></el-table-column>
<el-table-column align="center" prop="batchCodeList" label="批次号"></el-table-column> <el-table-column align="center" prop="batchCodeList" label="批次号"></el-table-column>
@ -378,7 +378,10 @@
shiftId: null, shiftId: null,
formFields: [], formFields: [],
} }
this.formFields = [], this.formFields = [{
batchCode: '',
batchQuantity: ''
}],
// //
getOrderList(id).then(response => { getOrderList(id).then(response => {
if(response.code == 500){ if(response.code == 500){
@ -403,7 +406,14 @@
}; };
// //
this.splitData = response.data; this.splitData = response.data;
//
this.workerLoading = true; // true
this.refreshWorkerTable = false; // refreshProTablefalse
this.$nextTick(() => {
// 使$nextTickDOM
this.refreshWorkerTable = true; // refreshProTabletrue
this.workerLoading = false; // false
});
}) })
@ -644,7 +654,7 @@
}); });
// //
this.form.productDate = new Date(); this.form.productDate = new Date();
//线 //
getprodLineShift().then(response => { getprodLineShift().then(response => {
this.proline = response.data.lines; this.proline = response.data.lines;
this.workShift = response.data.shifts; this.workShift = response.data.shifts;

Loading…
Cancel
Save