充值不绑定发票导入

This commit is contained in:
weiwei committed 2025-07-16 15:48:42 +08:00
1 parent b140be8d33
commit 12e4ee2bfb
2 files changed
+8 -11

No files matched your search

@@ -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="请选择饭卡类型"
/>
@@ -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'"
>
导 入(临时)
导 入(不绑定发票)
</el-button>
<el-button
v-if="false"
@@ -204,8 +204,8 @@
temp-url="/admin/sys-file/local/file/wallet_recharge.xlsx"
@refreshDataList="getDataList(false)"
/>
<UploadExcelTmp
ref="uploadExcelTmpRef"
<upload-excel-unbind
ref="uploadExcelUnbindRef"
title="充值导入"
url="/wallet/wallet-recharge-apply/read-excel"
temp-url="/admin/sys-file/local/file/wallet_recharge.xlsx"
@@ -233,11 +233,7 @@ const { push } = useRouter()
// 引入组件
const FormDialog = defineAsyncComponent(() => 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)