Commit c711bfef authored by 前端-钟卫鹏's avatar 前端-钟卫鹏
parents 785b3095 1d2ad1e8
......@@ -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