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
c685cb9b
Commit
c685cb9b
authored
Sep 30, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩明细增加一列分佣角色
parent
61702a27
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
PerformanceInfo.php
application/index/controller/PerformanceInfo.php
+1
-0
performancesubsidiaryList.html
...view/performancesubsidiary/performancesubsidiaryList.html
+1
-0
performance_subsidiary_template_tpl.html
...esource/template/performance_subsidiary_template_tpl.html
+2
-0
No files found.
application/index/controller/PerformanceInfo.php
View file @
c685cb9b
...
...
@@ -92,6 +92,7 @@ class PerformanceInfo extends Basic
$field
.=
'Obargain.scale_fee,'
;
$field
.=
'Obargain.practical_fee,'
;
$field
.=
'Obargain.order_id,'
;
$field
.=
'Obargain.role,'
;
$field
.=
'Agent.name,'
;
$field
.=
'Agent.phone,'
;
$field
.=
'Store.store_name,'
;
...
...
application/index/view/performancesubsidiary/performancesubsidiaryList.html
View file @
c685cb9b
...
...
@@ -108,6 +108,7 @@
<th
class=
"text-center"
>
商铺地址
</th>
<th
class=
"text-center"
>
商铺编号
</th>
<th
class=
"text-center"
>
分佣提成方
</th>
<th
class=
"text-center"
>
分佣角色
</th>
<th
class=
"text-center"
>
所属部门门店
</th>
<th
class=
"text-center"
>
分佣比例
</th>
<th
class=
"text-center"
>
应分佣金(元)
</th>
...
...
public/resource/template/performance_subsidiary_template_tpl.html
View file @
c685cb9b
<script
id=
"performance_subsidiary_list_tpl"
type=
"text/template"
>
[
%
if
(
it
[
0
])
{
%
]
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
10
:
return
"出租"
;
case
20
:
return
"增佣"
;
case
30
:
return
"代理"
;
case
40
:
return
"好处费"
;
default
:
return
s
}};
%
]
[
%
var
sw2
=
function
(
s
){
switch
(
Number
(
s
)){
case
1
:
return
"盘方"
;
case
2
:
return
"客方"
;
case
3
:
return
"反签"
;
case
4
:
return
"独家"
;
case
5
:
return
"合作方"
;
case
6
:
return
"APP盘下载方"
;
case
7
:
return
"APP客下载方"
;
default
:
return
s
}};
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
data
-
id
=
"[%= it[item]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
data
-
fatherid
=
"[%= it[item]['father_id'] %]"
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
...
...
@@ -9,6 +10,7 @@
<
td
class
=
"text-left"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
-
[
%=
it
[
item
][
'phone'
]
%
]
<
/td
>
<
td
>
[
%=
sw2
(
it
[
item
][
'role'
])
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'district_name'
]
%
]
-
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'scale'
]
%
]
%<
/td
>
<
td
>
[
%=
it
[
item
][
'scale_fee'
]
%
]
<
/td
>
...
...
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