From 91c0927627111a6a9b67f36952ce7d607c3f3bac Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Tue, 11 Nov 2025 15:50:44 +0800 Subject: [PATCH 01/14] =?UTF-8?q?feat:=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/hard/hard-spu/form.vue | 4 +- src/views/hard/hard-spu/index.vue | 66 ++++++++++++------------------- 2 files changed, 27 insertions(+), 43 deletions(-) diff --git a/src/views/hard/hard-spu/form.vue b/src/views/hard/hard-spu/form.vue index 29a7add..1352558 100644 --- a/src/views/hard/hard-spu/form.vue +++ b/src/views/hard/hard-spu/form.vue @@ -40,7 +40,7 @@ - + @@ -174,7 +174,7 @@ const gethardSpuData = (id: string) => { hardSpu .getObj(id) .then((res: any) => { - Object.assign(form, res.data, { price: Number(displayPrice(res.data.price, "", 0)) }) + Object.assign(form, res.data, { price: displayPrice(res.data.price, "") }) }) .finally(() => { loading.value = false diff --git a/src/views/hard/hard-spu/index.vue b/src/views/hard/hard-spu/index.vue index 9f7c8e1..0ef8981 100644 --- a/src/views/hard/hard-spu/index.vue +++ b/src/views/hard/hard-spu/index.vue @@ -13,39 +13,32 @@ - {{ $t("common.queryBtn") }} + {{ $t("common.queryBtn") + }} {{ $t("common.resetBtn") }}
- 拉取商品 - + + 拉取商品 + 新 增 - + 删除 - +
- + @@ -107,34 +100,24 @@ - + @@ -194,12 +177,13 @@ const selectionChangHandle = (objs: { id: string }[]) => { // 同步全部 const syncAll = async () => { + const spuName = state.queryForm.name try { - await useMessageBox().confirm("是否同步全部商品") + await useMessageBox().confirm(`是否同步${spuName ? `关键字为[${spuName}]的` : "全部"}商品`) } catch { return } - hardSpu.asyncAll() + hardSpu.asyncAll({ name: spuName }) } // 删除操作 From dc774cca99a7822bb075325e766bb5268b0fef9d Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Fri, 14 Nov 2025 11:22:01 +0800 Subject: [PATCH 02/14] =?UTF-8?q?feat:=E5=8F=91=E7=A5=A8=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wallet/wallet-recharge-apply/index.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/wallet/wallet-recharge-apply/index.vue b/src/views/wallet/wallet-recharge-apply/index.vue index 58fe873..df4a816 100644 --- a/src/views/wallet/wallet-recharge-apply/index.vue +++ b/src/views/wallet/wallet-recharge-apply/index.vue @@ -14,6 +14,9 @@ + + + @@ -24,7 +27,7 @@ {{ $t("common.queryBtn") - }} + }} {{ $t("common.resetBtn") }} @@ -64,6 +67,12 @@ + + +