From 24f60a356aaf6e81ea3f267c79244699439f516d Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Tue, 4 Jun 2024 18:09:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=99=E6=A8=A1=E5=9D=97=EF=BC=8C?= =?UTF-8?q?=E6=9D=83=E9=99=90=E8=8F=9C=E5=8D=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../return/apply/component/addReturn.vue | 23 +++++++++++-------- .../return/apply/component/home.vue | 7 +++++- .../claimAndreturn/return/apply/index.vue | 1 + .../claimAndreturn/return/auditing/index.vue | 7 ++++-- .../return/receive/component/handlePage.vue | 3 ++- .../return/receive/component/home.vue | 5 +++- .../claimAndreturn/return/receive/index.vue | 1 + 7 files changed, 32 insertions(+), 15 deletions(-) diff --git a/sgzb-ui/src/views/claimAndreturn/return/apply/component/addReturn.vue b/sgzb-ui/src/views/claimAndreturn/return/apply/component/addReturn.vue index fd12434f..c36a98c4 100644 --- a/sgzb-ui/src/views/claimAndreturn/return/apply/component/addReturn.vue +++ b/sgzb-ui/src/views/claimAndreturn/return/apply/component/addReturn.vue @@ -742,11 +742,13 @@ export default { const res = await submitRefuseBackApply(params) if (res.code == 200) { this.$message({ type: 'success', message: res.msg }) - setTimeout(() => { - this.$tab.closeOpenPage({ - path: '/claimAndRefund/return/returnApply', - }) - }, 1000) + + this.$emit('goBackPage') + // setTimeout(() => { + // this.$tab.closeOpenPage({ + // path: '/claimAndRefund/return/returnApply', + // }) + // }, 1000) } } else { let params = { @@ -760,11 +762,12 @@ export default { const res = await submitBackApplyApi(params) if (res.code == 200) { this.$message({ type: 'success', message: res.msg }) - setTimeout(() => { - this.$tab.closeOpenPage({ - path: '/claimAndRefund/return/returnApply', - }) - }, 1000) + this.$emit('goBackPage') + // setTimeout(() => { + // this.$tab.closeOpenPage({ + // path: '/claimAndRefund/return/returnApply', + // }) + // }, 1000) } } } diff --git a/sgzb-ui/src/views/claimAndreturn/return/apply/component/home.vue b/sgzb-ui/src/views/claimAndreturn/return/apply/component/home.vue index 111b9969..a9657eff 100644 --- a/sgzb-ui/src/views/claimAndreturn/return/apply/component/home.vue +++ b/sgzb-ui/src/views/claimAndreturn/return/apply/component/home.vue @@ -124,7 +124,7 @@ plain size="mini" @click="handleAdd" - v-hasPermi="['return:review']" + v-hasPermi="['return:apply:apply']" >退料申请 @@ -145,6 +145,7 @@ icon="el-icon-download" size="mini" @click="handleExport" + v-hasPermi="['return:apply:export']" >导出 @@ -280,6 +281,7 @@ type="text" icon="el-icon-zoom-in" @click="handleSee(scope.row, 'see')" + v-hasPermi="['return:apply:view']" >查看