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
64ad139a
Commit
64ad139a
authored
Sep 20, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
11d6baf4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
shop_edit.js
public/resource/js/shop_edit.js
+1
-1
reportList_template_tpl.html
public/resource/template/reportList_template_tpl.html
+8
-4
No files found.
public/resource/js/shop_edit.js
View file @
64ad139a
...
...
@@ -1214,7 +1214,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
var
_vv
=
$
.
trim
(
item
.
val
());
var
_index1
=
_vv
.
indexOf
(
'路'
);
var
_index2
=
_vv
.
indexOf
(
'号'
);
if
(
_index1
>
0
&&
_index2
>
2
&&
/^
[
1-9
]\d
*$/
.
test
(
_vv
.
slice
(
_index1
+
1
,
_index2
))
){
if
(
_index1
>
0
&&
_index2
>
2
){
}
else
{
alert
(
item
.
attr
(
'data-alert'
));
...
...
public/resource/template/reportList_template_tpl.html
View file @
64ad139a
<script
id=
"reportList_list_tpl"
type=
"text/template"
>
[
%
if
(
it
[
"list"
]
&&
it
[
"list"
].
length
&&
it
[
"list"
].
length
>
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
0
:
return
"
开始审核"
;
case
1
:
return
"一级"
;
case
2
:
return
"二级"
;
case
3
:
return
"已结单"
;
case
3
:
default
:
return
s
}};
%
]
[
%
var
sw2
=
function
(
s
){
switch
(
Number
(
s
)){
case
0
:
return
"
一级"
;
case
1
:
return
"二级"
;
case
2
:
return
"三级"
;
case
3
:
return
"已结单"
;
default
:
return
s
}};
%
]
[
%
for
(
var
item
in
it
[
"list"
]){
%
]
<
tr
data
-
id
=
"[%= it['list'][item]['id'] %]"
data
-
orderid
=
"[%= it['list'][item]['order_id'] %]"
>
<
td
class
=
"text-center"
>
行号
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'id'
]
%
]
[
%
if
(
!
it
[
"step"
]
)
{
%
]
[
%
if
(
it
[
"step"
]
==
10
)
{
%
]
&
nbsp
;
<
span
class
=
"btn1 btn-success btn-xs"
>
[
%=
sw2
(
it
[
"list"
][
item
][
'audit_level'
])
%
]
<
/span
>
[
%
}
%
]
<
/td
>
...
...
@@ -23,7 +23,7 @@
[
%
if
(
check_auth
(
'index/bargainInfo'
))
{
%
]
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
>
详情
<
/a> 
;
[
%
}
%
]
[
%
if
(
it
[
"step"
]
&&
it
[
"step"
]
<
3
)
{
%
]
[
%
if
(
it
[
"step"
]
<
3
)
{
%
]
[
%
if
(
check_auth
(
'index/checkReportAttache/1'
)
||
check_auth
(
'index/checkReportManager/2'
)
||
check_auth
(
'index/checkReportMajordomo/3'
)
||
check_auth
(
'index/checkReportCashier/4'
))
{
%
]
<
a
class
=
"btn1 btn-success"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
>
通过
<
/a> 
;
[
%
}
%
]
...
...
@@ -115,7 +115,11 @@
<
span
contenteditable
class
=
"detail-modal-maid-span-cash"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'cash'
]
%
]
<
/span
>
<
span
contenteditable
class
=
"detail-modal-maid-span-practical-fee"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'practical_fee'
]
%
]
<
/span
>
[
%
if
(
!
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time'
]
||
(
Array
.
isArray
(
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time'
])
&&
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time'
].
length
<
1
)
)
{
%
]
<
span
class
=
"detail-modal-maid-span-date"
data
-
dateid
=
""
>
请点击选择
<
/span
>
[
%
if
(
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time_add'
])
{
%
]
<
span
class
=
"detail-modal-maid-span-date"
data
-
dateid
=
"[%= it['data'][i]['partial_commission'][j]['income_time_add']['id'] %]"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time_add'
][
'income_time'
]
%
]
<
/span
>
[
%
}
else
{
%
]
<
span
class
=
"detail-modal-maid-span-date"
data
-
dateid
=
""
>
请点击选择
<
/span
>
[
%
}
%
]
[
%
}
else
{
%
]
<
span
class
=
"detail-modal-maid-span-date"
data
-
dateid
=
"[%= it['data'][i]['partial_commission'][j]['income_time']['id'] %]"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time'
][
'income_time'
]
%
]
<
/span
>
[
%
}
%
]
...
...
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