From 822eaead378df182afba549b7a18e4e3e3daec0a Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期三, 18 十月 2023 09:03:56 +0800
Subject: [PATCH] Merge branch 'dev' of ssh://192.168.5.5:29418/web/crm-web into dev

---
 src/views/sales/refundForm/AddRefundFormDialog.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/views/sales/refundForm/AddRefundFormDialog.vue b/src/views/sales/refundForm/AddRefundFormDialog.vue
index eff816e..5736232 100644
--- a/src/views/sales/refundForm/AddRefundFormDialog.vue
+++ b/src/views/sales/refundForm/AddRefundFormDialog.vue
@@ -312,7 +312,7 @@
 import { getAddSalesRefund, getUpdateSalesRefund } from "@/api/sales/refundForm"
 import SelectClientDialog from "@/views/other/commonDialog/SelectClientDialog"
 import SelectCommonDialog from "@/views/other/commonDialog/SelectCommonDialog"
-import { getPaymentTypeList } from "@/api/common/payment"
+import {getBankAccountList, getPaymentTypeList} from "@/api/common/payment"
 import codeMixin from "@/views/client/followupRecords/mixin/codeMixin"
 import { getSalesReturnList } from "@/api/sales/salesReturn"
 import { mapActions } from "vuex"
@@ -410,18 +410,28 @@
         this.objCode.codeStandID = this.editConfig.infomation.codeStandID
       }
       this.getRCodeStandardList()
+      this.getBankAccountList()
     },
     getCommonData() {
       getAllData().then((res) => {
         this.memberOptions = res.data.member
-        this.accountOptions = res.data.accountId
+        // this.accountOptions = res.data.accountId
       })
       this.getPaymentTypeList()
     },
     async getPaymentTypeList() {
       await getPaymentTypeList().then((res) => {
-        if (res.data.code === 200) {
-          this.paymentTypeListOptions = res.data.data.data
+        if (res.code === 200) {
+          this.paymentTypeListOptions = res.data.data ?? []
+        }
+      })
+    },
+    async getBankAccountList() {
+      await getBankAccountList().then((res) => {
+        console.log("璐︽埛")
+        console.log('璐︽埛',res)
+        if (res.code === 200) {
+          this.accountOptions = res.data.data
         }
       })
     },

--
Gitblit v1.8.0