fix:生产报工重置按钮没反应问题。无聊产品分类新增给"物料/产品"增加校验
This commit is contained in:
parent
ab4dd91beb
commit
28a81f95b7
@ -238,6 +238,7 @@
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.queryParams = {}
|
||||
this.handleQuery();
|
||||
},
|
||||
|
||||
@ -277,4 +278,3 @@
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
@ -94,7 +94,7 @@
|
||||
|
||||
<!-- 添加或修改物料分类对话框 -->
|
||||
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="90px">
|
||||
<el-row>
|
||||
<el-col :span="24" v-if="form.parentTypeId !== 0">
|
||||
<el-form-item label="父分类" prop="parentTypeId">
|
||||
@ -117,7 +117,7 @@
|
||||
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="物料/产品">
|
||||
<el-form-item label="物料/产品" prop="itemOrProduct">
|
||||
<el-radio-group v-model="form.itemOrProduct">
|
||||
<el-radio
|
||||
v-for="dict in dict.type.mes_item_product"
|
||||
|
@ -254,6 +254,9 @@ export default {
|
||||
],
|
||||
remark: [
|
||||
{ max: 250, message: '长度必须小于250个字符', trigger: 'blur' }
|
||||
],
|
||||
routeDesc: [
|
||||
{ max: 250, message: '字段过长', trigger: 'blur' }
|
||||
]
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user