Commit 4062ab7c5697c1d90031eb6eacdf0b615bcd4463

Authored by yvan.ni
1 parent f5c2f5f5

预存的使用优化

pages/user/order_detail/order_detail.js
... ... @@ -402,7 +402,7 @@ Page({
402 402 })
403 403 return res.data
404 404 },
405   -
  405 +
406 406 //--------立即支付----------
407 407 async jumpToCart4(e) {
408 408  
... ... @@ -471,7 +471,7 @@ Page({
471 471 }
472 472  
473 473 if(res1.data.data.length<=0){
474   - getApp().confirmBox("获取预存的金额失败");
  474 + getApp().confirmBox("每天每人仅能使用1次预存抵扣");
475 475 th.setData({ paying: 0 });
476 476 return false;
477 477 }
... ... @@ -482,7 +482,7 @@ Page({
482 482 yck += ite.advancesum*1
483 483 })
484 484 if(yck<=0){
485   - getApp().confirmBox("获取预存的金额失败");
  485 + getApp().confirmBox("每天每人仅能使用1次预存抵扣");
486 486 th.setData({ paying: 0 });
487 487 return false;
488 488 }
... ...
pages/user/order_list/order_list.js
... ... @@ -757,7 +757,7 @@ Page({
757 757 }
758 758  
759 759 if(res1.data.data.length<=0){
760   - getApp().confirmBox("获取预存的金额失败");
  760 + getApp().confirmBox("每天每人仅能使用1次预存抵扣");
761 761 th.setData({ paying: 0 });
762 762 return false;
763 763 }
... ... @@ -768,7 +768,7 @@ Page({
768 768 yck += ite.advancesum*1
769 769 })
770 770 if(yck<=0){
771   - getApp().confirmBox("获取预存的金额失败");
  771 + getApp().confirmBox("每天每人仅能使用1次预存抵扣");
772 772 th.setData({ paying: 0 });
773 773 return false;
774 774 }
... ...