|
|
|
@ -211,7 +211,7 @@
|
|
|
|
|
<td class="reward-td promote-account"><?=$details[1][$i]['promote_account'] ?? '-'?></td>
|
|
|
|
|
<td class="reward-td settlement-type"><?=$settlementTypes[$details[1][$i]['settlement_type']] ?? '-'?></td>
|
|
|
|
|
<td class='reward-amount reward-td amount'><?=$details[1][$i]['amount'] ?? '-'?></td>
|
|
|
|
|
<td class='reward-opt reward-td opt'><?php if (isset($details[1][$i])): php?><a onclick="removeItem(this, 'reward')">删除</a><?php else: php?><a onclick="openForm()">添加</a><?php endif; php?></td>
|
|
|
|
|
<td class='reward-opt reward-td opt'><?php if (isset($details[1][$i])): php?><a onclick="removeItem(this, 'reward')">删除</a><?php else: php?> <?php endif; php?></td>
|
|
|
|
|
|
|
|
|
|
<!-- 惩罚信息 -->
|
|
|
|
|
<td class="punish-data-info" hidden>
|
|
|
|
@ -222,7 +222,7 @@
|
|
|
|
|
<td class="punish-td promote-account"><?=$details[2][$i]['promote_account'] ?? ''?></td>
|
|
|
|
|
<td class="punish-td settlement-type"><?=$settlementTypes[$details[2][$i]['settlement_type']] ?? ''?></td>
|
|
|
|
|
<td class='punish-amount punish-td amount'><?=$details[2][$i]['amount'] ?? ''?></td>
|
|
|
|
|
<td class='punish-opt punish-td opt'><?php if (isset($details[2][$i])): php?><a onclick="removeItem(this, 'punish')">删除</a><?php else: php?><a onclick="openForm()">添加</a><?php endif; php?></td>
|
|
|
|
|
<td class='punish-opt punish-td opt'><?php if (isset($details[2][$i])): php?><a onclick="removeItem(this, 'punish')">删除</a><?php else: php?> <?php endif; php?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<?php endfor;?>
|
|
|
|
|
<tr id='total-amount'>
|
|
|
|
@ -231,13 +231,13 @@
|
|
|
|
|
<td></td>
|
|
|
|
|
<td>合计</td>
|
|
|
|
|
<td id='total-reward-amount'>{$data['rewardAmount']}</td>
|
|
|
|
|
<td><a onclick="openForm()">添加</a></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td>合计</td>
|
|
|
|
|
<td id='total-punish-amount'>{$data['punishAmount']}</td>
|
|
|
|
|
<td><a onclick="openForm()">添加</a></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
@ -404,7 +404,7 @@
|
|
|
|
|
if (index < 6) {
|
|
|
|
|
$(item).html('');
|
|
|
|
|
} else {
|
|
|
|
|
$(item).html('<a onclick="openForm()">添加</a>')
|
|
|
|
|
//$(item).html('<a onclick="openForm()">添加</a>')
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -446,7 +446,7 @@
|
|
|
|
|
<td class="reward-td promote-account"></td>
|
|
|
|
|
<td class="reward-td settlement-type"></td>
|
|
|
|
|
<td class='reward-amount reward-td amount'></td>
|
|
|
|
|
<td class='reward-opt reward-td opt'><a onclick="openForm()">添加</a></td>
|
|
|
|
|
<td class='reward-opt reward-td opt'></td>
|
|
|
|
|
|
|
|
|
|
<!-- 惩罚信息 -->
|
|
|
|
|
<td class="punish-data-info" hidden>
|
|
|
|
@ -457,7 +457,7 @@
|
|
|
|
|
<td class="punish-td promote-account"></td>
|
|
|
|
|
<td class="punish-td settlement-type"></td>
|
|
|
|
|
<td class='punish-amount punish-td amount'></td>
|
|
|
|
|
<td class='punish-opt punish-td opt'><a onclick="openForm()">添加</a></td>
|
|
|
|
|
<td class='punish-opt punish-td opt'></td>
|
|
|
|
|
</tr>`;
|
|
|
|
|
$('#total-amount').before(newNodeHtml);
|
|
|
|
|
emptyNode = $('.table-body tr,.empty-'+type_dec+':first');
|
|
|
|
|