From 653b9aea89c84aa446db37a51c5d55ba84a18795 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期五, 17 四月 2026 10:27:39 +0800
Subject: [PATCH] fix: 在报工提交数据中添加审核人姓名字段

---
 src/pages/productionManagement/productionReport/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/pages/productionManagement/productionReport/index.vue b/src/pages/productionManagement/productionReport/index.vue
index 8d1e0e9..ab29bc3 100644
--- a/src/pages/productionManagement/productionReport/index.vue
+++ b/src/pages/productionManagement/productionReport/index.vue
@@ -267,6 +267,7 @@
       planQuantity: Number(form.value.planQuantity) || 0,
       userId: form.value.userId.value,
       auditUserId: form.value.auditUserId.value,
+      auditUserName: form.value.auditUserId.name,
       schedulingUserId: form.value.userId.value, // 鍏煎鏃у瓧娈�
     };
     console.log(submitData, "submitData");
@@ -282,7 +283,10 @@
         showToast(res.msg || "鎶ュ伐澶辫触");
         submitting.value = false;
       }
-    });
+    }).catch(err => {
+      submitting.value = false;
+    })
+    ;
   };
 
   // 椤甸潰鍔犺浇鏃跺垵濮嬪寲鏁版嵁

--
Gitblit v1.9.3