qushaowei
2023-08-28 40b53882417e2828ec0dfb7fba19f43c46b88c0c
修改点检项目
已修改1个文件
14 ■■■■ 文件已修改
src/views/eam/modules/inspectionProject/InspectionProjectModel.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/inspectionProject/InspectionProjectModel.vue
@@ -118,15 +118,15 @@
            :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>
@@ -309,6 +309,12 @@
        //     { required: true, message: '请选择分析方法!' },
        //   ]
        // },
        detectionStandard: {
          rules: [
            { required: true, message: '请输入检测标准!' },
            // { validator: this.validateSurfaceValue },
          ]
        },
        surfaceValue: {
          rules: [
            { required: true, message: '请输入名义值!' },
@@ -356,7 +362,7 @@
      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(() => {