From 95799193754292f5480076ee5177afd96f52d750 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Fri, 4 Sep 2020 12:12:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E4=BE=8B=E7=A9=BA=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/View/CompanyStatement/viewSpecialComplement.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Application/Admin/View/CompanyStatement/viewSpecialComplement.html b/Application/Admin/View/CompanyStatement/viewSpecialComplement.html index 7094ad59f..b23770a61 100644 --- a/Application/Admin/View/CompanyStatement/viewSpecialComplement.html +++ b/Application/Admin/View/CompanyStatement/viewSpecialComplement.html @@ -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() {