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 })