From 0225801dc2196f17392437ed2cca392cbdac2daf Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 11 Feb 2025 17:51:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8D=95=E8=BD=A6=E8=BF=94?= =?UTF-8?q?=E5=88=A9=E7=AE=A1=E7=90=86=E3=80=81=E4=B8=93=E9=A1=B9=E8=BF=94?= =?UTF-8?q?=E5=88=A9=E7=AE=A1=E7=90=86=20--=20=E5=88=97=E8=A1=A8=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=90=88=E8=AE=A1=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/bikerebate/bicyclerebatemanagement.js | 9 +++++++++ .../src/api/specialrebate/specialrebatemanagement.js | 9 +++++++++ .../bikerebatemanagement/bicyclerebatemanagement.vue | 9 +++++++++ .../specialrebatemanagement/specialrebatemanagement.vue | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/anrui-scm/anrui-scm-ui/src/api/bikerebate/bicyclerebatemanagement.js b/anrui-scm/anrui-scm-ui/src/api/bikerebate/bicyclerebatemanagement.js index e0b949e670..e6dfd0ff72 100644 --- a/anrui-scm/anrui-scm-ui/src/api/bikerebate/bicyclerebatemanagement.js +++ b/anrui-scm/anrui-scm-ui/src/api/bikerebate/bicyclerebatemanagement.js @@ -10,6 +10,15 @@ export default { headers: { 'Content-Type': 'application/json' } }) }, + // 查询不分页 + listAll: function(data) { + return request({ + url: '/scm/v1/scmvehrebate/listAll', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, // 选择车辆信息--查询分页列表 pageList: function(data) { return request({ diff --git a/anrui-scm/anrui-scm-ui/src/api/specialrebate/specialrebatemanagement.js b/anrui-scm/anrui-scm-ui/src/api/specialrebate/specialrebatemanagement.js index 529335f4ac..457e7e719c 100644 --- a/anrui-scm/anrui-scm-ui/src/api/specialrebate/specialrebatemanagement.js +++ b/anrui-scm/anrui-scm-ui/src/api/specialrebate/specialrebatemanagement.js @@ -10,6 +10,15 @@ export default { headers: { 'Content-Type': 'application/json' } }) }, + // 查询不分页 + listAll: function(data) { + return request({ + url: '/scm/v1/scmspecialrebate/listAll', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, // 删除 delete: function(params) { return request({ diff --git a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagement.vue b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagement.vue index 95488a8059..bb33633a05 100644 --- a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagement.vue +++ b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagement.vue @@ -222,6 +222,7 @@ export default { // 查询条件 ----------- tableKey: 0, list: [], + listAll: [], sids: [], FormLoading: false, listLoading: false, @@ -361,6 +362,13 @@ export default { this.listQuery.total = 0 } }) + req.listAll(this.listQuery.params).then((res) => { + if (res.success) { + this.listAll = res.data + } else { + this.listAll = [] + } + }) }, // 查询按钮 handleFilter() { @@ -515,6 +523,7 @@ export default { }, // 合计 getSummaries(param) { + param.data = this.listAll const { columns, data } = param const sums = [] columns.forEach((column, index) => { diff --git a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatemanagement/specialrebatemanagement.vue b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatemanagement/specialrebatemanagement.vue index 372b7fd898..b536bdce6c 100644 --- a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatemanagement/specialrebatemanagement.vue +++ b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatemanagement/specialrebatemanagement.vue @@ -157,6 +157,7 @@ export default { // 查询条件 ----------- tableKey: 0, list: [], + listAll: [], sids: [], FormLoading: false, listLoading: false, @@ -293,6 +294,13 @@ export default { this.listQuery.total = 0 } }) + req.listAll(this.listQuery.params).then((res) => { + if (res.success) { + this.listAll = res.data + } else { + this.listAll = [] + } + }) }, // 查询按钮 handleFilter() { @@ -389,6 +397,7 @@ export default { }, // 合计 getSummaries(param) { + param.data = this.listAll const { columns, data } = param const sums = [] columns.forEach((column, index) => {