|
|
@ -150,7 +150,7 @@ export default { |
|
|
|
// 计算主产品厂家贴息--差额 |
|
|
|
realityDiscountInput(row) { |
|
|
|
if (row.makeDiscount !== '' && row.realityDiscount !== '' && row.realityDiscount !== null) { |
|
|
|
row.diffDiscount = parseFloat(row.makeDiscount) - parseFloat(row.realityDiscount) |
|
|
|
row.diffDiscount = (parseFloat(row.makeDiscount) - parseFloat(row.realityDiscount)).toFixed(2) |
|
|
|
} else { |
|
|
|
row.diffDiscount = '' |
|
|
|
} |
|
|
@ -158,7 +158,7 @@ export default { |
|
|
|
// 计算其它融厂家铁屑--差额 |
|
|
|
realityOtherDiscountInput(row) { |
|
|
|
if (row.makeOtherDiscount !== '' && row.realityOtherDiscount !== '' && row.realityOtherDiscount !== null) { |
|
|
|
row.diffOtherDiscount = parseFloat(row.makeOtherDiscount) - parseFloat(row.realityOtherDiscount) |
|
|
|
row.diffOtherDiscount = (parseFloat(row.makeOtherDiscount) - parseFloat(row.realityOtherDiscount)).toFixed(2) |
|
|
|
} else { |
|
|
|
row.diffOtherDiscount = '' |
|
|
|
} |
|
|
@ -166,7 +166,7 @@ export default { |
|
|
|
// 计算固定保贷款保证金--差额 |
|
|
|
realityLoanMarginInput(row) { |
|
|
|
if (row.makeLoanMargin !== '' && row.realityLoanMargin !== '' && row.realityLoanMargin !== null) { |
|
|
|
row.diffLoanMargin = parseFloat(row.makeLoanMargin) - parseFloat(row.realityLoanMargin) |
|
|
|
row.diffLoanMargin = (parseFloat(row.makeLoanMargin) - parseFloat(row.realityLoanMargin)).toFixed(2) |
|
|
|
} else { |
|
|
|
row.diffLoanMargin = '' |
|
|
|
} |
|
|
@ -174,7 +174,7 @@ export default { |
|
|
|
// 计算意外险--差额 |
|
|
|
realityPremiumInput(row) { |
|
|
|
if (row.receivedPremium !== '' && row.realityPremium !== '' && row.realityPremium !== null) { |
|
|
|
row.diffPremium = parseFloat(row.receivedPremium) - parseFloat(row.realityPremium) |
|
|
|
row.diffPremium = (parseFloat(row.receivedPremium) - parseFloat(row.realityPremium)).toFixed(2) |
|
|
|
} else { |
|
|
|
row.diffPremium = '' |
|
|
|
} |
|
|
|