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
f93d1f17
Commit
f93d1f17
authored
Mar 28, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收佣金 优化
parent
12e9ff38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
reportList.js
public/resource/js/reportList.js
+8
-8
No files found.
public/resource/js/reportList.js
View file @
f93d1f17
...
...
@@ -651,8 +651,9 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
$
(
'.anchangfei'
).
show
();
};
});
//中介费类型 正常 多收
$
(
".fee-type-zhongjie"
).
change
(
function
()
{
//中介费类型 正常 多收 change
$
(
".fee-type-zhongjie,.commission-before-zhongjie,.commission-money"
).
change
(
function
()
{
console
.
log
(
555
)
if
(
$
(
'.fee-type-zhongjie'
).
val
()
*
1
==
0
){
//正常
var
shouldMoney
=
(
0.7
*
bargain
.
price_commission
).
toFixed
(
2
)
var
moreMoney
=
(
$
(
'.commission-money'
).
val
()
*
1
-
shouldMoney
+
$
(
'.commission-before-zhongjie'
).
val
()
*
1
).
toFixed
(
2
)
...
...
@@ -662,11 +663,13 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
}
else
{
//多收
var
shouldMoney
=
0
;
var
moreMoney
=
$
(
'.commission-money'
).
val
()
*
1
;
$
(
'.fee-money-zhongjie'
).
html
(
shouldMoney
);
//应收金额
$
(
'.fee-more-zhongjie'
).
html
(
moreMoney
);
//多收金额
};
});
//之前已收佣 change
//收款入账 change
//收款图片 和 收款详情切换
$
(
'.tit_con'
).
unbind
(
'click'
).
bind
(
'click'
,
function
(
e
){
...
...
@@ -1033,11 +1036,8 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
$
(
'#container_body_img_area_liu'
).
html
(
''
);
$
(
'.commission-bargain-id'
).
html
(
bargain
.
bargainid_commission
);
//初始化 成交报告id
$
(
'.commission-price-zhongjie'
).
html
(
bargain
.
price_commission
);
//初始化成交价
//默认中介费 类型正常
var
shouldMoney
=
(
0.7
*
bargain
.
price_commission
).
toFixed
(
2
)
var
moreMoney
=
(
$
(
'.commission-money'
).
val
()
*
1
-
shouldMoney
+
$
(
'.commission-before-zhongjie'
).
val
()
*
1
).
toFixed
(
2
)
$
(
'.fee-money-zhongjie'
).
html
(
shouldMoney
);
//应收金额
$
(
'.fee-more-zhongjie'
).
html
(
moreMoney
);
//多收金额
$
(
'.fee-money-zhongjie'
).
html
(
0
);
//应收金额
$
(
'.fee-more-zhongjie'
).
html
(
0
);
//多收金额
bargain
.
getNum
();
bargain
.
getRole
();
},
...
...
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