From 4062ab7c5697c1d90031eb6eacdf0b615bcd4463 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Thu, 21 Dec 2023 15:31:47 +0800 Subject: [PATCH] 预存的使用优化 --- pages/user/order_detail/order_detail.js | 6 +++--- pages/user/order_list/order_list.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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; } -- libgit2 0.21.4