From 2c5889cd50a43789458f22dbb41d0fe1bdf8ce04 Mon Sep 17 00:00:00 2001 From: zyx Date: Thu, 1 Oct 2020 15:41:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=87=E6=80=BB=E7=8A=B6=E6=80=81=E7=9A=84?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AggregateFinanceStatementController.class.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/AggregateFinanceStatementController.class.php b/Application/Admin/Controller/AggregateFinanceStatementController.class.php index 8a6f1fda0..202a0055f 100644 --- a/Application/Admin/Controller/AggregateFinanceStatementController.class.php +++ b/Application/Admin/Controller/AggregateFinanceStatementController.class.php @@ -190,6 +190,11 @@ class AggregateFinanceStatementController extends ThinkController $this->error("参数错误"); } + if ($_REQUEST['is_edit']) { + $verify_status = 0; + } else { + $verify_status = 1; + } //拼凑数据 $adddata = array( "pay_money"=>$data_count['pay_money'], @@ -200,7 +205,7 @@ class AggregateFinanceStatementController extends ThinkController "statement_info"=>json_encode($statement_info,JSON_UNESCAPED_UNICODE), "admin_name"=>$admininfo['username'], "admin_id"=>$admininfo['uid'], - "verify_status"=>1, + "verify_status"=>$verify_status, "create_time"=>time() ); $id = $_REQUEST['statement_id']; @@ -290,7 +295,8 @@ class AggregateFinanceStatementController extends ThinkController "first_party_info"=>$first_party_info, "second_party_info"=>$second_party_info, "statement_info"=>$statement_info, - "statement_count"=>array("pay_money"=>$dbres['pay_money'],"ratio_money"=>$dbres['ratio_money']) + "statement_count"=>array("pay_money"=>$dbres['pay_money'],"ratio_money"=>$dbres['ratio_money']), + "is_edit"=>1, ); $this->assign("data",$senddata);