qushaowei
2025-05-15 2bd54f454ea035ebc10e4d5bf4e50169c3929c5c
src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue
@@ -70,7 +70,7 @@
              :wrapperCol="wrapperCol"
              label="保养单位"
            >
              <span v-if="this.model != null">{{ this.model.actualEndTime }}</span>
              <span v-if="this.model != null">{{ this.model.manageName }}</span>
              <span v-else>-</span>
            </a-form-item>
          </a-col>
@@ -197,8 +197,7 @@
            <a-input v-model="model.sparePart" />
          </a-form-item>
        </a-col>
      </a-row>
      <a-row :gutter="24">
        <a-col :span="12">
          <a-form-item
            :labelCol="{ span: 8 }"
@@ -213,7 +212,10 @@
            />
          </a-form-item>
        </a-col>
        <a-col :span="12">
      </a-row>
      <a-row :gutter="24">
        <!-- <a-col :span="12">
          <a-form-item
            :labelCol="{ span: 8 }"
            :wrapperCol="{ span: 4 }"
@@ -225,6 +227,35 @@
              @change="handle5Switch(model.meetProcessRequire)"
              :checked="model.meetProcessRequire == '1'"
            />
          </a-form-item>
        </a-col> -->
        <a-col :span="12">
          <a-form-item
            style="font-size: large;font-style: normal;font-size: 15px;"
            :labelCol="{ span: 8 }"
            :wrapperCol="{ span: 12 }"
            label="能否满足加工工艺要求"
          >
            <j-dict-select-tag
              style="font-size: large;font-style: normal;font-size: 15px;width: 100%"
              allow-clear
              :triggerChange="true"
              dictCode="meet_process_require"
              v-model="model.meetProcessRequire"
            />
          </a-form-item>
        </a-col>
        <a-col
          v-if="model.meetProcessRequire =='3'"
          :span="12"
        >
          <a-form-item
            :labelCol="{ span: 8 }"
            :wrapperCol="{ span: 12 }"
            label="自定义说明:"
          >
            <a-input v-model="model.meetProcessRequireRemark" />
          </a-form-item>
        </a-col>
      </a-row>
@@ -312,8 +343,14 @@
        @click="handleOk()"
        type="primary"
        :loading="confirmLoading"
        :disabled="this.model.precisionInspectionStatus == '5'"
        :disabled="this.model.precisionInspectionStatus == '5' || this.model.statusFlag !== this.model.precisionInspectionStatus"
      >确定</a-button>
      <!-- <a-button
        @click="handleOk()"
        type="primary"
        :loading="confirmLoading"
        :disabled="this.model.precisionInspectionStatus == '5'"
      >确定</a-button> -->
    </template>
  </a-modal>
@@ -377,6 +414,7 @@
      dataSource: [],
      model: {},
      departs: [],
      labelCol: {
        xs: { span: 24 },
        sm: { span: 6 },
@@ -406,7 +444,7 @@
  methods: {
    edit(record) {
    edit(record, statusFlag) {
      let that = this;
      if (record.receipts2 == "" || record.receipts2 == null) {
        this.getSysFileName()
@@ -418,6 +456,9 @@
      // record.meetProcessRequire = '0'
      // record.judgmentResult = ""
      this.model = Object.assign({}, record);
      // alert("1" + statusFlag)
      // alert("2" + record.precisionInspectionStatus)
      this.model.statusFlag = statusFlag;
      this.getPrecisionInspection()
      // this.getEquipmentPrecision()
      this.visible = true;
@@ -488,6 +529,7 @@
        if (res.success) {
          this.dataSource = res.result[0].precisionInspectionDetails
          this.model = Object.assign(this.model, res.result[0]);
          this.model = Object.assign({}, this.model);
        }
      })
    },