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
2bd8685a
Commit
2bd8685a
authored
May 24, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分佣提成明细表
parent
95fd7830
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Finance.php
application/index/controller/Finance.php
+4
-3
commission_template_tpl.html
public/resource/template/commission_template_tpl.html
+2
-2
No files found.
application/index/controller/Finance.php
View file @
2bd8685a
...
...
@@ -494,6 +494,7 @@ class Finance extends Basic
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
$where
=
[];
$where
[
'a.confirm_status'
]
=
1
;
$where
[
'a.is_del'
]
=
0
;
if
(
!
empty
(
$this
->
params
[
'create_time'
])
&&
empty
(
$this
->
params
[
'end_time'
]))
{
$where
[
'a.confirm_date'
]
=
[
'>= time'
,
$this
->
params
[
'create_time'
]
.
' 00:00:00'
];
...
...
@@ -523,7 +524,7 @@ class Finance extends Basic
$where
[
'b.house_number'
]
=
[
'like'
,
'%'
.
$this
->
params
[
'house_number'
]
.
'%'
];
}
$field
=
'a.id,a.confirm_date,a.practical_fee,b.scale_fee,d.internal_address,b.agent_id,b.house_number'
;
$field
=
'a.id,
b.id as bargain_id,
a.confirm_date,a.practical_fee,b.scale_fee,d.internal_address,b.agent_id,b.house_number'
;
$m_commission
=
new
OPartialCommission
();
$data
[
'data'
][
'list'
]
=
$m_commission
->
getCommissionBargainList
(
$pageNo
,
$pageSize
,
'a.id desc'
,
$field
,
$where
);
...
...
@@ -543,7 +544,7 @@ class Finance extends Basic
$pageSize
=
250000
;
$where
=
[];
$where
[
'a.confirm_status'
]
=
1
;
$where
[
'a.is_del'
]
=
0
;
if
(
!
empty
(
$this
->
params
[
'create_time'
])
&&
empty
(
$this
->
params
[
'end_time'
]))
{
$where
[
'a.confirm_date'
]
=
[
'>= time'
,
$this
->
params
[
'create_time'
]
.
' 00:00:00'
];
}
...
...
@@ -572,7 +573,7 @@ class Finance extends Basic
$where
[
'b.house_number'
]
=
[
'like'
,
'%'
.
$this
->
params
[
'house_number'
]
.
'%'
];
}
$field
=
'a.id,a.confirm_date,a.practical_fee,b.scale_fee,d.internal_address,b.agent_id,cash,service_charge,
tallAge,
charity_fund,real_fee'
;
$field
=
'a.id,a.confirm_date,a.practical_fee,b.scale_fee,d.internal_address,b.agent_id,cash,service_charge,charity_fund,real_fee'
;
$m_commission
=
new
OPartialCommission
();
...
...
public/resource/template/commission_template_tpl.html
View file @
2bd8685a
...
...
@@ -11,8 +11,8 @@
<
td
>
[
%=
it
[
item
][
'practical_fee'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-info edit"
href
=
"#modal-details"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
<
a
class
=
"btn1 btn-info timeline"
href
=
"#modal-linetime"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-info edit"
href
=
"#modal-details"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["
bargain_
id"] %]'
>
详情
<
/a
>
<
a
class
=
"btn1 btn-info timeline"
href
=
"#modal-linetime"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["
bargain_
id"] %]'
>
时间轴
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
...
...
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