From c378e9a104233c53a92f49b6603f5142a3689b4f Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 22 十二月 2023 15:05:55 +0800
Subject: [PATCH] 销售明细跳转页面的时候对应下面的产品信息等模块列表的数据对应错误的问题修改

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

diff --git a/src/views/other/payment/receipt/addReceipt.vue b/src/views/other/payment/receipt/addReceipt.vue
index ed5daa4..a778fdb 100644
--- a/src/views/other/payment/receipt/addReceipt.vue
+++ b/src/views/other/payment/receipt/addReceipt.vue
@@ -391,6 +391,7 @@
     }
   },
   created() {
+    console.log()
     this.$store.dispatch("geClient")
     this.$store.dispatch("geServiceContract")
     this.$store.dispatch("geSalesDetails")
@@ -409,8 +410,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 +419,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 +528,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 +541,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