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']" >查看