diff --git a/pages/user/order_detail/order_detail.js b/pages/user/order_detail/order_detail.js index 4840777..a60fb0b 100644 --- a/pages/user/order_detail/order_detail.js +++ b/pages/user/order_detail/order_detail.js @@ -402,7 +402,7 @@ Page({ }) return res.data }, - + //--------立即支付---------- async jumpToCart4(e) { @@ -471,7 +471,7 @@ Page({ } if(res1.data.data.length<=0){ - getApp().confirmBox("获取预存的金额失败"); + getApp().confirmBox("每天每人仅能使用1次预存抵扣"); th.setData({ paying: 0 }); return false; } @@ -482,7 +482,7 @@ Page({ yck += ite.advancesum*1 }) if(yck<=0){ - getApp().confirmBox("获取预存的金额失败"); + getApp().confirmBox("每天每人仅能使用1次预存抵扣"); th.setData({ paying: 0 }); return false; } diff --git a/pages/user/order_list/order_list.js b/pages/user/order_list/order_list.js index 087c03f..e10c404 100644 --- a/pages/user/order_list/order_list.js +++ b/pages/user/order_list/order_list.js @@ -757,7 +757,7 @@ Page({ } if(res1.data.data.length<=0){ - getApp().confirmBox("获取预存的金额失败"); + getApp().confirmBox("每天每人仅能使用1次预存抵扣"); th.setData({ paying: 0 }); return false; } @@ -768,7 +768,7 @@ Page({ yck += ite.advancesum*1 }) if(yck<=0){ - getApp().confirmBox("获取预存的金额失败"); + getApp().confirmBox("每天每人仅能使用1次预存抵扣"); th.setData({ paying: 0 }); return false; }