fix:修改冲突

This commit is contained in:
weiwei committed 2025-08-21 17:43:28 +08:00
1 parent 341c6ed83d
commit 09ed9cd1a6
1 file changed
+1 -23
@@ -16,9 +16,7 @@
<el-tooltip effect="light" placement="right"> <el-tooltip effect="light" placement="right">
<template #content> <template #content>
<el-alert class="w-[500px] h-24" type="warning" show-icon :closable="false"> <el-alert class="w-[500px] h-24" type="warning" show-icon :closable="false">
<p> <p>注:口味管理则可以实现通过对该商品的口味划分+设置改口味的基础库存,以此实现对某个的口味商品进行不同包装形式售卖</p>
注:口味管理则可以实现通过对该商品的口味划分+设置改口味的基础库存,以此实现对某个的口味商品进行不同包装形式售卖
</p>
</el-alert> </el-alert>
</template> </template>
<el-icon class="text-xl my-auto mx-4 text-yellow-600"><WarningFilled /></el-icon> <el-icon class="text-xl my-auto mx-4 text-yellow-600"><WarningFilled /></el-icon>
@@ -212,26 +210,6 @@ const slotInputChange = (slotParams: any) => {
} }
// 底部新增行 // 底部新增行
const pushEvent = (row?: rowVU | undefined) => {
const newRow = {} as rowVU
if (row) {
Object.assign(newRow, row)
} else {
row = {
id: "tmp_" + nanoid(5),
barCode: "",
spec: "",
unit: "",
status: "0",
packageNum: 1,
purchasePrice: 0,
retailPrice: 0.01,
promotionPrice: 0,
costPrice: 0,
tasteName: "",
tasteId: "",
}
Object.assign(newRow, row)
const pushEvent = (flag?: "flag" | undefined) => { const pushEvent = (flag?: "flag" | undefined) => {
const newRow: rowVU = { const newRow: rowVU = {
id: "tmp_" + nanoid(5), id: "tmp_" + nanoid(5),