|
|
|
@ -535,10 +535,10 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
$('#tablebox').find('tbody').prepend(html);
|
|
|
|
|
|
|
|
|
|
complementChange();
|
|
|
|
|
DeleteTd();
|
|
|
|
|
caculateAmount();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
@ -584,6 +584,10 @@
|
|
|
|
|
$(this).val(0);
|
|
|
|
|
ratio = 0;
|
|
|
|
|
}
|
|
|
|
|
if(!ratio) {
|
|
|
|
|
$(this).val(0);
|
|
|
|
|
ratio=0;
|
|
|
|
|
}
|
|
|
|
|
// console.log(ratio+show_ratio);
|
|
|
|
|
if ((ratio+show_ratio)>100) {
|
|
|
|
|
$(this).val(100-show_ratio);
|
|
|
|
@ -596,6 +600,7 @@
|
|
|
|
|
caculateAmount();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//删除操作
|
|
|
|
|
function DeleteTd() {
|
|
|
|
|
|
|
|
|
|