|
@@ -195,15 +195,20 @@ export default {
|
|
|
fvalue: [{ required: true, message: '指标参数不能为空', trigger: 'blur' }],
|
|
|
fname: [{ required: true, message: '报送参数名称不能为空', trigger: 'blur' }],
|
|
|
funit: [{ required: true, message: '计量单位不能为空', trigger: 'blur' }],
|
|
|
- normRatio: [{ required: true, message: '分类占比不能为空', trigger: 'blur' }],
|
|
|
- fnumber: [{ required: true, message: '权数不能为空', trigger: 'blur' }],
|
|
|
+ normRatio: [{ required: true, message: '分类占比不能为空', trigger: 'blur' },
|
|
|
+ { pattern: /^[1-9]{1,}$/, message: '分类占比只能输入整数数字', trigger: 'blur' }],
|
|
|
+ fnumber: [{ required: true, message: '权数不能为空', trigger: 'blur' },
|
|
|
+ { pattern: /^[1-9]{1,}$/, message: '权数只能输入整数数字', trigger: 'blur' }],
|
|
|
status: [{ required: true, message: '是否启用(1=启用,0不启用)不能为空', trigger: 'blur' }],
|
|
|
startTime: [{ required: true, message: '启用时间不能为空', trigger: 'blur' }],
|
|
|
stopTime: [{ required: true, message: '停用时间不能为空', trigger: 'blur' }],
|
|
|
remark: [{ required: true, message: '备注不能为空', trigger: 'blur' }],
|
|
|
- collValue: [{ required: true, message: '采集参考值不能为空', trigger: 'blur' }],
|
|
|
- meritsValue: [{ required: true, message: '绩效参考值不能为空', trigger: 'blur' }],
|
|
|
- dfRetio: [{ required: true, message: '上下公差占比不能为空', trigger: 'blur' }],
|
|
|
+ collValue: [{ required: true, message: '采集参考值不能为空', trigger: 'blur' },
|
|
|
+ { pattern: /^[1-9]{1,}$/, message: '采集参考值只能输入整数数字', trigger: 'blur' }],
|
|
|
+ meritsValue: [{ required: true, message: '绩效参考值不能为空', trigger: 'blur' },
|
|
|
+ { pattern: /^[1-9]{1,}$/, message: '绩效参考值只能输入整数数字', trigger: 'blur' }],
|
|
|
+ dfRetio: [{ required: true, message: '上下公差占比不能为空', trigger: 'blur' },
|
|
|
+ { pattern: /^[1-9]{1,}$/, message: '上下公差占比只能输入整数数字', trigger: 'blur' }],
|
|
|
type: [{ required: true, message: '明细类型(1=绩效,2=采集)不能为空', trigger: 'change' }]
|
|
|
},
|
|
|
unitSel: null
|