bugfix 240110qun

This commit is contained in:
lb
2024-01-10 11:27:04 +08:00
parent e544b91861
commit 593c9f7d60
5 changed files with 326 additions and 18 deletions

View File

@@ -16,7 +16,9 @@
<el-form-item
label="产线"
prop="productionLineId"
:rules="[{ required: true, message: '产线不能为空', trigger: 'blur' }]">
:rules="[
{ required: true, message: '产线不能为空', trigger: 'blur' },
]">
<el-select
v-model="dataForm.productionLineId"
placeholder="请选择产线"
@@ -35,7 +37,9 @@
<el-form-item
label="工段"
prop="workshopSectionId"
:rules="[{ required: true, message: '工段不能为空', trigger: 'blur' }]">
:rules="[
{ required: true, message: '工段不能为空', trigger: 'blur' },
]">
<el-select
v-model="dataForm.workshopSectionId"
filterable
@@ -55,7 +59,9 @@
<el-form-item
label="设备"
prop="equipmentId"
:rules="[{ required: true, message: '设备不能为空', trigger: 'blur' }]">
:rules="[
{ required: true, message: '设备不能为空', trigger: 'blur' },
]">
<el-select
v-model="dataForm.equipmentId"
filterable
@@ -147,6 +153,10 @@ export default {
dataFormCache: null,
};
},
created() {
debugger;
console.log('[mounted] form:', this.dataForm);
},
mounted() {
Promise.all([this.getProductLineList(), this.getEquipmentList()]).then(
() => {