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 @@