houjie
2023-09-05 6bc6b53ed1141673effd0ed265e13d34706cc3d2
src/views/eam/modules/maintenanceProject/MaintenanceProjectModel.vue
@@ -172,6 +172,20 @@
              />
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item
              label="保养部位"
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
            >
              <a-input
                allow-clear
                :disabled="disableSubmit"
                :placeholder="disableSubmit?'':'请输入保养部位'"
                v-decorator="['location', validatorRules.location ]"
              />
            </a-form-item>
          </a-col>
        </a-row>
        <a-row :gutter="24">
          <a-col :span="24">
@@ -201,6 +215,7 @@
        关闭
      </a-button>
      <a-button
        hidden
        v-if="!this.model.id"
        :disabled="disableSubmit || confirmLoading"
        :loading="confirmLoading"
@@ -292,7 +307,7 @@
      this.visible = true;
      this.disableSubmit = false;
      this.$nextTick(() => {
        this.form.setFieldsValue(pick(this.model, 'maintenanceProjectCategoryNumName', 'maintenanceRequire', 'num', 'name', 'maintenanceMethod', 'maintenanceTool', 'maintenanceSpecialtyId', 'standard', 'workingHourQuota', 'remark'))
        this.form.setFieldsValue(pick(this.model, 'maintenanceProjectCategoryNumName', 'maintenanceRequire', 'num', 'name', 'maintenanceMethod', 'maintenanceTool', 'maintenanceSpecialtyId', 'standard', 'workingHourQuota', 'location', 'remark'))
      });
      if (record.id) {
        this.codeDisable = true;