|
@@ -25,7 +25,7 @@
|
|
|
|
|
|
<image class="a-bg" :src="addressImg"></image>
|
|
|
</navigator>
|
|
|
- <navigator v-if="tabCurrentIndex == 1" url="/pages/address/shopList" class="address-section">
|
|
|
+ <navigator v-if="tabCurrentIndex == 1" url="/pages/shoping/list?type=4" class="address-section">
|
|
|
<view class="order-content" v-if="shopAddress.name">
|
|
|
<text class="iconfont iconlocation"></text>
|
|
|
<view class="cen">
|
|
@@ -33,7 +33,7 @@
|
|
|
<text class="name">{{ shopAddress.name }}</text>
|
|
|
<text class="mobile">{{ shopAddress.phone }}</text>
|
|
|
</view>
|
|
|
- <text class="address">{{ shopAddress.address }}</text>
|
|
|
+ <text class="address">{{ shopAddress.detailed_address }}</text>
|
|
|
</view>
|
|
|
<text class="iconfont iconenter"></text>
|
|
|
</view>
|
|
@@ -264,6 +264,10 @@ export default {
|
|
|
is_change() {
|
|
|
this.integralShow = false;
|
|
|
this.payMoneyNub();
|
|
|
+ },
|
|
|
+ // 监听收货地址改变
|
|
|
+ addressData() {
|
|
|
+ this.payMoneyNub();
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -327,7 +331,10 @@ export default {
|
|
|
orderkey: this.orderKey,
|
|
|
useIntegral: this.checkedPoints ? 1 : 0,
|
|
|
shipping_type: this.tabCurrentIndex + 1, //1是普通2是门店
|
|
|
- is_change: this.is_change ? 1 : 0
|
|
|
+ is_change: this.is_change ? 1 : 0,
|
|
|
+ latitude: this.addressData.latitude,
|
|
|
+ longitude: this.addressData.longitude,
|
|
|
+ addressId: this.addressData.id
|
|
|
})
|
|
|
.then(({ data }) => {
|
|
|
this.payType = true;
|
|
@@ -373,7 +380,7 @@ export default {
|
|
|
obj.moneyAll = data.priceGroup; //金额数据
|
|
|
obj.orderKey = data.orderKey; //订单key
|
|
|
(obj.system_store = data.system_store), //到店自提列表
|
|
|
- (obj.shopAddress = data.system_store[0]); //选中的地址
|
|
|
+ obj.shopAddress = data.system_store //选中的地址
|
|
|
// 计算金额
|
|
|
this.payMoneyNub().then(e => {
|
|
|
this.seriationCode(data.cartInfo);
|