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