|
|
|
@ -392,6 +392,9 @@
|
|
|
|
|
{
|
|
|
|
|
$(obj).parents('tr').children('.'+type+'-data-info').find('.info').val('');
|
|
|
|
|
$(obj).parents('tr').addClass('empty-'+type);
|
|
|
|
|
if ($(obj).parents('tr').hasClass('empty-reward') && $(obj).parents('tr').hasClass('empty-punish')) {
|
|
|
|
|
$(obj).parents('tr').remove();
|
|
|
|
|
} else {
|
|
|
|
|
$(obj).parents('tr').children('.'+type+'-td').each(function(index, item){
|
|
|
|
|
if (index < 6) {
|
|
|
|
|
$(item).html('');
|
|
|
|
@ -399,6 +402,8 @@
|
|
|
|
|
$(item).html('<a onclick="openForm()">添加</a>')
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
countAmount();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|