From be8bbad43be03e5449e562d3deee27a1b2dd63b3 Mon Sep 17 00:00:00 2001
From: 董国庆 <364620639@qq.com>
Date: 星期四, 03 四月 2025 10:27:19 +0800
Subject: [PATCH] 修改审批意见不必传

---
 src/views/applicationBatchList/components/ApprovalDialog.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/applicationBatchList/components/ApprovalDialog.vue b/src/views/applicationBatchList/components/ApprovalDialog.vue
index d7ab59a..4dc50ee 100644
--- a/src/views/applicationBatchList/components/ApprovalDialog.vue
+++ b/src/views/applicationBatchList/components/ApprovalDialog.vue
@@ -569,14 +569,14 @@
       this.resetForm();
     },
     async submitAudit() {
-      if (!this.form.auditComment.trim()) {
-        this.$message.warning("请输入审批意见");
-        return;
-      }
+      // if (!this.form.auditComment.trim()) {
+      //   this.$message.warning("请输入审批意见");
+      //   return;
+      // }
 
       const params = {
         applyId: Number(this.id), // 确保是数字类型
-        reason: this.form.auditComment.trim(),
+        reason: this.form.auditComment.trim()||'',
         status: Number(this.form.auditResult === "通过" ? 1 : 2), // 确保是数字类型
       };
 

--
Gitblit v1.7.1