金额计算问题
This commit is contained in:
parent
a2ebba711f
commit
0066198c3c
@ -261,11 +261,14 @@ export default {
|
||||
item.advance_payment = ((item.estimated_order_amount * item.prepayment_ratio) / 100).toFixed(2)
|
||||
item.balance_payment = (((item.estimated_order_amount * 100) - (item.advance_payment * 100)) / 100).toFixed(2)
|
||||
}
|
||||
num1 += item.expect_unit_price * item.expect_quantity * 100
|
||||
let num = item.expect_unit_price * item.expect_quantity * 100
|
||||
num1 += num
|
||||
|
||||
if(item.prepayment_ratio) {
|
||||
num2 += num1 * item.prepayment_ratio
|
||||
num2 += num * item.prepayment_ratio
|
||||
}
|
||||
}
|
||||
|
||||
if(itm.type == 3) {
|
||||
item.apply_amount = itm.extend.products[index].apply_amount
|
||||
item.real_quantity = itm.extend.products[index].real_quantity
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user