From 8c9dc0fbb78bb611b76c9a54d2daaa8147a53045 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 26 Dec 2024 09:32:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../specialrebatecheck/specialrebatecheck.vue | 9 --------- .../specialrebatecheck/specialrebatetobechecked.vue | 2 +- .../specialrebatedistribution.vue | 4 +++- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatecheck.vue b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatecheck.vue index 69609aaa85..0029e443d0 100644 --- a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatecheck.vue +++ b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatecheck.vue @@ -181,7 +181,6 @@ export default { code = event.data.params.code } if (code === 1) { - this.init() this.centerDialogVisible = false } else if (code === 2) { this.dialogHeight = event.data.params.data @@ -204,14 +203,6 @@ export default { } this.url = '/#/flow/flowRecordForBusiness?data=' + encodeURI((JSON.stringify(params))) }, - init() { - getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { - if (resp.success) { - this.listQuery.params.createOrgSid = resp.data - this.getList() - } - }) - }, // 搜索条件效果 clicksearchShow() { this.isSearchShow = !this.isSearchShow diff --git a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatetobechecked.vue b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatetobechecked.vue index da74528c79..5f3051f893 100644 --- a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatetobechecked.vue +++ b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatetobechecked.vue @@ -491,7 +491,7 @@ export default { }, handleClick() { this.viewState = 2 - this.$refs['divCheck'].init() + this.$refs['divCheck'].getList() }, toAdd() { this.viewState = 3 diff --git a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatedistribution.vue b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatedistribution.vue index ef3e1e7586..b6a549234a 100644 --- a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatedistribution.vue +++ b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatedistribution.vue @@ -155,6 +155,7 @@ export default { listQuery: { params: { createOrgName: '', + createOrgSid: '', deptName: '', createByName: '', billNo: '', @@ -283,6 +284,7 @@ export default { this.listQuery = { params: { createOrgName: '', + createOrgSid: '', deptName: '', createByName: '', billNo: '', @@ -299,7 +301,7 @@ export default { size: 5, total: 0 } - this.getList() + this.init() }, handleClick() { this.$parent.resetState()