diff --git a/Application/Admin/View/CompanyStatementPool/editPuPool.html b/Application/Admin/View/CompanyStatementPool/editPuPool.html
index 9f7278542..1f9d4666b 100644
--- a/Application/Admin/View/CompanyStatementPool/editPuPool.html
+++ b/Application/Admin/View/CompanyStatementPool/editPuPool.html
@@ -168,7 +168,7 @@
{$com['statement_info'][0]['game_list'][0]['pay_amount']} |
-
+
0
@@ -259,7 +259,7 @@
| {$game['pay_amount']} |
-
+
0
@@ -310,7 +310,7 @@
|
-
+
0
@@ -377,7 +377,7 @@
|
-
+
0
@@ -464,6 +464,13 @@
saveForm(id);
});
+ $(".refund").keyup(function() {
+ var val = $(this).val();
+ var reg = /^(\-|\+)?\d+(\.\d+)?$/g;
+ if( !reg.test(val)){
+ $(this).val(0)
+ }
+ });
var pool_ids = "{$_GET['id']}";
$(".split_RewardOrFail").on("click",function() {
@@ -641,8 +648,8 @@
}
//退款
var refund = $(_this).parent().parent().find(".refund").val();
- if (!refund || refund < 0) {
- refund = 0;
+ if (!refund) {
+ // refund = 0;
$(_this).parent().parent().find(".refund").val(refund);
} else if(parseFloat(refund) > parseFloat(pay_money)) {
refund = pay_money;
|