Commit 0358cd85366e1542891bcc2145ccf392fd2a99c0

Authored by yvan.ni
1 parent 2c080645

组合购, 点击默认选择门店

packageB/pages/zuhegou/index/index.js
... ... @@ -1139,7 +1139,7 @@ Page({
1139 1139 get_sto(e) {
1140 1140 var th = this;
1141 1141 this.waitfor2(15, 'is_get_local_ok', function () {
1142   - if (!th.data.sele_g) return false;
  1142 + //if (!th.data.sele_g) return false;
1143 1143 var dd = null;
1144 1144 var g_distr_type =0;
1145 1145 if(th.data.sele_g) g_distr_type=th.data.sele_g.distr_type;
... ... @@ -1652,6 +1652,9 @@ Page({
1652 1652 this.setData({
1653 1653 store: 1
1654 1654 })
  1655 +
  1656 +
  1657 + this.get_sto()
1655 1658 },
1656 1659  
1657 1660 // -- 加入之前,先判断有没有在购物车中,没有商品就添加 --
... ...