Commit d52fa94290270ddc68f35d153d4195ca610fc391

Authored by yvan.ni
1 parent 1037a9aa

预存使用金额的优化

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