Commit 13d878ea authored by zw's avatar zw

新增财务提交

parent 920bfcef
......@@ -115,7 +115,7 @@ class DailyPaper extends Basic
public function commitCheck(){
$params = $this->params;
/* $params = array(
"daily_id" => 1,
"daily_id" => 1,//日报id
"agent_id" => 5775,//经纪人id
"agent_name" => "222",//经纪人姓名
"daily_date" => "2018-12-02",//日报日期
......@@ -127,7 +127,7 @@ class DailyPaper extends Basic
"cash" => "666",//现金
"pos" => "777",//pos机
"other_bank" => "888"//其他,
"remark" => "888"//其他,
"remark" => "888"//备注,
);*/
if (!isset($params["daily_id"]) || empty($params["agent_id"]) || empty($params["agent_name"]) || empty($params["daily_date"]) ||
!isset($params["alipay"]) || !isset($params["tenpay"]) || !isset($params["realty_pay"]) ||
......
......@@ -395,7 +395,7 @@ Route::group('index', [
'dailyDetail' => ['index/DailyPaper/dailyDetail', ['method' => 'get|post']],
'addDaily' => ['index/DailyPaper/addDaily', ['method' => 'get|post']],
'addDailyCheck' => ['index/DailyPaper/addDailyCheck', ['method' => 'get|post']],
'commitCheck' => ['index/DailyPaper/commitCheck', ['method' => 'get|post']],
]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment