qushaowei
2024-01-12 2b4abfa6fc83152b800a7696636fe682b7ec6cbf
src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
@@ -129,22 +129,20 @@
          </a-col> -->
        </a-row>
        <a-row :gutter="24">
          <!-- <a-col :span="12">
          <a-col :span="12">
            <a-form-item
              label="派工方式"
              label="管理制度"
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
            >
              <j-dict-select-tag
              <a-input
                allow-clear
                :disabled="disableSubmit"
                :placeholder="disableSubmit?'':'请选择派工方式'"
                :triggerChange="true"
                dictCode="assign_mode"
                v-decorator="['assignMode', validatorRules.assignMode]"
                :disabled="false"
                :placeholder="disableSubmit?'':'请输入管理制度'"
                v-decorator="['disUda1', validatorRules.disUda1 ]"
              />
            </a-form-item>
          </a-col> -->
          </a-col>
          <a-col :span="12">
            <a-form-item
              label="版本"
@@ -326,7 +324,7 @@
          dataIndex: 'name'
        },
        {
          title: '检测标准',
          title: '完成数据/要求',
          align: 'center',
          dataIndex: 'detectionStandard'
        },
@@ -350,7 +348,6 @@
          align: 'center',
          dataIndex: 'inspectionCycleId',
          scopedSlots: { customRender: 'inspectionCycleId' },
          width: 170,
        },
        // {
        //   title: '示意图',
@@ -359,13 +356,13 @@
        //   scopedSlots: { customRender: 'photo' },
        //   width: 170,
        // },
        {
          title: '部位',
          align: 'center',
          dataIndex: 'location',
          scopedSlots: { customRender: 'location' },
          width: 170,
        },
        // {
        //   title: '部位',
        //   align: 'center',
        //   dataIndex: 'location',
        //   scopedSlots: { customRender: 'location' },
        //   width: 170,
        // },
        {
          title: '操作',
          align: 'center',
@@ -418,6 +415,11 @@
        historyVersion: {
          rules: [
            { required: true, message: '请输入历史版本!' },
          ]
        },
        disUda1: {
          rules: [
            { required: true, message: '请输入管理制度!' },
          ]
        },
      },
@@ -485,7 +487,7 @@
        that.dataSource = temp;
      }
      that.$nextTick(() => {
        that.form.setFieldsValue(pick(that.model, 'num', 'equipmentId', 'equipmentName', 'useDepartName', 'useId', 'teamName', 'assignMode', 'version', 'remark'));
        that.form.setFieldsValue(pick(that.model, 'num', 'equipmentId', 'equipmentName', 'useDepartName', 'disUda1', 'useId', 'teamName', 'assignMode', 'version', 'remark'));
      });
      if (record.id) {
        that.codeDisable = true;