From 8e5ec095fc4ba9cac7c91b681b06846d3e4155ae Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期一, 16 十月 2023 21:17:29 +0800
Subject: [PATCH] 销售明细,退货单、退款单根据客户进行筛选
---
src/views/other/payment/receipt/index.vue | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/views/other/payment/receipt/index.vue b/src/views/other/payment/receipt/index.vue
index 3e8365e..3270ab7 100644
--- a/src/views/other/payment/receipt/index.vue
+++ b/src/views/other/payment/receipt/index.vue
@@ -146,8 +146,7 @@
}
this.getData()
},
- mounted() {
- },
+ mounted() {},
methods: {
setTable() {
this.tableList = {
@@ -188,7 +187,7 @@
sourceType: sourceTyle,
page: this.pagerOptions.currPage,
pageSize: this.pagerOptions.pageSize,
- client_id:this.addConfig.client_id,
+ client_id: this.addConfig.client_id
}
} else {
params = {
@@ -196,13 +195,13 @@
keywordType: this.keywordType,
page: this.pagerOptions.currPage,
pageSize: this.pagerOptions.pageSize,
- client_id:this.addConfig.client_id,
+ client_id: this.addConfig.client_id
}
}
await getReceiptList(params)
.then((res) => {
- if (res.data.code === 200) {
- const resList = res?.data?.data?.data ?? []
+ if (res.code === 200) {
+ const resList = res?.data?.data ?? []
if (resList.length > 0) {
const list = resList.map((item) => {
return {
@@ -213,7 +212,7 @@
}
})
this.tableList.tableInfomation = list || []
- this.pagerOptions.totalCount = res.data.data.count
+ this.pagerOptions.totalCount = res.data.count
} else {
this.tableList.tableInfomation = []
}
--
Gitblit v1.8.0