Commit f37ae4bcdc796b5a9e8a20c01f98528e4a898c73

Authored by yvan.ni
1 parent 099dc89a

运费计算错误,要隐藏按钮

packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js
... ... @@ -628,8 +628,8 @@ Page({
628 628 wx.showToast({
629 629 title: "计算物流错误", icon: 'none',duration: 2000
630 630 })
631   - th.setData({ show_submit:0,sub:0 });
632 631 wx.hideLoading();
  632 + return false;
633 633 }
634 634  
635 635  
... ...
packageC/pages/presell/cart/cart.js
... ... @@ -1928,7 +1928,7 @@ Page({
1928 1928 wx.showToast({
1929 1929 title: "计算物流错误", icon: 'none',duration: 2000
1930 1930 })
1931   - th.setData({ show_submit:0 });
  1931 + //th.setData({ show_submit:0 });
1932 1932 wx.hideLoading();
1933 1933 return false;
1934 1934 }
... ...
packageC/pages/presell/cart/cart2.js
... ... @@ -788,7 +788,7 @@ Page({
788 788 wx.showToast({
789 789 title: "计算物流错误", icon: 'none',duration: 2000
790 790 })
791   - th.setData({ show_submit:0 });
  791 + //th.setData({ show_submit:0 });
792 792 wx.hideLoading();
793 793 return false;
794 794 }
... ...
pages/cart/cart2/cart2.js
... ... @@ -1895,8 +1895,9 @@ Page({
1895 1895 wx.showToast({
1896 1896 title: "计算物流错误", icon: 'none',duration: 2000
1897 1897 })
1898   - th.setData({ show_submit:0 });
  1898 + //th.setData({ show_submit:0, });
1899 1899 wx.hideLoading();
  1900 + return false;
1900 1901 }
1901 1902  
1902 1903 if (!th.data.using_quan[pickid] || th.data.using_quan[pickid].isby != 1) {
... ... @@ -2397,8 +2398,9 @@ Page({
2397 2398 wx.showToast({
2398 2399 title: "计算物流错误", icon: 'none',duration: 2000
2399 2400 })
2400   - th.setData({ show_submit:0 });
  2401 + //th.setData({ show_submit:0 });
2401 2402 wx.hideLoading();
  2403 + return false;
2402 2404 }
2403 2405  
2404 2406 if (shipping_price <= 0) {
... ...
pages/cart/cart2_pt/cart2_pt.js
... ... @@ -530,7 +530,7 @@ Page({
530 530 wx.showToast({
531 531 title: "计算物流错误", icon: 'none',duration: 2000
532 532 })
533   - th.setData({ show_submit:0 });
  533 + //th.setData({ show_submit:0 });
534 534 wx.hideLoading();
535 535 return false;
536 536 }
... ...
pages/cart/cart_wk/cart_wk.js
... ... @@ -615,7 +615,7 @@ Page({
615 615 }
616 616 })
617 617 if(!is_ok){
618   - th.setData({ submit:0,show_submit:1 });
  618 + th.setData({ show_submit:1 });
619 619 wx.hideLoading();
620 620 return false;
621 621 }
... ...