汇总状态的操作修改

master
zyx 4 years ago
parent c692e51fa7
commit 2c5889cd50

@ -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);

Loading…
Cancel
Save