|
@ -385,9 +385,10 @@ export default { |
|
|
this.inputEligibleProportionThree() |
|
|
this.inputEligibleProportionThree() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 计算政策3 |
|
|
inputEligibleProportionTwo() { |
|
|
inputEligibleProportionTwo() { |
|
|
if (this.formobj.eligibleProportionTwo !== '') { |
|
|
if (this.formobj.eligibleProportionTwo !== '') { |
|
|
if (this.policyOneChecked && this.policyOneTwoChecked) { |
|
|
if (this.policyOneChecked && this.policyOneTwoChecked) { // 计算政策3时:勾选扣减政策1、扣减政策2 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
@ -401,7 +402,7 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
} |
|
|
} |
|
|
} else if (this.policyOneChecked && !this.policyOneTwoChecked) { |
|
|
} else if (this.policyOneChecked && !this.policyOneTwoChecked) { // 计算政策3时:勾选扣减政策1 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
@ -415,7 +416,7 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
} |
|
|
} |
|
|
} else if (!this.policyOneChecked && this.policyOneTwoChecked) { |
|
|
} else if (!this.policyOneChecked && this.policyOneTwoChecked) { // 计算政策3时:勾选扣减政策2 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
@ -429,7 +430,7 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { // 计算政策3时:未勾选任何扣减政策 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
|
this.formobj.corrMoneyTwo = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight)), (parseFloat(this.formobj.eligibleProportionTwo) / 100)) |
|
@ -461,9 +462,10 @@ export default { |
|
|
} |
|
|
} |
|
|
return this.formobj.corrMoneyTwo |
|
|
return this.formobj.corrMoneyTwo |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 计算政策4 |
|
|
inputEligibleProportionThree() { |
|
|
inputEligibleProportionThree() { |
|
|
if (this.formobj.eligibleProportionThree !== '') { |
|
|
if (this.formobj.eligibleProportionThree !== '') { |
|
|
if (this.policyTwoChecked && this.policyThreeChecked && this.policyThreeByThreeChecked) { |
|
|
if (this.policyTwoChecked && this.policyThreeChecked && this.policyThreeByThreeChecked) { // 计算政策4时:勾选扣减政策1、扣减政策2、扣减政策3 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
@ -477,21 +479,21 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} |
|
|
} |
|
|
} else if (this.policyTwoChecked && !this.policyThreeChecked && this.policyThreeByThreeChecked) { |
|
|
} else if (this.policyTwoChecked && !this.policyThreeChecked && this.policyThreeByThreeChecked) { // 计算政策4时:勾选扣减政策1、扣减政策3 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} else if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight === '') { |
|
|
} else if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight === '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} else if (this.formobj.onceFreight === '' && this.formobj.secondaryFreight !== '') { |
|
|
} else if (this.formobj.onceFreight === '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} |
|
|
} |
|
|
} else if (!this.policyTwoChecked && this.policyThreeChecked && this.policyThreeByThreeChecked) { |
|
|
} else if (!this.policyTwoChecked && this.policyThreeChecked && this.policyThreeByThreeChecked) { // 计算政策4时:勾选扣减政策2、扣减政策3 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.policyOneChecked) { |
|
|
if (this.policyOneChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
@ -509,21 +511,35 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.corrMoneyTwo) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.corrMoneyTwo) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} |
|
|
} |
|
|
} else if (!this.policyTwoChecked && !this.policyThreeChecked && this.policyThreeByThreeChecked) { |
|
|
} else if (this.policyTwoChecked && this.policyThreeChecked && !this.policyThreeByThreeChecked) { // 计算政策4时:勾选扣减政策1、扣减政策2 |
|
|
|
|
|
if (this.policyOneChecked) { |
|
|
|
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
|
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
|
|
|
} else if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight === '') { |
|
|
|
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
|
|
|
} else if (this.formobj.onceFreight === '' && this.formobj.secondaryFreight !== '') { |
|
|
|
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
|
|
|
} |
|
|
|
|
|
} else { |
|
|
|
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
|
|
|
} |
|
|
|
|
|
} else if (!this.policyTwoChecked && !this.policyThreeChecked && this.policyThreeByThreeChecked) { // 计算政策4时:勾选扣减政策3 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} else if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight === '') { |
|
|
} else if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight === '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} else if (this.formobj.onceFreight === '' && this.formobj.secondaryFreight !== '') { |
|
|
} else if (this.formobj.onceFreight === '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} |
|
|
} |
|
|
} else if (this.policyTwoChecked && !this.policyThreeChecked && !this.policyThreeByThreeChecked) { |
|
|
} else if (this.policyTwoChecked && !this.policyThreeChecked && !this.policyThreeByThreeChecked) { // 计算政策4时:勾选扣减政策1 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountOne)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
@ -537,21 +553,21 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountOne)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} |
|
|
} |
|
|
} else if (!this.policyTwoChecked && this.policyThreeChecked && !this.policyThreeByThreeChecked) { |
|
|
} else if (!this.policyTwoChecked && this.policyThreeChecked && !this.policyThreeByThreeChecked) { // 计算政策4时:勾选扣减政策2 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} else if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight === '') { |
|
|
} else if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight === '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} else if (this.formobj.onceFreight === '' && this.formobj.secondaryFreight !== '') { |
|
|
} else if (this.formobj.onceFreight === '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.secondaryFreight) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.corrMoneyTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.eligibleAmountTwo)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { // 计算政策4时:未勾选任何一个扣减政策 |
|
|
if (this.freightChecked) { |
|
|
if (this.freightChecked) { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
if (this.formobj.onceFreight !== '' && this.formobj.secondaryFreight !== '') { |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|
this.formobj.corrMoneyThree = this.multiplication((parseFloat(this.formobj.contractPrice) - parseFloat(this.formobj.onceFreight) - parseFloat(this.formobj.secondaryFreight)), (parseFloat(this.formobj.eligibleProportionThree) / 100)) |
|
|