重新计算库存
This commit is contained in:
parent
0d84291e1c
commit
f68185f55d
|
@ -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
|
||||
})
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
})
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue