Commit 0b5ac12c8ab9677c7144e8eab107c305d05d89ac

Authored by yvan.ni
1 parent d982f169

预售的支付尾款的页面的优化

packageC/pages/presell/cart/cart.js
... ... @@ -490,7 +490,7 @@ Page({
490 490  
491 491  
492 492 if(this.data.is_fwk){
493   - this.get_buy_card(ord);
  493 + this.get_buy_card(o_sn);
494 494 return false;
495 495 }
496 496  
... ... @@ -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 831 let order = null,
832 832 order_goods = null,
... ... @@ -843,7 +843,7 @@ Page({
843 843 let data = {
844 844 store_id: os.stoid,
845 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 861 await getApp().request.promiseGet("/api/weshop/rechargeServicelist/page", {
862 862 data: {
863 863 store_id: os.stoid,
864   - order_id: ord
  864 + order_id: order.order_id
865 865 }
866 866 }).then(res => {
867 867 order_goods = res.data.data.pageData[0];
... ...