From 3fee8832ca52667b26f702255677d62775ce5cd6 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期二, 09 四月 2024 19:06:40 +0800
Subject: [PATCH] 提交一把

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