Commit f37ae4bcdc796b5a9e8a20c01f98528e4a898c73
1 parent
099dc89a
运费计算错误,要隐藏按钮
Showing
6 changed files
with
9 additions
and
7 deletions
packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js
| @@ -628,8 +628,8 @@ Page({ | @@ -628,8 +628,8 @@ Page({ | ||
| 628 | wx.showToast({ | 628 | wx.showToast({ |
| 629 | title: "计算物流错误", icon: 'none',duration: 2000 | 629 | title: "计算物流错误", icon: 'none',duration: 2000 |
| 630 | }) | 630 | }) |
| 631 | - th.setData({ show_submit:0,sub:0 }); | ||
| 632 | wx.hideLoading(); | 631 | wx.hideLoading(); |
| 632 | + return false; | ||
| 633 | } | 633 | } |
| 634 | 634 | ||
| 635 | 635 |
packageC/pages/presell/cart/cart.js
| @@ -1928,7 +1928,7 @@ Page({ | @@ -1928,7 +1928,7 @@ Page({ | ||
| 1928 | wx.showToast({ | 1928 | wx.showToast({ |
| 1929 | title: "计算物流错误", icon: 'none',duration: 2000 | 1929 | title: "计算物流错误", icon: 'none',duration: 2000 |
| 1930 | }) | 1930 | }) |
| 1931 | - th.setData({ show_submit:0 }); | 1931 | + //th.setData({ show_submit:0 }); |
| 1932 | wx.hideLoading(); | 1932 | wx.hideLoading(); |
| 1933 | return false; | 1933 | return false; |
| 1934 | } | 1934 | } |
packageC/pages/presell/cart/cart2.js
| @@ -788,7 +788,7 @@ Page({ | @@ -788,7 +788,7 @@ Page({ | ||
| 788 | wx.showToast({ | 788 | wx.showToast({ |
| 789 | title: "计算物流错误", icon: 'none',duration: 2000 | 789 | title: "计算物流错误", icon: 'none',duration: 2000 |
| 790 | }) | 790 | }) |
| 791 | - th.setData({ show_submit:0 }); | 791 | + //th.setData({ show_submit:0 }); |
| 792 | wx.hideLoading(); | 792 | wx.hideLoading(); |
| 793 | return false; | 793 | return false; |
| 794 | } | 794 | } |
pages/cart/cart2/cart2.js
| @@ -1895,8 +1895,9 @@ Page({ | @@ -1895,8 +1895,9 @@ Page({ | ||
| 1895 | wx.showToast({ | 1895 | wx.showToast({ |
| 1896 | title: "计算物流错误", icon: 'none',duration: 2000 | 1896 | title: "计算物流错误", icon: 'none',duration: 2000 |
| 1897 | }) | 1897 | }) |
| 1898 | - th.setData({ show_submit:0 }); | 1898 | + //th.setData({ show_submit:0, }); |
| 1899 | wx.hideLoading(); | 1899 | wx.hideLoading(); |
| 1900 | + return false; | ||
| 1900 | } | 1901 | } |
| 1901 | 1902 | ||
| 1902 | if (!th.data.using_quan[pickid] || th.data.using_quan[pickid].isby != 1) { | 1903 | if (!th.data.using_quan[pickid] || th.data.using_quan[pickid].isby != 1) { |
| @@ -2397,8 +2398,9 @@ Page({ | @@ -2397,8 +2398,9 @@ Page({ | ||
| 2397 | wx.showToast({ | 2398 | wx.showToast({ |
| 2398 | title: "计算物流错误", icon: 'none',duration: 2000 | 2399 | title: "计算物流错误", icon: 'none',duration: 2000 |
| 2399 | }) | 2400 | }) |
| 2400 | - th.setData({ show_submit:0 }); | 2401 | + //th.setData({ show_submit:0 }); |
| 2401 | wx.hideLoading(); | 2402 | wx.hideLoading(); |
| 2403 | + return false; | ||
| 2402 | } | 2404 | } |
| 2403 | 2405 | ||
| 2404 | if (shipping_price <= 0) { | 2406 | if (shipping_price <= 0) { |
pages/cart/cart2_pt/cart2_pt.js
| @@ -530,7 +530,7 @@ Page({ | @@ -530,7 +530,7 @@ Page({ | ||
| 530 | wx.showToast({ | 530 | wx.showToast({ |
| 531 | title: "计算物流错误", icon: 'none',duration: 2000 | 531 | title: "计算物流错误", icon: 'none',duration: 2000 |
| 532 | }) | 532 | }) |
| 533 | - th.setData({ show_submit:0 }); | 533 | + //th.setData({ show_submit:0 }); |
| 534 | wx.hideLoading(); | 534 | wx.hideLoading(); |
| 535 | return false; | 535 | return false; |
| 536 | } | 536 | } |
pages/cart/cart_wk/cart_wk.js