From 1e72942aa4848ae4835e7f30bb4adc01f9ce5bdc Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 23 二月 2024 11:45:58 +0800
Subject: [PATCH] mrshi

---
 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