Commit 086912d59a6b8d4697489fb46665b0a304ae02e6
1 parent
6c9417e3
打日志跟踪
Showing
2 changed files
with
20 additions
and
2 deletions
packageA/pages/cart2_ser/cart2_ser.js
| @@ -241,7 +241,12 @@ Page({ | @@ -241,7 +241,12 @@ Page({ | ||
| 241 | var th = this, | 241 | var th = this, |
| 242 | a = getApp().request; | 242 | a = getApp().request; |
| 243 | var gg = th.data.postdata; | 243 | var gg = th.data.postdata; |
| 244 | - var url = "/api/weshop/serviceCard/get/" + oo.stoid + "/" + gg.id | 244 | + var url = "/api/weshop/serviceCard/get/" + oo.stoid + "/" + gg.id; |
| 245 | + | ||
| 246 | + | ||
| 247 | + console.log('get_buy_goods', gg); | ||
| 248 | + | ||
| 249 | + | ||
| 245 | //调用商品 | 250 | //调用商品 |
| 246 | a.get(url, { | 251 | a.get(url, { |
| 247 | success: function(t) { | 252 | success: function(t) { |
packageA/pages/goodsInfo/goodsInfo.js
| @@ -361,6 +361,10 @@ Page({ | @@ -361,6 +361,10 @@ Page({ | ||
| 361 | if(getApp().globalData.is_dj_pk) th.setData({has_def:1}) | 361 | if(getApp().globalData.is_dj_pk) th.setData({has_def:1}) |
| 362 | 362 | ||
| 363 | var ee=JSON.parse(JSON.stringify(e)); | 363 | var ee=JSON.parse(JSON.stringify(e)); |
| 364 | + | ||
| 365 | + console.log('get_user_store'); | ||
| 366 | + console.log(e); | ||
| 367 | + | ||
| 364 | //--定时器推迟一下-- | 368 | //--定时器推迟一下-- |
| 365 | setTimeout(function () { | 369 | setTimeout(function () { |
| 366 | if(!th.data.data){ | 370 | if(!th.data.data){ |
| @@ -402,6 +406,10 @@ Page({ | @@ -402,6 +406,10 @@ Page({ | ||
| 402 | e.is_no_dis=ee.is_no_dis; | 406 | e.is_no_dis=ee.is_no_dis; |
| 403 | appd.pk_store=e; | 407 | appd.pk_store=e; |
| 404 | that.data.fir_def_store=e; | 408 | that.data.fir_def_store=e; |
| 409 | + | ||
| 410 | + console.log('get_user_store--2'); | ||
| 411 | + console.log(e); | ||
| 412 | + | ||
| 405 | that.setData({ | 413 | that.setData({ |
| 406 | def_pick_store: e, | 414 | def_pick_store: e, |
| 407 | sto_sele_name: e.pickup_name, | 415 | sto_sele_name: e.pickup_name, |
| @@ -421,6 +429,11 @@ Page({ | @@ -421,6 +429,11 @@ Page({ | ||
| 421 | 429 | ||
| 422 | } else { | 430 | } else { |
| 423 | if (e) { | 431 | if (e) { |
| 432 | + | ||
| 433 | + | ||
| 434 | + console.log('get_user_store3---'); | ||
| 435 | + console.log(e); | ||
| 436 | + | ||
| 424 | e.distance = null; | 437 | e.distance = null; |
| 425 | that.data.fir_def_store=e; | 438 | that.data.fir_def_store=e; |
| 426 | that.setData({ | 439 | that.setData({ |
| @@ -956,7 +969,7 @@ Page({ | @@ -956,7 +969,7 @@ Page({ | ||
| 956 | newd['prom_price'] = this.data.data.shop_price; | 969 | newd['prom_price'] = this.data.data.shop_price; |
| 957 | }; | 970 | }; |
| 958 | 971 | ||
| 959 | - // console.log('newd++++++++', newd); | 972 | + console.log('newd++++++++', newd); |
| 960 | th.buyNow(newd); | 973 | th.buyNow(newd); |
| 961 | } else { | 974 | } else { |
| 962 | 975 |