| | |
| | | :span="12" |
| | | > |
| | | <a-form-item |
| | | label="待定" |
| | | label="检测标准" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <a-input |
| | | allow-clear |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'请输入待定值'" |
| | | v-decorator="['surfaceValue1', validatorRules.surfaceValue1 ]" |
| | | :placeholder="disableSubmit?'':'请输入检测标准'" |
| | | v-decorator="['detectionStandard', validatorRules.detectionStandard ]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | // { required: true, message: '请选择分析方法!' }, |
| | | // ] |
| | | // }, |
| | | detectionStandard: { |
| | | rules: [ |
| | | { required: true, message: '请输入检测标准!' }, |
| | | // { validator: this.validateSurfaceValue }, |
| | | ] |
| | | }, |
| | | surfaceValue: { |
| | | rules: [ |
| | | { required: true, message: '请输入名义值!' }, |
| | |
| | | this.testValueType = record.testValueType |
| | | this.$nextTick(() => { |
| | | this.form.setFieldsValue(pick(this.model, 'inspectionProjectCategoryNumName', |
| | | 'num', 'name', 'unitId', 'testValueType', 'inspectionMethod', 'inspectionTool', 'remark')) |
| | | 'num', 'name', 'unitId', 'detectionStandard', 'testValueType', 'inspectionMethod', 'inspectionTool', 'remark')) |
| | | }); |
| | | if (record.testValueType == '1') { |
| | | this.$nextTick(() => { |