修正 【兑换码批次】编辑立减金,加款对话框中,预估充值后剩余余额计算有误
This commit is contained in:
parent
87a8b699fb
commit
83bde773ed
|
@ -120,7 +120,10 @@ export default ({ data, onChangeMoney }) => {
|
||||||
预估充值后剩余余额为
|
预估充值后剩余余额为
|
||||||
<span className='blue'>
|
<span className='blue'>
|
||||||
{' '}
|
{' '}
|
||||||
{Math.floor(stateData?.used_amount * 100) / 100 +
|
{Math.floor(
|
||||||
|
(stateData?.recharge_amount - stateData?.used_amount) * 100
|
||||||
|
) /
|
||||||
|
100 +
|
||||||
(stateData?.addNew ? stateData.addNew - 0 : 0)}{' '}
|
(stateData?.addNew ? stateData.addNew - 0 : 0)}{' '}
|
||||||
</span>
|
</span>
|
||||||
元
|
元
|
||||||
|
|
Loading…
Reference in New Issue