From 3eee11c2048a71c9840194a05358cc73a98301fe Mon Sep 17 00:00:00 2001 From: luoyang Date: Wed, 18 Mar 2020 14:01:01 +0800 Subject: [PATCH] fix customer_surcharge_Rate max 3% --- src/main/ui/static/payment/partner/partner-manage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js index f37fcd429..8711d58fb 100644 --- a/src/main/ui/static/payment/partner/partner-manage.js +++ b/src/main/ui/static/payment/partner/partner-manage.js @@ -1805,7 +1805,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }); return; } - if (cofig > 2.5 || cofig < parseFloat(Decimal.add($scope.paymentInfo.rate_value, 0.1).toFixed(2))) { + if (cofig > 3 || cofig < parseFloat(Decimal.add($scope.paymentInfo.rate_value, 0.1).toFixed(2))) { commonDialog.alert({title: 'Error', content: 'Not in the valid range', type: 'error'}); return; }