From b34eded11c3722526940508043c7ae465a31df28 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 28 Sep 2023 16:26:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=B7=E5=80=BC=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E5=A4=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../valuablecustomer/valuablecustomerAdd.vue | 51 ++++++++++++++++++- .../valuablecustomer/valuablecustomerInfo.vue | 49 +++++++++++++++++- .../valuablecustomerDaiBan.vue | 49 +++++++++++++++++- .../valuablecustomerEdit.vue | 49 +++++++++++++++++- .../valuablecustomerYiBan.vue | 49 +++++++++++++++++- 5 files changed, 242 insertions(+), 5 deletions(-) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/valuablecustomer/valuablecustomerAdd.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/valuablecustomer/valuablecustomerAdd.vue index 67103b04d1..c20b8e1748 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/valuablecustomer/valuablecustomerAdd.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/valuablecustomer/valuablecustomerAdd.vue @@ -37,10 +37,14 @@ - + {{ formobj.isGdk === '0' ? '单台加装配置金额' : '单台销售让利金额' }} {{ formobj.money }} + + {{ formobj.isGdk === '0' ? '合计加装配置金额' : '合计销售让利金额' }} + {{ formobj.totalMoney }} + @@ -58,6 +62,22 @@ + + + 应收手续费合计 + {{ ysTotal() }} + + + 实收手续费合计 + {{ ssTotal() }} + + + 手续费差额合计 + + {{ sxTotal() }} + + + 备注 @@ -111,6 +131,8 @@ export default { modelName: '', modelSid: '', money: '', + num: '', + totalMoney: '', orgSidPath: '', remarks: '', saleOrderSid: '', @@ -156,6 +178,7 @@ export default { } }) }, + // 单台手续费差额 commissionmargin() { var aa = '' if (this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { @@ -163,6 +186,30 @@ export default { } return aa }, + // 应收手续费合计 + ysTotal() { + var ys = '' + if (this.formobj.isGdk === '0' && this.formobj.ysMoney !== '') { + ys = parseFloat(this.formobj.ysMoney) * parseFloat(this.formobj.num) + } + return ys + }, + // 实收手续费合计 + ssTotal() { + var ss = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + ss = parseFloat(this.formobj.ssMoney) * parseFloat(this.formobj.num) + } + return ss + }, + // 实收手续费合计 + sxTotal() { + var sx = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + sx = (parseFloat(this.formobj.ysMoney) - parseFloat(this.formobj.ssMoney)) * parseFloat(this.formobj.num) + } + return sx + }, lookSales(sid) { this.viewState = 2 this.$refs['divInfo'].showInfo({ sid: sid }) @@ -242,6 +289,8 @@ export default { modelName: '', modelSid: '', money: '', + num: '', + totalMoney: '', orgSidPath: '', remarks: '', saleOrderSid: '', diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/valuablecustomer/valuablecustomerInfo.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/valuablecustomer/valuablecustomerInfo.vue index a0a221fd69..2e6f20a054 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/valuablecustomer/valuablecustomerInfo.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/valuablecustomer/valuablecustomerInfo.vue @@ -33,10 +33,14 @@ - + {{ formobj.isGdk === '0' ? '单台加装配置金额' : '单台销售让利金额' }} {{ formobj.money }} + + {{ formobj.isGdk === '0' ? '合计加装配置金额' : '合计销售让利金额' }} + {{ formobj.totalMoney }} + @@ -52,6 +56,22 @@ {{ commissionmargin() }} + + + 应收手续费合计 + {{ ysTotal() }} + + + 实收手续费合计 + {{ ssTotal() }} + + + 手续费差额合计 + + {{ sxTotal() }} + + + 备注 @@ -101,6 +121,8 @@ export default { modelName: '', modelSid: '', money: '', + num: '', + totalMoney: '', orgSidPath: '', remarks: '', saleOrderSid: '', @@ -123,6 +145,7 @@ export default { } }) }, + // 单台手续费差额 commissionmargin() { var aa = '' if (this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { @@ -130,6 +153,30 @@ export default { } return aa }, + // 应收手续费合计 + ysTotal() { + var ys = '' + if (this.formobj.isGdk === '0' && this.formobj.ysMoney !== '') { + ys = parseFloat(this.formobj.ysMoney) * parseFloat(this.formobj.num) + } + return ys + }, + // 实收手续费合计 + ssTotal() { + var ss = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + ss = parseFloat(this.formobj.ssMoney) * parseFloat(this.formobj.num) + } + return ss + }, + // 实收手续费合计 + sxTotal() { + var sx = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + sx = (parseFloat(this.formobj.ysMoney) - parseFloat(this.formobj.ssMoney)) * parseFloat(this.formobj.num) + } + return sx + }, lookSales(sid) { this.viewState = 2 this.$refs['divInfo'].showInfo({ sid: sid }) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerDaiBan.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerDaiBan.vue index 0fc76d7c18..cbf0bd8374 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerDaiBan.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerDaiBan.vue @@ -37,10 +37,14 @@ - + {{ formobj.isGdk === '0' ? '单台加装配置金额' : '单台销售让利金额' }} {{ formobj.money }} + + {{ formobj.isGdk === '0' ? '合计加装配置金额' : '合计销售让利金额' }} + {{ formobj.totalMoney }} + @@ -56,6 +60,22 @@ {{ commissionmargin() }} + + + 应收手续费合计 + {{ ysTotal() }} + + + 实收手续费合计 + {{ ssTotal() }} + + + 手续费差额合计 + + {{ sxTotal() }} + + + 备注 @@ -130,6 +150,8 @@ export default { modelName: '', modelSid: '', money: '', + num: '', + totalMoney: '', orgSidPath: '', remarks: '', saleOrderSid: '', @@ -201,6 +223,7 @@ export default { } }) }, + // 单台手续费差额 commissionmargin() { var aa = '' if (this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { @@ -208,6 +231,30 @@ export default { } return aa }, + // 应收手续费合计 + ysTotal() { + var ys = '' + if (this.formobj.isGdk === '0' && this.formobj.ysMoney !== '') { + ys = parseFloat(this.formobj.ysMoney) * parseFloat(this.formobj.num) + } + return ys + }, + // 实收手续费合计 + ssTotal() { + var ss = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + ss = parseFloat(this.formobj.ssMoney) * parseFloat(this.formobj.num) + } + return ss + }, + // 实收手续费合计 + sxTotal() { + var sx = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + sx = (parseFloat(this.formobj.ysMoney) - parseFloat(this.formobj.ssMoney)) * parseFloat(this.formobj.num) + } + return sx + }, lookSales(sid) { this.viewState = 2 this.$refs['divInfo'].showInfo({ sid: sid }) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerEdit.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerEdit.vue index 7aecd13e20..92aede97d1 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerEdit.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerEdit.vue @@ -36,10 +36,14 @@ - + {{ formobj.isGdk === '0' ? '单台加装配置金额' : '单台销售让利金额' }} {{ formobj.money }} + + {{ formobj.isGdk === '0' ? '合计加装配置金额' : '合计销售让利金额' }} + {{ formobj.totalMoney }} + @@ -57,6 +61,22 @@ + + + 应收手续费合计 + {{ ysTotal() }} + + + 实收手续费合计 + {{ ssTotal() }} + + + 手续费差额合计 + + {{ sxTotal() }} + + + 备注 @@ -110,6 +130,8 @@ export default { modelName: '', modelSid: '', money: '', + num: '', + totalMoney: '', orgSidPath: '', remarks: '', saleOrderSid: '', @@ -173,6 +195,7 @@ export default { } }) }, + // 单台手续费差额 commissionmargin() { var aa = '' if (this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { @@ -180,6 +203,30 @@ export default { } return aa }, + // 应收手续费合计 + ysTotal() { + var ys = '' + if (this.formobj.isGdk === '0' && this.formobj.ysMoney !== '') { + ys = parseFloat(this.formobj.ysMoney) * parseFloat(this.formobj.num) + } + return ys + }, + // 实收手续费合计 + ssTotal() { + var ss = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + ss = parseFloat(this.formobj.ssMoney) * parseFloat(this.formobj.num) + } + return ss + }, + // 实收手续费合计 + sxTotal() { + var sx = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + sx = (parseFloat(this.formobj.ysMoney) - parseFloat(this.formobj.ssMoney)) * parseFloat(this.formobj.num) + } + return sx + }, lookSales(sid) { this.viewState = 2 this.$refs['divInfo'].showInfo({ sid: sid }) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerYiBan.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerYiBan.vue index 6bb1cfaf5d..4a89ef2f77 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerYiBan.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jiazhikehubeianFlow/valuablecustomerYiBan.vue @@ -33,10 +33,14 @@ - + {{ formobj.isGdk === '0' ? '单台加装配置金额' : '单台销售让利金额' }} {{ formobj.money }} + + {{ formobj.isGdk === '0' ? '合计加装配置金额' : '合计销售让利金额' }} + {{ formobj.totalMoney }} + @@ -52,6 +56,22 @@ {{ commissionmargin() }} + + + 应收手续费合计 + {{ ysTotal() }} + + + 实收手续费合计 + {{ ssTotal() }} + + + 手续费差额合计 + + {{ sxTotal() }} + + + 备注 @@ -101,6 +121,8 @@ export default { modelName: '', modelSid: '', money: '', + num: '', + totalMoney: '', orgSidPath: '', remarks: '', saleOrderSid: '', @@ -158,6 +180,7 @@ export default { } }) }, + // 单台手续费差额 commissionmargin() { var aa = '' if (this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { @@ -165,6 +188,30 @@ export default { } return aa }, + // 应收手续费合计 + ysTotal() { + var ys = '' + if (this.formobj.isGdk === '0' && this.formobj.ysMoney !== '') { + ys = parseFloat(this.formobj.ysMoney) * parseFloat(this.formobj.num) + } + return ys + }, + // 实收手续费合计 + ssTotal() { + var ss = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + ss = parseFloat(this.formobj.ssMoney) * parseFloat(this.formobj.num) + } + return ss + }, + // 实收手续费合计 + sxTotal() { + var sx = '' + if (this.formobj.isGdk === '0' && this.formobj.ssMoney !== '' && this.formobj.ssMoney !== null && this.formobj.ssMoney !== undefined && this.formobj.ssMoney !== '0') { + sx = (parseFloat(this.formobj.ysMoney) - parseFloat(this.formobj.ssMoney)) * parseFloat(this.formobj.num) + } + return sx + }, lookSales(sid) { this.viewState = 2 this.$refs['divInfo'].showInfo({ sid: sid })