From 48adbb5e7759f33efb0a97c8baf22aaebba7987a Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 25 十月 2023 17:30:58 +0800
Subject: [PATCH] 销售明细单、销售退货单选择产品逻辑修改及新增字段
---
src/views/sales/refundForm/AddRefundFormDialog.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/views/sales/refundForm/AddRefundFormDialog.vue b/src/views/sales/refundForm/AddRefundFormDialog.vue
index 6341678..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,11 +410,12 @@
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()
},
@@ -425,6 +426,15 @@
}
})
},
+ async getBankAccountList() {
+ await getBankAccountList().then((res) => {
+ console.log("璐︽埛")
+ console.log('璐︽埛',res)
+ if (res.code === 200) {
+ this.accountOptions = res.data.data
+ }
+ })
+ },
// 淇濆瓨
saveClick(formName) {
this.$refs[formName].validate((valid) => {
--
Gitblit v1.8.0