From 3453ba7e5243022ad4388da1515dc75ad8d81f94 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期日, 17 五月 2026 15:00:23 +0800
Subject: [PATCH] 近期调试

---
 src/views/business/allocation/allocationInfo.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/views/business/allocation/allocationInfo.vue b/src/views/business/allocation/allocationInfo.vue
index cfa9d2d..c2106f3 100644
--- a/src/views/business/allocation/allocationInfo.vue
+++ b/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", " ")

--
Gitblit v1.9.3