From e9c0af3fc026823ca54f206bbe8c2666ed5013cd Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 23 二月 2024 20:06:38 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 company/src/components/enterprise/directInvoicingApplication.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/company/src/components/enterprise/directInvoicingApplication.vue b/company/src/components/enterprise/directInvoicingApplication.vue
index a6a6441..dd7d7e8 100644
--- a/company/src/components/enterprise/directInvoicingApplication.vue
+++ b/company/src/components/enterprise/directInvoicingApplication.vue
@@ -208,7 +208,15 @@
                     this.$message.warning('璇疯緭鍏ユ帴鏀跺湴鍧�')
                     return
                 }
-                if (this.list2.length > 0 && this.setectData.length === 0) {
+                // if (this.list2.length > 0 && this.setectData.length === 0) {
+                //     this.$message.warning('鑷冲皯鍕鹃�変竴椤瑰啿绾㈠崟鏁版嵁')
+                //     return
+                // }
+                let price = 0
+                this.list1.forEach(item => {
+                    price += item.amount
+                })
+                if (price < 0 && this.setectData.length === 0) {
                     this.$message.warning('鑷冲皯鍕鹃�変竴椤瑰啿绾㈠崟鏁版嵁')
                     return
                 }

--
Gitblit v1.9.3