|
@@ -100,10 +100,10 @@ function editProduct() {
|
|
|
function editProductShow() {
|
|
|
const productList = information.value.businessItemProducts || []
|
|
|
const list = productList.map((item: any) => {
|
|
|
- const { id, productName, productId, productCode, unit, unitName, typeName, type, price, inventory, orderProductDetail, num, discount, sealPrice, totalPrice, quantity } = item
|
|
|
+ const { id, productName, productId, productCode, unit, unitName, productType, type, price, inventory, sellingPrice, orderProductDetail, num, discount, sealPrice, totalPrice, quantity } = item
|
|
|
return {
|
|
|
- id, productId: productId, productName, productCode, unit, unitName, typeName, type, price, inventory,
|
|
|
- num, discount, sealPrice, totalPrice, quantity
|
|
|
+ id, productId: productId, productName, productCode, unitName: unit, typeName: productType, type, price, inventory,
|
|
|
+ num, discount, sealPrice, totalPrice, quantity, sellingPrice
|
|
|
}
|
|
|
})
|
|
|
productTableListValue.value = list
|