From 58e6f48738359f4dcfc26d6b661ab3ec08faeeda Mon Sep 17 00:00:00 2001 From: weiwei Date: Fri, 22 Aug 2025 17:34:32 +0800 Subject: [PATCH] =?UTF-8?q?chore:=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supermarketerp/smErpTasteStock/form.vue | 111 ----------------- .../supermarketerp/smErpTasteStock/index.vue | 115 ------------------ .../components/package-unit.vue | 5 +- .../supermarketerp/supermarketSpu/form.vue | 11 +- 4 files changed, 5 insertions(+), 237 deletions(-) delete mode 100644 src/views/supermarketerp/smErpTasteStock/form.vue delete mode 100644 src/views/supermarketerp/smErpTasteStock/index.vue diff --git a/src/views/supermarketerp/smErpTasteStock/form.vue b/src/views/supermarketerp/smErpTasteStock/form.vue deleted file mode 100644 index 1e39acf..0000000 --- a/src/views/supermarketerp/smErpTasteStock/form.vue +++ /dev/null @@ -1,111 +0,0 @@ - - - diff --git a/src/views/supermarketerp/smErpTasteStock/index.vue b/src/views/supermarketerp/smErpTasteStock/index.vue deleted file mode 100644 index a09fd06..0000000 --- a/src/views/supermarketerp/smErpTasteStock/index.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - diff --git a/src/views/supermarketerp/supermarketSpu/components/package-unit.vue b/src/views/supermarketerp/supermarketSpu/components/package-unit.vue index 9fbca26..098fd61 100644 --- a/src/views/supermarketerp/supermarketSpu/components/package-unit.vue +++ b/src/views/supermarketerp/supermarketSpu/components/package-unit.vue @@ -150,7 +150,6 @@ export interface rowVU { promotionPrice: number costPrice: number isBase?: boolean | null - flag?: string tasteName?: string tasteId: string } @@ -210,7 +209,7 @@ const slotInputChange = (slotParams: any) => { } // 底部新增行 -const pushEvent = (flag?: "flag" | undefined) => { +const pushEvent = () => { const newRow: rowVU = { id: "tmp_" + nanoid(5), barCode: "", @@ -226,8 +225,6 @@ const pushEvent = (flag?: "flag" | undefined) => { tasteId: "", } - if (flag) newRow.flag = "defaultPackageUnitRow" - packageUnitList.value.push(newRow) nextTick(() => { const $table = tableRef.value diff --git a/src/views/supermarketerp/supermarketSpu/form.vue b/src/views/supermarketerp/supermarketSpu/form.vue index 6d826e3..87354fb 100644 --- a/src/views/supermarketerp/supermarketSpu/form.vue +++ b/src/views/supermarketerp/supermarketSpu/form.vue @@ -32,7 +32,7 @@