qushaowei
2023-08-29 dc958126a95a7ccd46d90a1ca42eeb03789f9c33
src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
@@ -17,18 +17,21 @@
                @click="handleSW"
                :disabled=SWbuttonDistable
                type="primary"
                v-has="'dailyInspectionOrder:SW'"
              >开工</a-button>
              <a-button
                :style="{marginRight: '8px'}"
                @click="handleReport"
                :disabled="buttonDistable"
                type="primary"
                v-has="'dailyInspectionOrder:report'"
              >报工</a-button>
              <a-button
                :style="{marginRight: '8px'}"
                @click="handleReset"
                :disabled="revocationDistable"
                type="primary"
                v-has="'dailyInspectionOrder:reset'"
              >撤销</a-button>
            </a-row>
          </div>
@@ -147,7 +150,7 @@
                        style="max-width:80px;font-size: 12px;font-style: italic;"
                      />
                      <a-select
                        v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '2'"
                        v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '2'"
                        :value="text"
                        :options="record.inspectionCycles"
                        @change="(e) => handleChange(e, record.key, col, index)"
@@ -156,9 +159,9 @@
                      />
                      <a-input-number
                        :value="text"
                        v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '1'"
                        v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '1'"
                        :min="0"
                        :max="200"
                        :max="20000"
                        @change="(e)=>handleChange(e, record.key, col, index,record)"
                        style="width: 100%"
                        :disabled="record.disabled"
@@ -262,11 +265,13 @@
          @click="handleTS"
          :disabled="buttonDistable"
          type="primary"
          v-has="'dailyInspectionOrder:TS'"
        >暂存</a-button>
        <a-button
          @click="handleOk"
          :disabled="buttonDistable"
          type="primary"
          v-has="'dailyInspectionOrder:save'"
        >保存</a-button>
      </a-row>
    </div>
@@ -393,14 +398,12 @@
          dataIndex: 'abnormalDesc',
          scopedSlots: { customRender: 'abnormalDesc' },
        },
        {
          title: '异常拍照',
          align: 'center',
          dataIndex: 'abnormalPhoto',
          scopedSlots: { customRender: 'abnormalPhoto' },
          // dataIndex: 'action',
          // scopedSlots: { customRender: 'action' },
        },
        // {
        //   title: '异常拍照',
        //   align: 'center',
        //   dataIndex: 'abnormalPhoto',
        //   scopedSlots: { customRender: 'abnormalPhoto' },
        // },
        {
          title: '*异常处置',
          align: 'center',
@@ -663,7 +666,7 @@
      if (target) {
        if (column.dataIndex == 'inspectionProjectResult') {
          if (target.analysisMethod === "1") {
          if (target.testValueType === "1") {
            target[column.dataIndex] = value;
            let maxValue = target.maxValue
            let minValue = target.minValue