From 6ab7d9bee6290c963726cb1545505e3398bff9ab Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 17 十月 2023 09:38:37 +0800 Subject: [PATCH] Merge branch 'zhengwenfeng/modify-style' into dev --- src/views/other/payment/receipt/index.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/other/payment/receipt/index.vue b/src/views/other/payment/receipt/index.vue index 6270398..c6ad29d 100644 --- a/src/views/other/payment/receipt/index.vue +++ b/src/views/other/payment/receipt/index.vue @@ -146,9 +146,7 @@ } this.getData() }, - mounted() { - console.log(this.addConfig, "杩欐槸鍟�") - }, + mounted() {}, methods: { setTable() { this.tableList = { @@ -188,20 +186,22 @@ sourceID: this.addConfig.id, sourceType: sourceTyle, page: this.pagerOptions.currPage, - pageSize: this.pagerOptions.pageSize + pageSize: this.pagerOptions.pageSize, + client_id: this.addConfig.client_id } } else { params = { keyword: this.keyword, keywordType: this.keywordType, page: this.pagerOptions.currPage, - pageSize: this.pagerOptions.pageSize + pageSize: this.pagerOptions.pageSize, + 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 { @@ -212,7 +212,7 @@ } }) this.tableList.tableInfomation = list || [] - this.pagerOptions.totalCount = res.data.data.count + this.pagerOptions.totalCount = res.data.count } else { this.tableList.tableInfomation = [] } @@ -247,7 +247,7 @@ this.editConfig.visible = true this.editConfig.title = "鏂板缓" this.editConfig.sourceType = this.sourceType - this.editConfig.infomation = { ...this.addConfig, number: "" } + this.editConfig.infomation = { ...this.addConfig, saleDetailNumber: "" } } } } -- Gitblit v1.8.0