diff --git a/src/views/supermarketerp/supermarketSpu/components/auxiliary-code.vue b/src/views/supermarketerp/supermarketSpu/components/auxiliary-code.vue index 90bd45e..753592d 100644 --- a/src/views/supermarketerp/supermarketSpu/components/auxiliary-code.vue +++ b/src/views/supermarketerp/supermarketSpu/components/auxiliary-code.vue @@ -35,7 +35,7 @@ @@ -45,9 +45,9 @@ 请选择 - + @@ -74,7 +74,7 @@ export interface rowVC { id: string unitId: string unit: string - taste: string + tasteName: string barCode: string } @@ -96,7 +96,7 @@ const pushEvent = () => { id: "tmp_" + nanoid(5), unitId: "", unit: "", - taste: "", + tasteName: "", barCode: "", } auxiliaryCodeList.value.push(newRow) @@ -132,7 +132,7 @@ watch( const handleUnitIdChange = (unitId: string, rowIndex: number) => { const unitItem = unitSelectOptions.value?.find((item: rowVU) => item.id == unitId) ;(auxiliaryCodeList.value[rowIndex] as any).unit = unitItem?.unit - ;(auxiliaryCodeList.value[rowIndex] as any).taste = unitItem?.taste + ;(auxiliaryCodeList.value[rowIndex] as any).tasteName = unitItem?.tasteName } // 校验可编辑表格 成功返回 true 失败返回 false diff --git a/src/views/supermarketerp/supermarketSpu/components/package-unit.vue b/src/views/supermarketerp/supermarketSpu/components/package-unit.vue index fffa8eb..c6c2732 100644 --- a/src/views/supermarketerp/supermarketSpu/components/package-unit.vue +++ b/src/views/supermarketerp/supermarketSpu/components/package-unit.vue @@ -1,18 +1,28 @@ diff --git a/src/views/supermarketerp/supermarketSpu/index.vue b/src/views/supermarketerp/supermarketSpu/index.vue index 708494d..c7457b0 100644 --- a/src/views/supermarketerp/supermarketSpu/index.vue +++ b/src/views/supermarketerp/supermarketSpu/index.vue @@ -155,7 +155,7 @@ -