From 479470832dac021f231798831ca1e48d7836c009 Mon Sep 17 00:00:00 2001 From: fengtianyangyang <5411465+feng_tianyangyang@user.noreply.gitee.com> Date: Wed, 11 May 2022 19:18:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E7=AE=97=E5=8D=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/seller/bill/bill-detail.vue | 18 ++++++++++++++++++ seller/src/views/shop/bill/billDetail.vue | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/manager/src/views/seller/bill/bill-detail.vue b/manager/src/views/seller/bill/bill-detail.vue index bba01586..40f12827 100644 --- a/manager/src/views/seller/bill/bill-detail.vue +++ b/manager/src/views/seller/bill/bill-detail.vue @@ -246,6 +246,24 @@ export default { }, }, + { + title: "平台优惠券补贴金额", + key: "siteCouponCommission", + render: (h, params) => { + if(params.row.siteCouponCommission == null){ + return h( + "div", + "-" + ); + }else{ + return h( + "div", + this.$options.filters.unitPrice(params.row.siteCouponCommission, "¥") + ); + } + + }, + }, { title: "分销金额", key: "distributionRebate", diff --git a/seller/src/views/shop/bill/billDetail.vue b/seller/src/views/shop/bill/billDetail.vue index c2e086c9..c16d6024 100644 --- a/seller/src/views/shop/bill/billDetail.vue +++ b/seller/src/views/shop/bill/billDetail.vue @@ -248,6 +248,24 @@ export default { } }, }, + { + title: "平台优惠券补贴金额", + key: "siteCouponCommission", + render: (h, params) => { + if(params.row.siteCouponCommission == null){ + return h( + "div", + "-" + ); + }else{ + return h( + "div", + this.$options.filters.unitPrice(params.row.siteCouponCommission, "¥") + ); + } + + }, + }, { title: "分销金额", key: "distributionRebate",