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
d9ffc841
Commit
d9ffc841
authored
Feb 22, 2019
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
1d286f11
5c981e50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
getCollection.js
public/resource/js/getCollection.js
+6
-2
financial_manager_daily_list_template_tpl.html
...e/template/financial_manager_daily_list_template_tpl.html
+12
-2
No files found.
public/resource/js/getCollection.js
View file @
d9ffc841
...
@@ -1284,6 +1284,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1284,6 +1284,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
},
},
getValueFunction
:
function
(
data
){
getValueFunction
:
function
(
data
){
var
persent
=
70
%
;
$
(
'.zhzd'
).
show
();
$
(
'.zhzd'
).
show
();
$
(
'.zjcon'
).
hide
();
$
(
'.zjcon'
).
hide
();
var
doc
=
$
(
'#modal-addPic'
);
var
doc
=
$
(
'#modal-addPic'
);
...
@@ -1325,6 +1326,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1325,6 +1326,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
doc
.
find
(
"#intoType"
).
text
(
'佣金'
);
doc
.
find
(
"#intoType"
).
text
(
'佣金'
);
}
else
if
(
data
.
type
==
91
)
{
}
else
if
(
data
.
type
==
91
)
{
doc
.
find
(
"#intoType"
).
text
(
'中介费'
);
doc
.
find
(
"#intoType"
).
text
(
'中介费'
);
if
(
doc
.
find
(
'#agency_fees_type'
).
val
()
==
1
){
persent
=
0
;
}
$
(
'.zhzd'
).
hide
();
$
(
'.zhzd'
).
hide
();
}
else
if
(
data
.
type
==
92
)
{
}
else
if
(
data
.
type
==
92
)
{
doc
.
find
(
"#intoType"
).
text
(
'案场费'
);
doc
.
find
(
"#intoType"
).
text
(
'案场费'
);
...
@@ -1343,8 +1347,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1343,8 +1347,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
doc
.
find
(
"#shouxu"
).
val
(
data
.
transaction_fee
);
doc
.
find
(
"#shouxu"
).
val
(
data
.
transaction_fee
);
doc
.
find
(
"#realPrice"
).
val
(
data
.
real_money
);
doc
.
find
(
"#realPrice"
).
val
(
data
.
real_money
);
//保留两位小数
//保留两位小数
doc
.
find
(
"#getPrice"
).
text
((
Math
.
floor
(((
data
.
price
-
0
)
*
0.7
)
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
doc
.
find
(
"#getPrice"
).
text
((
Math
.
floor
(((
data
.
price
-
0
)
*
persent
)
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
doc
.
find
(
"#morePrice"
).
text
((
Math
.
floor
((
data
.
money
-
((
data
.
price
-
0
)
*
0.7
))
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
doc
.
find
(
"#morePrice"
).
text
((
Math
.
floor
((
data
.
money
-
((
data
.
price
-
0
)
*
persent
))
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
$
(
"#person"
).
text
(
data
.
current_agent_name
);
$
(
"#person"
).
text
(
data
.
current_agent_name
);
$
(
"#belongT"
).
text
(
data
.
store_name
);
$
(
"#belongT"
).
text
(
data
.
store_name
);
doc
.
find
(
"#payType"
).
val
(
data
.
pay_type
);
doc
.
find
(
"#payType"
).
val
(
data
.
pay_type
);
...
...
public/resource/template/financial_manager_daily_list_template_tpl.html
View file @
d9ffc841
...
@@ -8,10 +8,20 @@
...
@@ -8,10 +8,20 @@
<
td
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
(
it
[
item
][
'price'
]
*
0.7
).
toFixed
(
2
)
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"type_ext"
]
==
0
)
{
%
]
[
%=
(
it
[
item
][
'price'
]
*
0.7
).
toFixed
(
2
)
%
]
[
%
}
else
{
%
]
0
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'received_money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'received_money'
]
%
]
<
/td
>
<
td
>
[
%=
(
it
[
item
][
'money'
]
*
1
-
(
it
[
item
][
'price'
]
*
0.7
)).
toFixed
(
2
)
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"type_ext"
]
==
0
)
{
%
]
[
%=
(
it
[
item
][
'money'
]
*
1
-
(
it
[
item
][
'price'
]
*
0.7
)).
toFixed
(
2
)
%
]
[
%
}
else
{
%
]
[
%=
(
it
[
item
][
'money'
]
*
1
-
0
).
toFixed
(
2
)
%
]
[
%
}
%
]
<
/td
>
<
td
>
[
%=
sw
(
it
[
item
][
'pay_type'
])
%
]
<
/td
>
<
td
>
[
%=
sw
(
it
[
item
][
'pay_type'
])
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"transfer_name"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"transfer_name"
]
%
]
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"transfer_name"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"transfer_name"
]
%
]
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/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