Commit 8384950e authored by GuanHua's avatar GuanHua

fix:进货单数据显示问题

parent bddcdc38
......@@ -123,6 +123,8 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
item.commodityUnitPrice['priceRange'] = tempPriceRange
tempItem.orderList = [...tempItem.orderList, item]
tempResult.push(tempItem)
} else {
tempResult.push(tempItem)
}
}
result = tempResult
......@@ -373,7 +375,6 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
return new Promise((resolve, reject) => {
PublicApi.postSearchShopPurchaseDeletePurchase({ idList: idList }).then(res => {
if (res.code === 1000) {
// fetchPurchaseList()
deleteListItems(idList)
resolve()
} else {
......
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