diff --git a/packages/shop/groupPurchaseSubmit/index.vue b/packages/shop/groupPurchaseSubmit/index.vue index 3a8ae57c..5fbaec50 100644 --- a/packages/shop/groupPurchaseSubmit/index.vue +++ b/packages/shop/groupPurchaseSubmit/index.vue @@ -43,7 +43,7 @@ ¥{{ item.commodity_goods_info.sales_price }}/{{ item.commodity_goods_info.goods_unit - }} + }} 运费 ¥{{ item.commodity_goods_info.freight }} @@ -617,6 +617,7 @@ export default { receiving_name: ztAddress.name || '', receiving_phone: ztAddress.phone || '', receiving_address: ztAddress.address || '', + merchant_id: ztAddress.address_id, group_buy_activity_id: firstItem.commodity_goods_info.group_buy_activity_id, goods_and_count: group.map(item => { const activityInfo = item.commodity_goods_info.group_buy_activity_info; diff --git a/packages/shop/ztLocation/index.vue b/packages/shop/ztLocation/index.vue index 740ac76a..92fb8755 100644 --- a/packages/shop/ztLocation/index.vue +++ b/packages/shop/ztLocation/index.vue @@ -44,9 +44,10 @@ export default { const res = await request(apiArr.groupBuyAddress, 'POST', params) // 遍历地址数组并正确赋值 res.self_pickup_address_list[0].address.forEach(item => { - const [address, phone, name] = item.split(' '); + const [id,address, phone, name] = item.split(' '); this.locationList.push({ id: supplier_id, + address_id: id, name: name || '', phone: phone || '', address: address || ''