Merge pull request '修改自提bug' (#324) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/324
This commit is contained in:
commit
2da546f193
@ -392,8 +392,10 @@ export default {
|
||||
async setDelivery(index) {
|
||||
// console.log(index);
|
||||
if(index == 1) {
|
||||
if(!this.isTakeawayer) this.$u.toast('此地区不支持骑手配送');
|
||||
return false;
|
||||
if(!this.isTakeawayer) {
|
||||
this.$u.toast('此地区不支持骑手配送');
|
||||
return false;
|
||||
}
|
||||
this.delivery = this.deliveryList[index];
|
||||
this.getFreight();
|
||||
}
|
||||
@ -404,7 +406,6 @@ export default {
|
||||
this.freight[key] = '0.00';
|
||||
}
|
||||
}
|
||||
this.isTakeawayer = false;
|
||||
this.setTotalPrice(); // 计算总价
|
||||
this.delivery = this.deliveryList[index];
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user