From c1538f24b60ea891f3c602ea5a7bfd34947237f6 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 25 Dec 2024 16:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=B8=93=E9=A1=B9=E8=BF=94?= =?UTF-8?q?=E5=88=A9=E5=88=86=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../specialrebatetobeallocated.vue | 3 ++- .../specialrebatetobeallocatedAdd.vue | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocated.vue b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocated.vue index 0b3a134b65..15c364410c 100644 --- a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocated.vue +++ b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocated.vue @@ -208,7 +208,8 @@ export default { const aa = [] row.forEach((element) => { aa.push({ - sid: element.checkApplySid, + sid: element.sid, + checkApplySid: element.checkApplySid, brandName: element.brandName, brandSid: element.brandSid, purchaseSystemName: element.purchaseSystemName, diff --git a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocatedAdd.vue b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocatedAdd.vue index db43baa409..4eb4955cd9 100644 --- a/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocatedAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocatedAdd.vue @@ -100,6 +100,7 @@ export default { specialRebateSids: [], scmSpecialrebateVehsVehSidAndVinNos: [] }, + checkApplySids: [], rules: {}, submitdisabled: false } @@ -118,17 +119,20 @@ export default { this.formobj.purchaseSystemSid = sids[0].purchaseSystemSid var aa = 0 const bb = [] + const cc = [] for (var i = 0; i < sids.length; i++) { aa = Math.round((parseFloat(aa) + parseFloat(sids[i].uploadMoney)) * 100) / 100 bb.push(sids[i].sid) + cc.push(sids[i].checkApplySid) } this.formobj.allocationMoney = aa this.formobj.specialRebateSids = bb + this.checkApplySids = cc } }, handleLook() { this.viewState = 3 - this.$refs['divCheckInfo'].showInfo(this.formobj.specialRebateSids) + this.$refs['divCheckInfo'].showInfo(this.checkApplySids) }, // 明细表添加一行数据 addCommodity() { @@ -191,6 +195,7 @@ export default { specialRebateSids: [], scmSpecialrebateVehsVehSidAndVinNos: [] } + this.checkApplySids = [] this.$refs['form_obj'].resetFields() this.$emit('doback') },