diff --git a/src/views/wallet/wallet-recharge-apply/form.vue b/src/views/wallet/wallet-recharge-apply/form.vue index 58f833b..0226103 100644 --- a/src/views/wallet/wallet-recharge-apply/form.vue +++ b/src/views/wallet/wallet-recharge-apply/form.vue @@ -18,7 +18,7 @@ :hide-ids="[ roleCodes.includes('RETURN_CANTEEN') || auths(['wallet_walletRechargeApply_refund']) ? '' : '3', auths(['wallet_walletRechargeApply_select_jz']) ? '' : '2', - form.bizType == '1' || auths(['wallet_walletRechargeApply_addTmp']) ? '' : '1', + form.bizType == '1' || auths(['wallet_walletRechargeApply_unbind']) ? '' : '1', ]" placeholder="请选择饭卡类型" /> diff --git a/src/views/wallet/wallet-recharge-apply/index.vue b/src/views/wallet/wallet-recharge-apply/index.vue index 7baab8e..c06542b 100644 --- a/src/views/wallet/wallet-recharge-apply/index.vue +++ b/src/views/wallet/wallet-recharge-apply/index.vue @@ -33,10 +33,10 @@ icon="folder-add" type="primary" class="ml10" - @click="uploadExcelTmpRef.show()" - v-auth="'wallet_walletRechargeApply_addTmp'" + @click="uploadExcelUnbindRef.show()" + v-auth="'wallet_walletRechargeApply_unbind'" > - 导 入(临时) + 导 入(不绑定发票) - import("./form.vue")) const UploadExcel = defineAsyncComponent(() => import("./upload-excel.vue")) -// ------------------------------------------ -const UploadExcelTmp = defineAsyncComponent(() => import("/@/components/Upload/Excel.vue")) -const uploadExcelTmpRef = ref() -// ------------------------------------------ - +const UploadExcelUnbind = defineAsyncComponent(() => import("/@/components/Upload/Excel.vue")) // 定义查询字典 const { wallet_biz_recharge, wallet_type, check_status } = useDict("wallet_biz_recharge", "wallet_type", "check_status") // store @@ -247,6 +243,7 @@ const { userInfos } = storeToRefs(stores) // 定义变量内容 const formDialogRef = ref() const uploadExcelRef = ref() +const uploadExcelUnbindRef = ref() // 搜索变量 const queryRef = ref() const showSearch = ref(true)