From e115ae48b8b630b23403d75c1862ee83ed3c99d2 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Sat, 30 May 2020 13:37:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96cp=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/CompanyStatement/editCpStatement.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Application/Admin/View/CompanyStatement/editCpStatement.html b/Application/Admin/View/CompanyStatement/editCpStatement.html index 360d2c15c..1e8876b03 100644 --- a/Application/Admin/View/CompanyStatement/editCpStatement.html +++ b/Application/Admin/View/CompanyStatement/editCpStatement.html @@ -561,9 +561,11 @@ td['first_ratio'] = 100-val; } - if(DATAOBJ.statement_type == 0){ + if(DATAOBJ.pay_type == 1){ + //甲方收款 var ratio = td['first_ratio']/100; }else{ + //乙方 var ratio = td['second_ratio']/100; } DATAOBJ.statement_money = PUBLIC.floatCut(DATAOBJ.statement_money,td['sum_money']);