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
3e278ddf
Commit
3e278ddf
authored
Mar 11, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中介费修改
parent
e152fdb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
footer_tpl.html
application/index/view/global/footer_tpl.html
+1
-1
getCollection.js
public/resource/js/getCollection.js
+22
-0
No files found.
application/index/view/global/footer_tpl.html
View file @
3e278ddf
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=201906668
6
'
charset=
'utf-8'
></script>
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=201906668
9
'
charset=
'utf-8'
></script>
public/resource/js/getCollection.js
View file @
3e278ddf
...
...
@@ -24,6 +24,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
receipt_number
:
''
,
agent_id_phone
:
''
,
houseNumber_new
:
''
,
payment_details_price
:
0
,
payment_details_money
:
0
,
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
...
...
@@ -165,6 +168,22 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
});
//中介费 类型切换 多收 正常
$
(
"#agency_fees_type_text"
).
change
(
function
()
{
//中介费类型显示 隐藏 中介费
if
(
$
(
this
).
val
()
*
1
==
1
){
var
persent_liu
=
0
;
console
.
log
(
1
)
}
else
{
var
persent_liu
=
0.7
;
console
.
log
(
2
)
};
$
(
"#getPrice"
).
text
((
Math
.
floor
(((
receiv
.
payment_details_price
-
0
)
*
persent_liu
)
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
$
(
"#morePrice"
).
text
((
Math
.
floor
((
receiv
.
payment_details_money
-
((
receiv
.
payment_details_price
-
0
)
*
persent_liu
))
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
});
//图片删除,已有的则调用接口删除
_doc
.
on
(
'click'
,
'.span-del2'
,
function
(
e
)
{
var
_this
=
$
(
this
);
...
...
@@ -1300,6 +1319,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
'.hangzhou'
).
hide
();
$
(
'.shenzheng'
).
show
();
}
//切换 中介费类型 多收金额 应收金额相应的改变
receiv
.
payment_details_price
=
data
.
price
;
receiv
.
payment_details_money
=
data
.
money
;
var
persent
=
0.7
;
$
(
'.zhzd'
).
show
();
$
(
'.zjcon'
).
hide
();
...
...
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