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
7e99e23b
Commit
7e99e23b
authored
May 18, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务审核页面显示
parent
0c583f6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
Finance.php
application/index/controller/Finance.php
+18
-1
No files found.
application/index/controller/Finance.php
View file @
7e99e23b
...
@@ -13,6 +13,7 @@ use app\api_broker\service\OrderLogService;
...
@@ -13,6 +13,7 @@ use app\api_broker\service\OrderLogService;
use
app\index\extend\Basic
;
use
app\index\extend\Basic
;
use
app\model\AAgents
;
use
app\model\AAgents
;
use
app\model\OBargainModel
;
use
app\model\OBargainModel
;
use
app\model\OPartialCommission
;
use
app\model\OPayLogModel
;
use
app\model\OPayLogModel
;
use
app\model\ORefundModel
;
use
app\model\ORefundModel
;
...
@@ -32,7 +33,7 @@ class Finance extends Basic
...
@@ -32,7 +33,7 @@ class Finance extends Basic
$result
=
''
;
$result
=
''
;
switch
(
$this
->
params
[
'check_status'
])
{
switch
(
$this
->
params
[
'check_status'
])
{
case
0
:
case
1
:
//未结单
//未结单
$result
=
view
(
'finance/account_statement'
);
break
;
$result
=
view
(
'finance/account_statement'
);
break
;
case
4
:
case
4
:
...
@@ -493,4 +494,20 @@ class Finance extends Basic
...
@@ -493,4 +494,20 @@ class Finance extends Basic
$data
[
'data'
][
'total'
]
=
$refund
->
selectRefundByOrderNoPageTotal
(
$where
);
$data
[
'data'
][
'total'
]
=
$refund
->
selectRefundByOrderNoPageTotal
(
$where
);
return
$this
->
response
(
"200"
,
"request success"
,
$data
);
return
$this
->
response
(
"200"
,
"request success"
,
$data
);
}
}
public
function
partialCommissionList
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'commission'
);
}
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
$where
=
[];
$field
=
'a.create_time,a.practical_fee,b.scale_fee,d.internal_address,b.agent_id'
;
$m_commission
=
new
OPartialCommission
();
$data
[
'data'
][
'list'
]
=
$m_commission
->
getCommissionBargainList
(
$pageNo
,
$pageSize
,
'id desc'
,
$field
,
$where
);
$data
[
'data'
][
'total'
]
=
$m_commission
->
selectRefundByOrderNoPageTotal
(
$where
);
return
$this
->
response
(
"200"
,
"request success"
,
$data
);
}
}
}
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