Commit 6fabe5c7 by qinjianhui

Merge branch 'dev' into 'master'

fix:修改供应商问题

See merge request !116
parents 13abe023 7ea45907
......@@ -236,6 +236,7 @@ const {
})
const dialogVisible = ref(false)
const editLoading = ref(false)
const goodsTableData = ref([])
const supplierTableData = ref<IgoodsType[]>([])
......@@ -899,11 +900,11 @@ async function addPice(product: IgoodsType) {
const tempArr = product.supplierPriceItemList || product.customProductItemList
pricetableData.value = cloneDeep(
tempArr?.map((el) => {
if (!el.productItemId) el.productItemId = el.id || ''
return {
...el,
productItemImage: el.productItemImage || el.image,
productItemSku: el.productItemSku || el.sku,
productItemId: el.id || '',
}
}) || [],
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment