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()