diff --git a/anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanrepaymentschedule/LoanRepaymentScheduleService.java b/anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanrepaymentschedule/LoanRepaymentScheduleService.java index f73c8ec972..1757ce913a 100644 --- a/anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanrepaymentschedule/LoanRepaymentScheduleService.java +++ b/anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanrepaymentschedule/LoanRepaymentScheduleService.java @@ -5626,6 +5626,7 @@ public class LoanRepaymentScheduleService extends MybatisBaseService p = loanRepaymentPlanDetailsService.selByMainSid(mainSchedule.getSid()); diff --git a/yxt-as-ui/src/views/purchase/procurement/procurementAdd.vue b/yxt-as-ui/src/views/purchase/procurement/procurementAdd.vue index 385a8ee295..e2e60587a2 100644 --- a/yxt-as-ui/src/views/purchase/procurement/procurementAdd.vue +++ b/yxt-as-ui/src/views/purchase/procurement/procurementAdd.vue @@ -359,7 +359,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 + sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100 } }) } @@ -371,7 +371,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - cg = Math.round((parseFloat(cg) + parseFloat(e.amount !== '' ? e.amount : '0')) * 100) / 100 + cg = Math.round((parseFloat(cg) + parseFloat(e.amount === null ? '0' : e.amount !== '' ? e.amount : '0')) * 100) / 100 } }) } diff --git a/yxt-as-ui/src/views/purchase/procurement/procurementInfo.vue b/yxt-as-ui/src/views/purchase/procurement/procurementInfo.vue index 3b30509a82..5019531599 100644 --- a/yxt-as-ui/src/views/purchase/procurement/procurementInfo.vue +++ b/yxt-as-ui/src/views/purchase/procurement/procurementInfo.vue @@ -262,7 +262,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 + sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100 } }) } @@ -274,7 +274,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - cg = Math.round((parseFloat(cg) + parseFloat(e.amount !== '' ? e.amount : '0')) * 100) / 100 + cg = Math.round((parseFloat(cg) + parseFloat(e.amount === null ? '0' : e.amount !== '' ? e.amount : '0')) * 100) / 100 } }) } diff --git a/yxt-as-ui/src/views/workFlow/caigouFlow/procurementDaiBan.vue b/yxt-as-ui/src/views/workFlow/caigouFlow/procurementDaiBan.vue index 2751128db5..0edfa635f5 100644 --- a/yxt-as-ui/src/views/workFlow/caigouFlow/procurementDaiBan.vue +++ b/yxt-as-ui/src/views/workFlow/caigouFlow/procurementDaiBan.vue @@ -368,7 +368,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 + sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100 } }) } @@ -380,7 +380,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - cg = Math.round((parseFloat(cg) + parseFloat(e.amount !== '' ? e.amount : '0')) * 100) / 100 + cg = Math.round((parseFloat(cg) + parseFloat(e.amount === null ? '0' : e.amount !== '' ? e.amount : '0')) * 100) / 100 } }) } diff --git a/yxt-as-ui/src/views/workFlow/caigouFlow/procurementEdit.vue b/yxt-as-ui/src/views/workFlow/caigouFlow/procurementEdit.vue index 1504e58f2a..0383f68bf5 100644 --- a/yxt-as-ui/src/views/workFlow/caigouFlow/procurementEdit.vue +++ b/yxt-as-ui/src/views/workFlow/caigouFlow/procurementEdit.vue @@ -375,7 +375,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 + sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100 } }) } @@ -387,7 +387,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - cg = Math.round((parseFloat(cg) + parseFloat(e.amount !== '' ? e.amount : '0')) * 100) / 100 + cg = Math.round((parseFloat(cg) + parseFloat(e.amount === null ? '0' : e.amount !== '' ? e.amount : '0')) * 100) / 100 } }) } diff --git a/yxt-as-ui/src/views/workFlow/caigouFlow/procurementYiBan.vue b/yxt-as-ui/src/views/workFlow/caigouFlow/procurementYiBan.vue index c7a2bea3bc..fb3e3aaef0 100644 --- a/yxt-as-ui/src/views/workFlow/caigouFlow/procurementYiBan.vue +++ b/yxt-as-ui/src/views/workFlow/caigouFlow/procurementYiBan.vue @@ -297,7 +297,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 + sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100 } }) } @@ -309,7 +309,7 @@ export default { if (this.formobj.pmsPurchaseBillDetailList.length > 0) { this.formobj.pmsPurchaseBillDetailList.forEach((e) => { if (e.goodsSpuName !== '') { - cg = Math.round((parseFloat(cg) + parseFloat(e.amount !== '' ? e.amount : '0')) * 100) / 100 + cg = Math.round((parseFloat(cg) + parseFloat(e.amount === null ? '0' : e.amount !== '' ? e.amount : '0')) * 100) / 100 } }) }