WXL
2026-05-17 3453ba7e5243022ad4388da1515dc75ad8d81f94
src/views/business/allocation/allocationInfo.vue
@@ -505,7 +505,6 @@
        id: undefined,
        infoid: undefined,
        donationcategory: "",
        recordstate: "",
        caseNo: "",
        donorno: "",
        treatmenthospitalname: "",
@@ -535,9 +534,6 @@
        ],
        diagnosisname: [
          { required: true, message: "疾病诊断不能为空", trigger: "blur" }
        ],
        recordstate: [
          { required: true, message: "记录状态不能为空", trigger: "change" }
        ]
      },
      // 分配记录验证规则
@@ -959,12 +955,17 @@
            serviceDonateorganList:
              this.allocationData.serviceDonateorganList || []
          };
          if (
            submitData.allocationStatus == 1 ||
            !submitData.allocationStatus
          ) {
            submitData.allocationStatus = 2;
          }
          saveData.fileName = this.buildFilePatch();
          saveData.serviceDonateorganList.forEach(item => {
            item.baseid = this.form.id;
            item.infoid = this.form.infoid;
          });
          this.form.recordstate = 1;
          const apiMethod = this.form.id ? allocationedit : allocationadd;
          const response = await apiMethod(saveData);
@@ -1033,7 +1034,7 @@
      })
        .then(async () => {
          this.confirmLoading = true;
          this.form.allocationStatus = "1";
          this.form.allocationStatus = "3";
          this.form.allocationTime = new Date()
            .toISOString()
            .replace("T", " ")