|
@@ -872,6 +872,7 @@ export default {
|
|
|
businessType: this.form.businessType,
|
|
|
billNo: this.form.businessNo,
|
|
|
billDate: this.form.businessDate,
|
|
|
+ days:1,
|
|
|
})
|
|
|
} else {
|
|
|
this.form.feeCenterListD.push({
|
|
@@ -887,6 +888,7 @@ export default {
|
|
|
corpEnName: this.form.feeCenterListD[this.form.feeCenterListD.length - 1].corpEnName,
|
|
|
billCorpId: this.form.feeCenterListD[this.form.feeCenterListD.length - 1].billCorpId,
|
|
|
billCorpCnName: this.form.feeCenterListD[this.form.feeCenterListD.length - 1].billCorpCnName,
|
|
|
+ days:1
|
|
|
})
|
|
|
}
|
|
|
}
|
|
@@ -902,6 +904,7 @@ export default {
|
|
|
businessType: this.form.businessType,
|
|
|
billNo: this.form.businessNo,
|
|
|
billDate: this.form.businessDate,
|
|
|
+ days:1,
|
|
|
})
|
|
|
} else {
|
|
|
this.form.feeCenterListC.push({
|
|
@@ -917,14 +920,15 @@ export default {
|
|
|
corpEnName: this.form.feeCenterListC[this.form.feeCenterListC.length - 1].corpEnName,
|
|
|
billCorpId: this.form.feeCenterListC[this.form.feeCenterListC.length - 1].billCorpId,
|
|
|
billCorpCnName: this.form.feeCenterListC[this.form.feeCenterListC.length - 1].billCorpCnName,
|
|
|
+ days:1
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
countChange(row) {
|
|
|
- row.amount = _.multiply(Number(row.quantity ? row.quantity : 0), Number(row.price ? row.price : 0))
|
|
|
+ row.amount =_.round(_.multiply( _.multiply(Number(row.quantity ? row.quantity : 0), Number(row.price ? row.price : 0)), Number(row.days ? row.days : 0)),2)
|
|
|
if (row.feeCode == 'SFK' || row.feeCode == 'WK') {
|
|
|
- row.amount = _.multiply(Number(row.amountLoc ? row.amountLoc : 0), Number(row.exrate ? row.exrate : 0))
|
|
|
+ row.amount = _.round(_.multiply(_.multiply(Number(row.amountLoc ? row.amountLoc : 0), Number(row.exrate ? row.exrate : 0)), Number(row.days ? row.days : 0)),2)
|
|
|
}
|
|
|
},
|
|
|
selectionDChange(list) {
|