4.22号功能提交

master
zhengyongxing 4 years ago
parent 8fb73e6fed
commit a5aa8ef744

@ -154,7 +154,7 @@
<td >
<!-- {$com['statement_info'][0]['refund']|default=0}-->
<if condition="($com.is_reward_fine_split eq 0)">
<input class="refund" onkeyup ="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" value="{$com['statement_info'][0]['refund']|default=0}" style="width: 40px;" name="refund[{$com['id']}][{$com['statement_info'][0]['game_name']}{$com['statement_info'][0]['time']}]">
<input class="refund" value="{$com['statement_info'][0]['refund']|default=0}" style="width: 40px;" name="refund[{$com['id']}][{$com['statement_info'][0]['game_name']}{$com['statement_info'][0]['time']}]">
<else/>
0
</if>
@ -183,8 +183,8 @@
<td rowspan="{$com['statement_info'][0]['row']}">{$com['reward']-0}</td>
<td rowspan="{$com['statement_info'][0]['row']}">
<if condition="($com.is_reward_fine_split eq 0)">
<input class="withhold" onkeyup ="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" value="{$com['statement_info'][0]['withhold']|default=0}" style="width: 40px;" name="withhold[{$com['id']}][{$com['statement_info'][0]['game_name']}{$com['statement_info'][0]['time']}]">
<input class="oldwithhold" onkeyup ="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" value="{$com['statement_info'][0]['withhold']|default=0}" style="width: 40px;display: none">
<input class="withhold" value="{$com['statement_info'][0]['withhold']|default=0}" style="width: 40px;" name="withhold[{$com['id']}][{$com['statement_info'][0]['game_name']}{$com['statement_info'][0]['time']}]">
<input class="oldwithhold" value="{$com['statement_info'][0]['withhold']|default=0}" style="width: 40px;display: none">
<else/>
0
</if>
@ -237,7 +237,7 @@
<td>{$it['pay_amount']}</td>
<td>
<if condition="($com.is_reward_fine_split eq 0)">
<input class="refund" onkeyup ="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" value="{$it['refund']|default=0}" style="width: 40px;" name="refund[{$com['id']}][{$it['game_name']}{$it['time']?$it['time']:$com['statement_info'][0]['time']}]">
<input class="refund" value="{$it['refund']|default=0}" style="width: 40px;" name="refund[{$com['id']}][{$it['game_name']}{$it['time']?$it['time']:$com['statement_info'][0]['time']}]">
<else/>
0
</if>
@ -266,8 +266,8 @@
<td rowspan="{$it['row']}">{$it['reward']-0}</td>
<td rowspan="{$it['row']}">
<if condition="($com.is_reward_fine_split eq 0)">
<input class="withhold" onkeyup ="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" value="{$it['withhold']|default=0}" style="width: 40px;" name="withhold[{$com['id']}][{$it['game_name']}{$it['time']?$it['time']:$com['statement_info'][0]['time']}]">
<input class="oldwithhold" onkeyup ="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" value="{$it['withhold']|default=0}" style="width: 40px;display: none">
<input class="withhold" value="{$it['withhold']|default=0}" style="width: 40px;" name="withhold[{$com['id']}][{$it['game_name']}{$it['time']?$it['time']:$com['statement_info'][0]['time']}]">
<input class="oldwithhold" value="{$it['withhold']|default=0}" style="width: 40px;display: none">
<else/>
0
</if>
@ -393,7 +393,7 @@
$(".refund,.withhold").keyup(function() {
var val = $(this).val();
var reg = /^(\-|\+)?\d+(\.\d+)?$/g;
var reg = /^(\-|\+)?\d+(\.\d*)?$/g;
if (val == '-') {
return;

@ -364,7 +364,7 @@
$(".refund,.withhold").keyup(function() {
var val = $(this).val();
var reg = /^(\-|\+)?\d+(\.\d+)?$/g;
var reg = /^(\-|\+)?\d+(\.\d*)?$/g;
if (val == '-') {
return;

@ -466,7 +466,7 @@
});
$(".refund,.withhold").keyup(function() {
var val = $(this).val();
var reg = /^(\-|\+)?\d+(\.\d+)?$/g;
var reg = /^(\-|\+)?\d+(\.\d*)?$/g;
if (val == '-') {
return;

@ -377,7 +377,7 @@
$(".refund,.withhold").keyup(function() {
var val = $(this).val();
var reg = /^(\-|\+)?\d+(\.\d+)?$/g;
var reg = /^(\-|\+)?\d+(\.\d*)?$/g;
if (val == '-') {
return;

Loading…
Cancel
Save