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); }; /** 移除 */