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: "批量申请/扣款发票配置" }, ], }