Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
916d783f
Commit
916d783f
authored
May 03, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务审核4个页面
parent
4b96fa37
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
39 additions
and
12 deletions
+39
-12
Finance.php
application/index/controller/Finance.php
+24
-7
Basic.php
application/index/extend/Basic.php
+2
-1
account_statement.html
application/index/view/finance/account_statement.html
+1
-1
statement.html
application/index/view/finance/statement.html
+2
-0
statement_backout.html
application/index/view/finance/statement_backout.html
+3
-0
wait_backout.html
application/index/view/finance/wait_backout.html
+0
-0
ORefundModel.php
application/model/ORefundModel.php
+5
-1
route.php
application/route.php
+2
-2
No files found.
application/index/controller/Finance.php
View file @
916d783f
...
...
@@ -15,6 +15,7 @@ use app\model\AAgents;
use
app\model\OBargainModel
;
use
app\model\OFinancialAudit
;
use
app\model\OPayLogModel
;
use
app\model\ORefundModel
;
class
Finance
extends
Basic
{
...
...
@@ -109,12 +110,20 @@ class Finance extends Basic
}
$result
=
$this
->
response
(
$data
[
'code'
],
$data
[
'msg'
],
$data
[
'data'
]);
}
else
{
if
(
$this
->
params
[
'check_status'
]
!=
4
)
{
//未结单
$result
=
view
(
'finance/index'
);
}
else
{
//已结单
$result
=
view
(
'finance/statement'
);
$result
=
''
;
switch
(
$this
->
params
[
'check_status'
])
{
case
0
:
//未结单
$result
=
view
(
'finance/account_statement'
);
break
;
case
4
:
//已结单
$result
=
view
(
'finance/statement'
);
break
;
case
5
:
//待撤销
$result
=
view
(
'finance/wait_backout'
);
break
;
case
6
:
//已撤销
$result
=
view
(
'finance/statement_backout'
);
break
;
}
}
...
...
@@ -408,6 +417,13 @@ class Finance extends Basic
* @return \think\response\View
*/
public
function
refundList
()
{
return
view
(
'refundList'
);
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'refundList'
);
}
$refund
=
new
ORefundModel
();
$refund
->
selectRefundByOrderNo
();
}
}
\ No newline at end of file
application/index/extend/Basic.php
View file @
916d783f
...
...
@@ -43,7 +43,8 @@ class Basic extends Controller
'index/banner'
,
'index/getUserLabel'
,
'index/bannerList'
,
'index/getLabelsList'
'index/getLabelsList'
,
'index/regions'
);
/**
...
...
application/index/view/finance/
index
.html
→
application/index/view/finance/
account_statement
.html
View file @
916d783f
...
...
@@ -56,7 +56,7 @@
<div
class=
"col-lg-10 col-lg-offset-0"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li><a
href=
"#"
>
成交报告-未
接单666
</a></li>
<li><a
href=
"#"
>
成交报告-未
结单
</a></li>
</div>
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
...
...
application/index/view/finance/statement.html
View file @
916d783f
{layout name="global/frame_tpl" /}
已结单
\ No newline at end of file
application/index/view/finance/statement_backout.html
0 → 100644
View file @
916d783f
{layout name="global/frame_tpl" /}
已撤销
\ No newline at end of file
application/index/view/finance/wait_backout.html
0 → 100644
View file @
916d783f
This diff is collapsed.
Click to expand it.
application/model/ORefundModel.php
View file @
916d783f
...
...
@@ -79,9 +79,13 @@ class ORefundModel extends Model{
/**
* 查询退款记录
* @param string $filed
*
* @param $filed
* @param $params
* @return false|\PDOStatement|string|\think\Collection
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
selectRefundByOrderNo
(
$filed
,
$params
)
{
...
...
application/route.php
View file @
916d783f
...
...
@@ -189,8 +189,8 @@ Route::group('index', [
'reportListMajordomo/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
2
]],
//财务 成交报告-未结单-总监审核
'reportListCashier/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
3
]],
//财务 成交报告-未结单-出纳审核
'reportListStatement/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
4
]],
//财务 成交报告-已结单
'reportListBackout/:
status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'
status'
=>
5
]],
//财务 成交报告-待撤销
'reportListUndone/:
status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'
status'
=>
6
]],
//财务 成交报告-已撤销
'reportListBackout/:
check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_
status'
=>
5
]],
//财务 成交报告-待撤销
'reportListUndone/:
check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_
status'
=>
6
]],
//财务 成交报告-已撤销
'refundList/:status'
=>
[
'index/Finance/refundList'
,
[
'method'
=>
'get|post'
],
[
'status'
=>
1
]
],
//财务 退款
'refundedList/:status'
=>
[
'index/Finance/refundList'
,
[
'method'
=>
'get|post'
],
[
'status'
=>
2
]
],
//财务 已退款
'checkReportAttache/:check_status'
=>
[
'index/Finance/checkReport'
,
[
'method'
=>
'post'
],
[
'check_status'
=>
0
]],
//审核成交报告-专员审核
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment