Commit 0b5ac12c8ab9677c7144e8eab107c305d05d89ac
1 parent
d982f169
预售的支付尾款的页面的优化
Showing
1 changed file
with
4 additions
and
4 deletions
packageC/pages/presell/cart/cart.js
@@ -490,7 +490,7 @@ Page({ | @@ -490,7 +490,7 @@ Page({ | ||
490 | 490 | ||
491 | 491 | ||
492 | if(this.data.is_fwk){ | 492 | if(this.data.is_fwk){ |
493 | - this.get_buy_card(ord); | 493 | + this.get_buy_card(o_sn); |
494 | return false; | 494 | return false; |
495 | } | 495 | } |
496 | 496 | ||
@@ -826,7 +826,7 @@ Page({ | @@ -826,7 +826,7 @@ Page({ | ||
826 | 826 | ||
827 | 827 | ||
828 | //-- 服务卡项购买的时候 -- | 828 | //-- 服务卡项购买的时候 -- |
829 | - async get_buy_card(ord){ | 829 | + async get_buy_card(o_sn){ |
830 | 830 | ||
831 | let order = null, | 831 | let order = null, |
832 | order_goods = null, | 832 | order_goods = null, |
@@ -843,7 +843,7 @@ Page({ | @@ -843,7 +843,7 @@ Page({ | ||
843 | let data = { | 843 | let data = { |
844 | store_id: os.stoid, | 844 | store_id: os.stoid, |
845 | user_id: getApp().globalData.user_id, | 845 | user_id: getApp().globalData.user_id, |
846 | - order_id: ord, | 846 | + order_sn: o_sn, |
847 | }; | 847 | }; |
848 | 848 | ||
849 | // 请求数据 | 849 | // 请求数据 |
@@ -861,7 +861,7 @@ Page({ | @@ -861,7 +861,7 @@ Page({ | ||
861 | await getApp().request.promiseGet("/api/weshop/rechargeServicelist/page", { | 861 | await getApp().request.promiseGet("/api/weshop/rechargeServicelist/page", { |
862 | data: { | 862 | data: { |
863 | store_id: os.stoid, | 863 | store_id: os.stoid, |
864 | - order_id: ord | 864 | + order_id: order.order_id |
865 | } | 865 | } |
866 | }).then(res => { | 866 | }).then(res => { |
867 | order_goods = res.data.data.pageData[0]; | 867 | order_goods = res.data.data.pageData[0]; |