Commit ba13d3e8 authored by hujun's avatar hujun

财务路由修改

parent fa63bf67
......@@ -392,18 +392,17 @@ class OBargainModel extends Model
$save_data['audit_id'] = $data['audit_id'];
$save_data['audit_name'] = $data['audit_name'];
$return = 0;
$audit_level = $data['audit_level'] - 1;
//是否有审核记录,只做一次审核。
if (isset($audit_data['id'])) {
//第二、三审核
if ($audit_data['audit_level'] == $audit_level) {
if ($audit_data['audit_level'] == $data['audit_level']) {
$save_data['audit_level'] = $data['audit_level'];
$return = $audit->addAudit($save_data);
}
} else {
//第一步审核
if ($data['audit_level'] == "0") {
if ($data['audit_level'] == 1) {
$save_data['audit_level'] = 0;
$return = $audit->addAudit($save_data);
}
......
......@@ -208,12 +208,12 @@ Route::group('index', [
'refundListMajordomo/:check_status' => [ 'index/Finance/refundList', [ 'method' => 'get|post' ], [ 'check_status' => 2 ] ], //退款列表-总监审核
'refundListCashier/:check_status' => [ 'index/Finance/refundList', [ 'method' => 'get|post' ], [ 'check_status' => 3 ] ], //退款列表-出纳审核
'refundOrderList' => [ 'index/Finance/refundOrderList', [ 'method' => 'get' ] ], //财务 已退款
'checkReportAttache/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 0 ] ], //审核成交报告-第一级审核
'checkReportManager/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 1 ] ], //审核成交报告-第二级审核
'checkReportMajordomo/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 2 ] ], //审核成交报告-第三级审核
'checkBackOutOne/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 0 ] ], //审核撤销成交报告-第一级审核
'checkBackOutTwo/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 1 ] ], //审核撤销成交报告-第二级审核
'checkBackOutThree/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 2 ] ], //审核撤销成交报告-第三级审核
'checkReportAttache/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 1 ] ], //审核成交报告-第一级审核
'checkReportManager/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 2 ] ], //审核成交报告-第二级审核
'checkReportMajordomo/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 3 ] ], //审核成交报告-第三级审核
'checkBackOutOne/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 1 ] ], //审核撤销成交报告-第一级审核
'checkBackOutTwo/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 2 ] ], //审核撤销成交报告-第二级审核
'checkBackOutThree/:check_status' => [ 'index/Finance/checkReport', [ 'method' => 'post' ], [ 'check_status' => 3 ] ], //审核撤销成交报告-第三级审核
'overRuleAttache/:check_status' => [ 'index/Finance/overRule', [ 'method' => 'post' ], [ 'check_status' => 0 ] ], //退款审核-驳回-专员审核
'overRuleManager/:check_status' => [ 'index/Finance/overRule', [ 'method' => 'post' ], [ 'check_status' => 1 ] ], //退款审核-驳回-经理审核
'overRuleMajordomo/:check_status' => [ 'index/Finance/overRule', [ 'method' => 'post' ], [ 'check_status' => 2 ] ], //退款审核-驳回-总监审核
......
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