wangfukang 10 hours ago
parent
commit
8df5f36216
  1. 2
      package1/address/addAddress.vue
  2. 7
      package1/buyFood/buyFood.vue

2
package1/address/addAddress.vue

@ -428,7 +428,7 @@
if (matched && String(res.result.id) === String(currentRegionId)) {
resolve();
} else {
this.tui.toast('该地址不在当前区域配送范围内');
this.tui.toast('该地址不在当前区域配送范围内', 1500);
reject();
}
}).catch(() => {

7
package1/buyFood/buyFood.vue

@ -971,7 +971,8 @@
if (this.startingPriceCheckAmount + 0.0001 >= this.startingPriceAmount) return true;
uni.showToast({
title: `不满${this.formatAmountText(this.startingPriceAmount)}元起送条件`,
icon: 'none'
icon: 'none',
duration: 1500
});
setTimeout(() => {
this.backToGroupBuySingle();
@ -1274,7 +1275,7 @@
if (matched && String(res.result.id) === String(regionId)) {
return true;
}
this.tui.toast('收货地址不在当前区域配送范围内');
this.tui.toast('收货地址不在当前区域配送范围内', 1500);
return false;
}).catch(() => {
this.tui.toast('地址范围校验失败,请稍后重试');
@ -1636,7 +1637,7 @@
if (deliveryType === 1 && !isJoiningFaceToFace) {
payload.addressId = this.formData.address ? this.formData.address.id : null;
payload.getAreaId = this.shopItem.shopArea || null;
payload.putAreaId = this.isSocialArea ? null : (this.formData.address ? this.formData.address.areaId : null);
payload.putAreaId = this.formData.address ? (this.isSocialArea ? this.formData.address.id : this.formData.address.areaId) : null;
if (this.shopItem.supportTransferDelivery == 1) {
payload.transferDelivery = 1;
payload.transferAddressId = this.shopItem.transferAddressId;

Loading…
Cancel
Save