Commit 70a28dcd authored by Xuguangxing's avatar Xuguangxing

fix

parent 36e17012
......@@ -332,10 +332,14 @@ export default {
this.checkLogin();
return;
}
const [checkStatus] = await goods.checkGroupBuyCreateOrder({
const checkParams = {
activityHundredGroupId: this.groupId || '',
skuNo: this.detailParam.skuNo
});
};
if (res == 1 || res == 2) {
delete checkParams.activityHundredGroupId;
}
const [checkStatus] = await goods.checkGroupBuyCreateOrder(checkParams);
if (!checkStatus.verifyResult) {
// 校验是否允许开团或者参团
this.$dialog({
......@@ -354,9 +358,6 @@ export default {
this.$toast(checkStatus.failedReason);
return;
}
if (res == 1 || res == 2) {
localStorage.remove('groupBuyGroupId'); // 开团或者自己做团长的时候需要移除groupBuyGroupId,再去调下单
}
saTrackEvent('H5_GroupZeroYuanPurchaseActivityDetailPageBtnClick', {
sku_no: this.detailInfo.skuNo,
buttons_name: buttonNameMap[res]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment