Commit 43cf8f21dae87e2d866aa0ff9c234929270f3dea

Authored by yvan.ni
1 parent 691066e5

预存使用的优化

pages/user/order_detail/order_detail.js
@@ -459,7 +459,7 @@ Page({ @@ -459,7 +459,7 @@ Page({
459 return false; 459 return false;
460 } 460 }
461 461
462 - if(pre_cut && yck!=pre_cut){ 462 + if(order.pre_cut && yck!=order.pre_cut){
463 getApp().confirmBox("获取预存的金额不对"); 463 getApp().confirmBox("获取预存的金额不对");
464 th.setData({ paying: 0 }); 464 th.setData({ paying: 0 });
465 return false; 465 return false;
pages/user/order_list/order_list.js
@@ -773,7 +773,7 @@ Page({ @@ -773,7 +773,7 @@ Page({
773 return false; 773 return false;
774 } 774 }
775 775
776 - if(pre_cut && yck!=pre_cut){ 776 + if(order.pre_cut && yck!=order.pre_cut){
777 getApp().confirmBox("获取预存的金额不对"); 777 getApp().confirmBox("获取预存的金额不对");
778 th.setData({ paying: 0 }); 778 th.setData({ paying: 0 });
779 return false; 779 return false;