From 5a6c1f8ec392ee0e29219ac509915ba7d42f595f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sat, 18 Oct 2025 12:24:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(shopDealerOrder):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=BC=96=E8=BE=91=E4=B8=AD=E7=9A=84=E5=86=97?= =?UTF-8?q?=E4=BD=99=E9=87=91=E9=A2=9D=E8=AE=A1=E7=AE=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了 shopDealerOrderEdit.vue 中基于 payPrice 的自动金额分配 - 删除了 shopDealerOrderEdit2.vue 中重复的金额 --- .../shopDealerOrder/components/shopDealerOrderEdit.vue | 9 --------- .../shopDealerOrder2/components/shopDealerOrderEdit.vue | 9 --------- 2 files changed, 18 deletions(-) diff --git a/src/views/sdy/shopDealerOrder/components/shopDealerOrderEdit.vue b/src/views/sdy/shopDealerOrder/components/shopDealerOrderEdit.vue index e8312c4..389b73b 100644 --- a/src/views/sdy/shopDealerOrder/components/shopDealerOrderEdit.vue +++ b/src/views/sdy/shopDealerOrder/components/shopDealerOrderEdit.vue @@ -286,15 +286,6 @@ watch( if (visible) { if (props.data) { assignObject(form, props.data); - if (props.data.orderPrice && props.data.rate) { - form.secondMoney = (Number(props.data.payPrice) * 0.3).toFixed(2) - if (props.data.thirdUserId && props.data.thirdUserId > 0) { - form.thirdMoney = (Number(props.data.payPrice) * 0.1).toFixed(2) - } else { - form.thirdMoney = (Number(props.data.payPrice) * 0.7).toFixed(2) - } - form.firstMoney = (Number(props.data.payPrice) * 0.6).toFixed(2) - } isUpdate.value = true; } else { // 重置为默认值 diff --git a/src/views/sdy/shopDealerOrder2/components/shopDealerOrderEdit.vue b/src/views/sdy/shopDealerOrder2/components/shopDealerOrderEdit.vue index ed014e6..dcc6357 100644 --- a/src/views/sdy/shopDealerOrder2/components/shopDealerOrderEdit.vue +++ b/src/views/sdy/shopDealerOrder2/components/shopDealerOrderEdit.vue @@ -267,15 +267,6 @@ if (visible) { if (props.data) { assignObject(form, props.data); - if(props.data.orderPrice && props.data.rate){ - form.firstMoney = (Number(props.data.payPrice) * 0.3).toFixed(2) - if(props.data.thirdUserId && props.data.thirdUserId > 0){ - form.secondMoney = (Number(props.data.payPrice) * 0.1).toFixed(2) - }else { - form.secondMoney = (Number(props.data.payPrice) * 0.7).toFixed(2) - } - form.thirdMoney = (Number(props.data.payPrice) * 0.6).toFixed(2) - } isUpdate.value = true; } else { // 重置为默认值