重新计算库存

This commit is contained in:
wangsongsole 2022-06-13 16:21:02 +08:00
parent 0d84291e1c
commit f68185f55d
4 changed files with 4 additions and 4 deletions

View File

@ -465,7 +465,7 @@ export default class acclist extends React.Component {
: item.denomination //官方价
newObj.quantity = item.quantity
? item.quantity
: (item.all_budget / item.denomination).toFixed(0) //总库
: (item.all_budget / item.reduce_amount).toFixed(0) //总库
newObj.origin = item?.origin ? item?.origin : item
return newObj
})

View File

@ -725,7 +725,7 @@ export default class exchangedit extends React.Component {
: item.denomination //官方价
newObj.quantity = item.quantity
? item.quantity
: (item.all_budget / item.denomination).toFixed(0) //总库
: (item.all_budget / item.reduce_amount).toFixed(0) //总库
newObj.origin = item.origin ? item.origin : item
newObj.id = item.goods_id ? item.goods_id : item.id
return newObj

View File

@ -360,7 +360,7 @@ export default class acclist extends React.Component {
: item.denomination //官方价
newObj.quantity = item.quantity
? item.quantity
: (item.all_budget / item.denomination).toFixed(0) //总库
: (item.all_budget / item.reduce_amount).toFixed(0) //总库
newObj.origin = item?.origin ? item?.origin : item
return newObj
})

View File

@ -474,7 +474,7 @@ export default class acclist extends React.Component {
: item.denomination //官方价
newObj.quantity = item.quantity
? item.quantity
: (item.all_budget / item.denomination).toFixed(0) //总库
: (item.all_budget / item.reduce_amount).toFixed(0) //总库
newObj.origin = item.origin ? item.origin : item
newObj.id = item.goods_id ? item.goods_id : item.id
return newObj