diff --git a/pages/user/order_detail/order_detail.js b/pages/user/order_detail/order_detail.js index b342045..82bade4 100644 --- a/pages/user/order_detail/order_detail.js +++ b/pages/user/order_detail/order_detail.js @@ -459,7 +459,7 @@ Page({ return false; } - if(pre_cut && yck!=pre_cut){ + if(order.pre_cut && yck!=order.pre_cut){ getApp().confirmBox("获取预存的金额不对"); th.setData({ paying: 0 }); return false; @@ -484,6 +484,7 @@ Page({ return false; } + } var wlist = ""; diff --git a/pages/user/order_list/order_list.js b/pages/user/order_list/order_list.js index 698afd8..087c03f 100644 --- a/pages/user/order_list/order_list.js +++ b/pages/user/order_list/order_list.js @@ -773,7 +773,7 @@ Page({ return false; } - if(pre_cut && yck!=pre_cut){ + if(order.pre_cut && yck!=order.pre_cut){ getApp().confirmBox("获取预存的金额不对"); th.setData({ paying: 0 }); return false;