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
4442dae0
Commit
4442dae0
authored
Jun 11, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
8e068bfe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
23 deletions
+27
-23
getCollection.js
public/resource/js/getCollection.js
+25
-21
get_collection_template_tpl.html
public/resource/template/get_collection_template_tpl.html
+2
-2
No files found.
public/resource/js/getCollection.js
View file @
4442dae0
...
...
@@ -162,45 +162,45 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
// 支付方式 10支付宝 20 微信 30pos机器 40转账 50现金 60其他
$
(
"#follow_list tr"
).
each
(
function
(
e
)
{
//e代表索引 从0开始 eq(0)就是第一行
var
temp
=
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
4
).
html
();
//获取一列的值
var
temp_two
=
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
();
var
temp
=
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
();
//获取一列的值
var
temp_two
=
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
6
).
html
();
// null
var
temp_one
=
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
1
).
html
();
if
(
temp
*
1
==
10
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
4
).
html
(
"支付宝"
)
if
(
temp
_two
*
1
==
10
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
6
).
html
(
"支付宝"
)
}
if
(
temp
*
1
==
20
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
4
).
html
(
"微信"
)
if
(
temp
_two
*
1
==
20
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
6
).
html
(
"微信"
)
}
if
(
temp
*
1
==
30
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
4
).
html
(
"pos机器"
)
if
(
temp
_two
*
1
==
30
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
6
).
html
(
"pos机器"
)
}
if
(
temp
*
1
==
40
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
4
).
html
(
"转账"
)
if
(
temp
_two
*
1
==
40
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
6
).
html
(
"转账"
)
}
if
(
temp
*
1
==
50
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
4
).
html
(
"现金"
)
if
(
temp
_two
*
1
==
50
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
6
).
html
(
"现金"
)
}
if
(
temp
*
1
==
60
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
4
).
html
(
"其他"
)
if
(
temp
_two
*
1
==
60
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
6
).
html
(
"其他"
)
}
// 付款类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他
if
(
temp
_two
*
1
==
10
){
if
(
temp
*
1
==
10
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
(
"意向金"
)
}
if
(
temp
_two
*
1
==
20
){
if
(
temp
*
1
==
20
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
(
"定金"
)
}
if
(
temp
_two
*
1
==
30
){
if
(
temp
*
1
==
30
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
(
"保管金"
)
}
if
(
temp
_two
*
1
==
40
){
if
(
temp
*
1
==
40
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
(
"押金"
)
}
if
(
temp
_two
*
1
==
50
){
if
(
temp
*
1
==
50
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
(
"租金"
)
}
if
(
temp
_two
*
1
==
60
){
if
(
temp
*
1
==
60
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
(
"进场费"
)
}
if
(
temp_two
*
1
==
70
){
...
...
@@ -209,7 +209,11 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
if
(
temp_two
*
1
==
80
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
(
"其他"
)
}
// null
if
(
temp_two
*
1
==
90
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
5
).
html
(
"佣金"
)
}
// null 佣金
if
(
temp_one
==
'null'
){
$
(
"#follow_list"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
1
).
html
(
" "
)
}
...
...
public/resource/template/get_collection_template_tpl.html
View file @
4442dae0
...
...
@@ -7,8 +7,8 @@
<
td
>
[
%=
it
[
item
][
'user_phone'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'real_money'
]
%
]
<
/td
>
<
td
class
=
"pay_type"
>
[
%=
it
[
item
][
'
pay_
type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'type'
]
%
]
<
/td
>
<
td
class
=
"pay_type"
>
[
%=
it
[
item
][
'type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
pay_
type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_number'
]
%
]
<
/td>
<
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