Commit cf7f602dc5712e8fc6b4405da0ebb1c786014afb
1 parent
b0a3fa44
商品提交不了的bug
Showing
1 changed file
with
2 additions
and
2 deletions
pages/goods/goodsInfo/goodsInfo.js
... | ... | @@ -1311,8 +1311,8 @@ Page({ |
1311 | 1311 | th.check_zh_acting(function (ee){ |
1312 | 1312 | newd.prom_id = 0; |
1313 | 1313 | newd.prom_type = 0; |
1314 | - if(ee && this.data.sele_g.act){ | |
1315 | - newd.prom_id = this.data.sele_g.act.id; | |
1314 | + if(ee && th.data.sele_g.act){ | |
1315 | + newd.prom_id = th.data.sele_g.act.id; | |
1316 | 1316 | newd.prom_type = 7; |
1317 | 1317 | if (o.store_count <= 0) return s.my_warnning("库存已为空!", 0, th); |
1318 | 1318 | if (o.store_count <e.data.goodsInputNum) return s.my_warnning("库存不足!", 0, th); | ... | ... |