From 33836e44d74759010d8e79f3cc702186c4bdf4ea Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期二, 17 十月 2023 11:22:56 +0800
Subject: [PATCH] bug修复(5235 5236)

---
 src/views/other/payment/receipt/addReceipt.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/other/payment/receipt/addReceipt.vue b/src/views/other/payment/receipt/addReceipt.vue
index ed5daa4..c38fffc 100644
--- a/src/views/other/payment/receipt/addReceipt.vue
+++ b/src/views/other/payment/receipt/addReceipt.vue
@@ -409,8 +409,8 @@
       await getPaymentTypeList().then((res) => {
         console.log("鏀粯鏂瑰紡")
         console.log(res.data)
-        if (res.data.code === 200) {
-          this.paymentTypeListOptions = res.data.data.data
+        if (res.code === 200) {
+          this.paymentTypeListOptions = res.data.data
         }
       })
     },
@@ -418,8 +418,8 @@
       await getBankAccountList().then((res) => {
         console.log("璐︽埛")
         console.log(res.data)
-        if (res.data.code === 200) {
-          this.bankAccountOptions = res.data.data.data
+        if (res.code === 200) {
+          this.bankAccountOptions = res.data.data
         }
       })
     },
@@ -527,7 +527,7 @@
         this.editConfig.infomation.serviceContract_Number = row.number
         this.serviceContractId = row.id
       } else if (value === "contract") {
-        this.editConfig.infomation.number = row.number
+        this.editConfig.infomation.saleDetailNumber = row.number
         this.SalesDetailsId = row.id
       }
     },
@@ -540,7 +540,7 @@
         this.editConfig.infomation.serviceContract_Number = ""
         this.serviceContractId = 0
       } else if (value === "contract") {
-        this.editConfig.infomation.number = ""
+        this.editConfig.infomation.saleDetailNumber = ""
         this.SalesDetailsId = 0
       }
     },

--
Gitblit v1.8.0