From da71f6115e593cefea5cebe59e863ee5fa97629f Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Thu, 20 Feb 2025 17:57:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=80=E5=8D=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/waybill/CreateZeroOrder.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/waybill/CreateZeroOrder.vue b/src/views/waybill/CreateZeroOrder.vue index 3a102880..da977d40 100644 --- a/src/views/waybill/CreateZeroOrder.vue +++ b/src/views/waybill/CreateZeroOrder.vue @@ -2043,7 +2043,7 @@ const handleAdd = () => { } } - details.goodsList.push({ + const _obj = { /** 货物名称 */ goodsName: '', /** 品类Id */ @@ -2077,7 +2077,11 @@ const handleAdd = () => { /** 运费小计 */ subtotalFreight: 0, goodsListOptions: [], - }); + }; + + handleAssignmentItemPrice(_obj); + + details.goodsList.push(_obj); }; /** 移除 */