diff --git a/src/views/canteen/boxesInfo/index.vue b/src/views/canteen/boxesInfo/index.vue index 5f7a661..3639980 100644 --- a/src/views/canteen/boxesInfo/index.vue +++ b/src/views/canteen/boxesInfo/index.vue @@ -7,7 +7,7 @@ - 查询 + 查询 重置 diff --git a/src/views/wallet/mch-manage/index.vue b/src/views/wallet/mch-manage/index.vue index 72b8e0c..de7ddff 100644 --- a/src/views/wallet/mch-manage/index.vue +++ b/src/views/wallet/mch-manage/index.vue @@ -67,7 +67,10 @@ @@ -161,6 +164,7 @@ import { useDict } from "/@/hooks/dict" import FormDialog from "./form.vue" import Setting from "./setting.vue" import { useUserInfo } from "/@/stores/userInfo" +import { downBlobFile as downCollectionCodeBlobFile } from "/@/utils/other" const { merchant_type, wallet_type, yes_no_type } = useDict("merchant_type", "wallet_type", "yes_no_type") @@ -256,4 +260,10 @@ const handleDelete = async (ids: string[]) => { useMessage().error(err.msg) } } + +// 点击二维码下载 +const downloadCollectionCode = (row: any) => { + if (!row.collectionCode) return useMessage().error("二维码链接不存在") + downCollectionCodeBlobFile(row.collectionCode, {}, `${row.name} 收款二维码.png`) +}