Commit 694c29b2 by zhangquan

精度问题修改

1 parent 0d7aed20
......@@ -558,7 +558,7 @@ export default {
reimbursementProvinceCode: this.repotData.reimbursementProvinceCode,
reimbursementAddr: this.repotData.reimbursementAddr,
reimbursementProcess: this.repotData.reimbursementProcess,
applyAmount: this.repotData.applyAmount ? Number(this.repotData.applyAmount) * 100 : 0,
applyAmount: this.repotData.applyAmount ? ((Number(this.repotData.applyAmount) * 10) *10).toFixed(0) : 0,
signatureAuth: this.repotData.signatureAuth || ''
}
......@@ -707,8 +707,8 @@ export default {
[serviceItemName]: item.serviceItemName,
[writeOffCode]: this.repotData.writeOffCode,
[contractNo]: this.repotData.contractNo,
[approveAmount]: item.approveAmount ? parseInt(Number(item.approveAmount) * 100) : 0,
[applyAmount]: item.applyAmount ? parseInt(Number(item.applyAmount) * 100) : 0,
[approveAmount]: item.approveAmount ? ((Number(item.approveAmount) * 10) *10).toFixed(0) : 0,
[applyAmount]: item.applyAmount ? ((Number(item.applyAmount) * 10) *10).toFixed(0) : 0,
[claimsId]: this.orderMsg.id,
[lossType]: item.serviceItemCode == 'SC0006' ? item.lossTypeList.join(',') : item.lossType
}
......@@ -741,9 +741,8 @@ export default {
reimbursementProvinceCode: this.repotData.reimbursementProvinceCode,
reimbursementAddr: this.repotData.reimbursementAddr,
reimbursementProcess: this.repotData.reimbursementProcess,
applyAmount: this.repotData.applyAmount ? parseInt(Number(this.repotData.applyAmount) * 100) : 0
applyAmount: this.repotData.applyAmount ? ((Number(this.repotData.applyAmount) * 10) *10).toFixed(0) : 0
}
let claims = {
operation,
...itemObj,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!