Commit 9e31c11a authored by zhuwei's avatar zhuwei

1

parent a3f785f8
......@@ -256,6 +256,11 @@ class StoreFee extends Basic
}
$m_store = new AStore();
$store_result = $m_store->getStore(['id'=>$params['store_id']], 'id');
if($store_result)
return $this->response("101", "该门店不存在");
if ($params['office_id'] == 0) {
//解绑
$conditions['office_id'] = 0;
......@@ -278,4 +283,6 @@ class StoreFee extends Basic
}
}
\ No newline at end of file
......@@ -522,8 +522,9 @@ Route::group('index', [
'addOffice' => [ 'index/StoreFee/addOffice', [ 'method' => 'POST|GET' ] ],
'getOfficeList' => [ 'index/StoreFee/getOfficeList', [ 'method' => 'POST|GET' ] ],
'getOfficeInfo' => [ 'index/StoreFee/getOfficeInfo', [ 'method' => 'POST|GET' ] ],
'editOffice' => [ 'index/StoreFee/editOffice', [ 'method' => 'POST|GET' ] ],
'getStoreList' => [ 'index/StoreFee/getStoreList', [ 'method' => 'POST|GET' ] ],
'editOffice' => [ 'index/StoreFee/editOffice', [ 'method' => 'POST|GET' ] ],
'getStoreList' => [ 'index/StoreFee/getStoreList', [ 'method' => 'POST|GET' ] ],
'bindStore' => [ 'index/StoreFee/bindStore', [ 'method' => 'POST|GET' ] ],
'getCostList' => ['index/Cost/getCostList', ['method' => 'GET']], //费用报销审核全部
'getCostListOne/:check_status' => ['index/Cost/getCostList', ['method' => 'GET'], ['check_status' => 0]], //费用报销审核总监
'getCostListTwo/:check_status' => ['index/Cost/getCostList', ['method' => 'GET'], ['check_status' => 1]], //费用报销审核一审
......
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