diff --git a/src/api/wallet/wallet-recharge-invoice.ts b/src/api/wallet/wallet-recharge-invoice.ts index 885b86c..862bc04 100644 --- a/src/api/wallet/wallet-recharge-invoice.ts +++ b/src/api/wallet/wallet-recharge-invoice.ts @@ -1,5 +1,17 @@ import request from "/@/utils/request" +/** + * 根据申请id获取发票详情 + * @param id 申请id + */ +export function invoiceSelect(query: any) { + return request({ + url: "/wallet/walletRechargeInvoice/select", + method: "get", + params: query, + }) +} + /** * 根据申请id获取发票详情 * @param id 申请id diff --git a/src/components/Select/SelectWalletInvoice.vue b/src/components/Select/SelectWalletInvoice.vue new file mode 100644 index 0000000..934cde4 --- /dev/null +++ b/src/components/Select/SelectWalletInvoice.vue @@ -0,0 +1,112 @@ + + + diff --git a/src/components/index.ts b/src/components/index.ts index 27ac25a..500b525 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -35,6 +35,7 @@ import SelectRole from "/@/components/Select/SelectRole.vue" import SelectCabinet from "/@/components/Select/SelectCabinet.vue" import SelectMchCatory from "/@/components/Select/SelectMchCatory.vue" import SelectCanteenSupplier from "/@/components/Select/SelectCanteenSupplier.vue" +import SelectWalletInvoice from "/@/components/Select/SelectWalletInvoice.vue" // 第三方组件 import ElementPlus from "element-plus" @@ -91,6 +92,7 @@ export default { app.component("SelectRole", SelectRole) app.component("SelectCabinet", SelectCabinet) app.component("SelectCanteenSupplier", SelectCanteenSupplier) + app.component("SelectWalletInvoice", SelectWalletInvoice) // 导入全部的elmenet-plus的图标 for (const [key, component] of Object.entries(ElementPlusIconsVue)) {