From 8520bdb639ed5e4bfd9adc0fee7f383aea17f02e Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Tue, 24 Jun 2025 11:47:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=94=9F=E6=88=90=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E5=85=85=E5=80=BC/=E6=89=A3=E6=AC=BE=E5=8F=91=E7=A5=A8?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/extra-price/index.vue | 39 +++------ .../components/wallet-recharge/index.vue | 84 +++++++++++++++++++ src/views/wallet/wallet-setting/index.vue | 3 + 3 files changed, 99 insertions(+), 27 deletions(-) create mode 100644 src/views/wallet/wallet-setting/components/wallet-recharge/index.vue diff --git a/src/views/wallet/wallet-setting/components/extra-price/index.vue b/src/views/wallet/wallet-setting/components/extra-price/index.vue index 25c9069..e1d39c1 100644 --- a/src/views/wallet/wallet-setting/components/extra-price/index.vue +++ b/src/views/wallet/wallet-setting/components/extra-price/index.vue @@ -3,43 +3,28 @@
- + - + - + - + @@ -79,12 +64,12 @@ const dataRules = ref({ }) onMounted(() => { - getwalletRechargePackageData("1") + getwalletRechargePackageData() }) // 提交 const onSubmit = async () => { - const valid = await dataFormRef.value.validate().catch(() => {}) + const valid = await dataFormRef.value.validate().catch(() => { }) if (!valid) return false try { @@ -103,7 +88,7 @@ const onSubmit = async () => { } // 初始化表单数据 -const getwalletRechargePackageData = (id: string) => { +const getwalletRechargePackageData = () => { // 获取数据 loading.value = true getObj() diff --git a/src/views/wallet/wallet-setting/components/wallet-recharge/index.vue b/src/views/wallet/wallet-setting/components/wallet-recharge/index.vue new file mode 100644 index 0000000..1560b58 --- /dev/null +++ b/src/views/wallet/wallet-setting/components/wallet-recharge/index.vue @@ -0,0 +1,84 @@ + + diff --git a/src/views/wallet/wallet-setting/index.vue b/src/views/wallet/wallet-setting/index.vue index fef58ed..c536aa1 100644 --- a/src/views/wallet/wallet-setting/index.vue +++ b/src/views/wallet/wallet-setting/index.vue @@ -16,6 +16,7 @@ +
@@ -29,6 +30,7 @@ const OffLine = defineAsyncComponent(() => import("./components/off-line/index.v const ExtraPrice = defineAsyncComponent(() => import("./components/extra-price/index.vue")) const ThirdZy = defineAsyncComponent(() => import("./components/third-zy/index.vue")) const UserSetting = defineAsyncComponent(() => import("./components/user/index.vue")) +const WalletRecharge = defineAsyncComponent(() => import("./components/wallet-recharge/index.vue")) const data = { tabList: [ @@ -39,6 +41,7 @@ const data = { { id: 50, label: "离线配置" }, { id: 60, label: "正元同步配置" }, { id: 70, label: "用户同步配置" }, + { id: 80, label: "批量申请/扣款发票配置" }, ], }