15490 这个类型是不要了吗 现在还有

pet_li_6.6
limingyu 2024-05-08 16:09:09 +08:00
parent 2a064cbead
commit 3af965e357
1 changed files with 13 additions and 13 deletions

View File

@ -7,9 +7,9 @@
<el-form-item label="安全生产责任制名称:" prop="REMARKS">
<el-input v-model="form.REMARKS" style="width: 100%"/>
</el-form-item>
<el-form-item label="类型:" prop="TYPES">
<multiple-choice :dynamic-tags.sync="form.TYPES" :labels="typeList" :row-key="key.typeKey" :row-name="key.typeName"/>
</el-form-item>
<!-- <el-form-item label="类型:" prop="TYPES">-->
<!-- <multiple-choice :dynamic-tags.sync="form.TYPES" :labels="typeList" :row-key="key.typeKey" :row-name="key.typeName"/>-->
<!-- </el-form-item>-->
<el-form-item v-if="remoteControl.keyOne && false" label="国民经济行业类型:" prop="SPECIFICATION_TYPES">
<multiple-choice
:dynamic-tags.sync="form.SPECIFICATION_TYPES"
@ -104,16 +104,16 @@ export default {
REMARKS: [{ required: true, message: '请输安全操作规程', trigger: 'change' }],
STATUS: [{ required: true, message: '请选择状态', trigger: 'change' }],
FILE: [{ required: true, message: '请选择文件', trigger: 'blur' }],
TYPES: [{
required: true,
validator: (rules, value, callback) => {
if (!value || value.length === 0 || value[0] === '') {
return callback(new Error('类型必选'))
}
return callback()
},
trigger: 'blur'
}],
// TYPES: [{
// required: true,
// validator: (rules, value, callback) => {
// if (!value || value.length === 0 || value[0] === '') {
// return callback(new Error(''))
// }
// return callback()
// },
// trigger: 'blur'
// }],
SPECIFICATION_TYPES: [{
required: true,
validator: (rules, value, callback) => {