|
|
|
@ -34,6 +34,26 @@ |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view |
|
|
|
|
class="remark-box item-list u-flex u-row-between" |
|
|
|
|
v-if="msgText=='当前收货地址不在配送范围'" |
|
|
|
|
> |
|
|
|
|
<view class="item-title" style="color:red;">{{msgText}}</view> |
|
|
|
|
<!-- <view |
|
|
|
|
class="box-content u-flex" |
|
|
|
|
@tap="checkExpressTime('store')" |
|
|
|
|
> |
|
|
|
|
<text class="detail" |
|
|
|
|
>{{ checkTime[checkDayCur].title |
|
|
|
|
}}{{ checkTime[checkDayCur].timeRange[checkTimeCur] }}</text |
|
|
|
|
> |
|
|
|
|
<text |
|
|
|
|
class="u-iconfont uicon-arrow-right" |
|
|
|
|
style="color: #999" |
|
|
|
|
></text> |
|
|
|
|
</view> --> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view |
|
|
|
|
class="remark-box item-list u-flex u-row-between" |
|
|
|
|
|
|
|
|
@ -112,7 +132,7 @@ |
|
|
|
|
<block v-if="perGoodsList.length"> |
|
|
|
|
<!-- 配送方式 --> |
|
|
|
|
<!-- @tap="onSelExpressType(perGoodsList[0])" --> |
|
|
|
|
<view |
|
|
|
|
<!-- <view |
|
|
|
|
class="remark-box item-list u-flex u-row-between" |
|
|
|
|
|
|
|
|
|
> |
|
|
|
@ -124,7 +144,7 @@ |
|
|
|
|
style="color: #bfbfbf" |
|
|
|
|
></text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
<!-- 备注 --> |
|
|
|
|
<view class="remark-box u-flex item-list u-p-30"> |
|
|
|
@ -857,6 +877,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
msgText:'', |
|
|
|
|
isGroup: true, //默认是否有团点 |
|
|
|
|
platform: this.$platform.get(), |
|
|
|
|
totalNum: 0, |
|
|
|
@ -1297,10 +1318,13 @@ export default { |
|
|
|
|
groupon_id: that.grouponId, |
|
|
|
|
}) |
|
|
|
|
.then((res) => { |
|
|
|
|
console.log(res,"999") |
|
|
|
|
that.msgText = res.msg |
|
|
|
|
if (res.data) { |
|
|
|
|
that.orderPre = res.data; |
|
|
|
|
that.perGoodsList = res.data.new_goods_list; |
|
|
|
|
that.totalNum = 0; |
|
|
|
|
|
|
|
|
|
that.perGoodsList.map((item) => { |
|
|
|
|
// if(type == 1){ |
|
|
|
|
// item.dispatch_type ='regiment' |
|
|
|
@ -1330,7 +1354,7 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 提交订单 |
|
|
|
|
subOrder() { |
|
|
|
@ -1379,6 +1403,7 @@ export default { |
|
|
|
|
) |
|
|
|
|
.then((res) => { |
|
|
|
|
that.isDisabled = false; |
|
|
|
|
console.log(res,"iiii") |
|
|
|
|
if (res.code === 1) { |
|
|
|
|
that.getCartList(); |
|
|
|
|
that.$Router.replace({ |
|
|
|
|