From 9748f3f74f9f5d49d23528e9005bd82577591992 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 10 四月 2024 18:24:49 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/1.0.1' into 1.0.1

---
 company/src/components/enterprise/entrustedInvoicingApplication.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/company/src/components/enterprise/entrustedInvoicingApplication.vue b/company/src/components/enterprise/entrustedInvoicingApplication.vue
index d0e31d5..a7a9a42 100644
--- a/company/src/components/enterprise/entrustedInvoicingApplication.vue
+++ b/company/src/components/enterprise/entrustedInvoicingApplication.vue
@@ -121,8 +121,8 @@
         watch: {
             type: {
                 handler(news) {
-                    this.val = ''
-                    this.val1 = ''
+                    // this.val = ''
+                    // this.val1 = ''
                 }
             }
         },
@@ -156,7 +156,7 @@
                 }
                 this.isWorking = true
                 entrustInvoicing({
-                    address: this.val || this.val1,
+                    address: this.type === 0?this.val : this.val1,
                     invoicingMoney: this.total,
                     taxDetialList: this.form.list.map(item => {
                         return {
@@ -188,7 +188,7 @@
                         data.forEach(item => {
                             price += item.totalPrice
                         })
-                        sums[index] = price
+                        sums[index] = price.toFixed(2)
                     }
                 })
                 return sums;

--
Gitblit v1.9.3