Commit d52fa94290270ddc68f35d153d4195ca610fc391

Authored by yvan.ni
1 parent 1037a9aa

预存使用金额的优化

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;
@@ -484,6 +484,7 @@ Page({ @@ -484,6 +484,7 @@ Page({
484 return false; 484 return false;
485 } 485 }
486 486
  487 +
487 } 488 }
488 489
489 var wlist = ""; 490 var wlist = "";
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;