充值不绑定发票导入

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="[ :hide-ids="[
roleCodes.includes('RETURN_CANTEEN') || auths(['wallet_walletRechargeApply_refund']) ? '' : '3', roleCodes.includes('RETURN_CANTEEN') || auths(['wallet_walletRechargeApply_refund']) ? '' : '3',
auths(['wallet_walletRechargeApply_select_jz']) ? '' : '2', auths(['wallet_walletRechargeApply_select_jz']) ? '' : '2',
form.bizType == '1' || auths(['wallet_walletRechargeApply_addTmp']) ? '' : '1', form.bizType == '1' || auths(['wallet_walletRechargeApply_unbind']) ? '' : '1',
]" ]"
placeholder="请选择饭卡类型" placeholder="请选择饭卡类型"
/> />
@@ -33,10 +33,10 @@
icon="folder-add" icon="folder-add"
type="primary" type="primary"
class="ml10" class="ml10"
@click="uploadExcelTmpRef.show()" @click="uploadExcelUnbindRef.show()"
v-auth="'wallet_walletRechargeApply_addTmp'" v-auth="'wallet_walletRechargeApply_unbind'"
> >
导 入(临时) 导 入(不绑定发票)
</el-button> </el-button>
<el-button <el-button
v-if="false" v-if="false"
@@ -204,8 +204,8 @@
temp-url="/admin/sys-file/local/file/wallet_recharge.xlsx" temp-url="/admin/sys-file/local/file/wallet_recharge.xlsx"
@refreshDataList="getDataList(false)" @refreshDataList="getDataList(false)"
/> />
<UploadExcelTmp <upload-excel-unbind
ref="uploadExcelTmpRef" ref="uploadExcelUnbindRef"
title="充值导入" title="充值导入"
url="/wallet/wallet-recharge-apply/read-excel" url="/wallet/wallet-recharge-apply/read-excel"
temp-url="/admin/sys-file/local/file/wallet_recharge.xlsx" temp-url="/admin/sys-file/local/file/wallet_recharge.xlsx"
@@ -233,11 +233,7 @@ const { push } = useRouter()
// 引入组件 // 引入组件
const FormDialog = defineAsyncComponent(() => import("./form.vue")) const FormDialog = defineAsyncComponent(() => import("./form.vue"))
const UploadExcel = defineAsyncComponent(() => import("./upload-excel.vue")) const UploadExcel = defineAsyncComponent(() => import("./upload-excel.vue"))
// ------------------------------------------ const UploadExcelUnbind = defineAsyncComponent(() => import("/@/components/Upload/Excel.vue"))
const UploadExcelTmp = defineAsyncComponent(() => import("/@/components/Upload/Excel.vue"))
const uploadExcelTmpRef = ref()
// ------------------------------------------
// 定义查询字典 // 定义查询字典
const { wallet_biz_recharge, wallet_type, check_status } = useDict("wallet_biz_recharge", "wallet_type", "check_status") const { wallet_biz_recharge, wallet_type, check_status } = useDict("wallet_biz_recharge", "wallet_type", "check_status")
// store // store
@@ -247,6 +243,7 @@ const { userInfos } = storeToRefs(stores)
// 定义变量内容 // 定义变量内容
const formDialogRef = ref() const formDialogRef = ref()
const uploadExcelRef = ref() const uploadExcelRef = ref()
const uploadExcelUnbindRef = ref()
// 搜索变量 // 搜索变量
const queryRef = ref() const queryRef = ref()
const showSearch = ref(true) const showSearch = ref(true)