|
|
@@ -11,12 +11,12 @@ |
|
|
|
<el-form-item label="参数名称" prop="name" :rules="{ |
|
|
|
required: true, message: '参数名称不能为空', trigger: 'blur' |
|
|
|
}"> |
|
|
|
<el-input maxlength="20" clearable v-model="ruleForm.name" size="small" placeholder="请输入参数名称"/> |
|
|
|
<el-input :disabled="ruleForm.id?true:false" maxlength="20" clearable v-model="ruleForm.name" size="small" placeholder="请输入参数名称"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="英文名称" prop="code" :rules="{ |
|
|
|
required: true, message: '英文名称不能为空', trigger: 'blur' |
|
|
|
}"> |
|
|
|
<el-input maxlength="20" clearable v-model="ruleForm.code" size="small" placeholder="请输入英文名称"/> |
|
|
|
<el-input :disabled="ruleForm.id?true:false" maxlength="20" clearable v-model="ruleForm.code" size="small" placeholder="请输入英文名称"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="对比方式" prop="method" :rules="{ |
|
|
|
required: true, message: '对比方式不能为空', trigger: 'change' |