From d4c859847e3daea5a7d8e2e18f9b5597ca901398 Mon Sep 17 00:00:00 2001 From: air <30444667+sszdot@users.noreply.github.com> Date: Wed, 15 Jan 2025 19:06:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Afix=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91?= =?UTF-8?q?=EF=BC=9A=E4=B9=8B=E5=89=8D=E8=AE=A2=E5=8D=95=E6=80=BB=E4=BB=B7?= =?UTF-8?q?=20=E5=8F=AA=E8=AE=A1=E7=AE=97=E5=95=86=E5=93=81=E6=80=BB?= =?UTF-8?q?=E4=BB=B7=20=20=E5=90=8E=E6=B7=BB=E8=AE=A2=E5=8D=95=E8=A1=A8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E4=B8=A4=E4=B8=AA=E6=96=B0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=20=E6=89=93=E5=8C=85=E8=B4=B9=20=E5=92=8C=20=E8=BF=90?= =?UTF-8?q?=E8=B4=B9=20=20=E5=AE=9E=E8=B4=A8=E6=80=BB=E4=BB=B7=E4=B8=BA?= =?UTF-8?q?=E4=B8=89=E8=80=85=E7=9A=84=E6=80=BB=E5=92=8C=20=E3=80=90?= =?UTF-8?q?=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A=E4=BB=8E=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=8E=B7=E5=8F=96=20=E5=95=86=E5=93=81=E6=80=BB?= =?UTF-8?q?=E4=BB=B7=20=E6=89=93=E5=8C=85=E8=B4=B9=20=20=E8=BF=90=E8=B4=B9?= =?UTF-8?q?=20=E5=8A=A0=E8=B5=B7=E6=9D=A5=20=E3=80=90=E5=BD=B1=20=20?= =?UTF-8?q?=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动 --- src/components/QuestTabs.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/QuestTabs.vue b/src/components/QuestTabs.vue index d99379a..a6d7bd1 100644 --- a/src/components/QuestTabs.vue +++ b/src/components/QuestTabs.vue @@ -192,12 +192,12 @@ export default { */ setRefundItem (item, index, refundType) { this.tempRefundIndex = index - this.refundTotal_price = item.total_price + this.refundTotal_price = Number(item.total_price) + Number(item.transport_price) + Number(item.pack_price) this.refundApply_price = item.apply_price if (refundType === 'buyer') { // 如果买家申请 默认退款表单显示买家申请值 this.refundPrice = item.apply_price - } else { // 否则 主动退 默认退款表单 显示为退款额上限 即订单总价 - this.refundPrice = item.total_price + } else { // 否则 主动退 默认退款表单 显示为退款额上限 即订单总价+打包费+运费 + this.refundPrice = Number(item.total_price) + Number(item.transport_price) + Number(item.pack_price) } this.refundOrder_sn = item.order_sn this.refundShop_id = item.shop_id