Commit 7ed83ba8 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix:快捷修改价格问题

parent 37aad49b
...@@ -261,7 +261,7 @@ const FastModifyPrice: React.FC<{}> = () => { ...@@ -261,7 +261,7 @@ const FastModifyPrice: React.FC<{}> = () => {
} }
console.log(_priceRange) console.log(_priceRange)
// @ts-ignore // @ts-ignore
PublicApi.postProductCommodityUpdateCommodityPrice({ commodityId: currentRow.id, unitPriceAndPicId: currentRow.commodityId, unitPrice: _priceRange }).then(res => { PublicApi.postProductCommodityUpdateCommodityPrice({ commodityId: currentRow.commodityId, unitPriceAndPicId: currentRow.id, unitPrice: _priceRange }).then(res => {
if(res.code === 1000){ if(res.code === 1000){
ref.current.reload() ref.current.reload()
setModifyModal(false) setModifyModal(false)
......
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