From 09da100729793848bc01b51f7b05ca3f1e7ec64f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 20 六月 2024 14:05:35 +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..4f5d2fe 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