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
74528d46
Commit
74528d46
authored
Jan 17, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款详情修改
parent
0938ad59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
getCollection.js
public/resource/js/getCollection.js
+28
-2
No files found.
public/resource/js/getCollection.js
View file @
74528d46
...
...
@@ -906,6 +906,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
'income_time'
:
that
.
income_time
,
'pay_id'
:
that
.
pay_id
,
'transfer_name'
:
that
.
transfer_name
};
var
obj
=
{
...
...
@@ -914,7 +915,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
if
(
$
(
'#change_type'
).
val
()){
//调整类型
obj
.
type
=
$
(
'#change_type'
).
val
();
//that.type_num;
//$('#change_type').val()
};
};
//提交调整 案场费 中介费 之前已收佣 中介费类型
if
(
$
(
'#change_type'
).
val
()
==
91
||
$
(
'#change_type'
).
val
()
==
92
){
params
.
received_money
=
$
(
'#before_commission'
).
val
();
params
.
type_ext
=
$
(
'#agency_fees_type'
).
val
();
};
if
(
$
(
'#change_type'
).
val
()
==
91
){
params
.
type_ext
=
$
(
'#agency_fees_type'
).
val
();
}
//拼接jsonArray to jsonObject
if
(
$
(
'#change_price'
).
val
()){
//调整金额
if
(
$
(
'#change_price'
).
val
()
>
0
){
...
...
@@ -1029,12 +1039,24 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
};
if
(
$
(
'#lastTime'
).
val
()){
//最后转定时间
params
.
last_transfer_time
=
$
(
'#lastTime'
).
val
()
};
};
if
(
$
(
'#intoType'
).
text
()
==
'意向金'
||
$
(
'#intoType'
).
text
()
==
'保管金'
)
{
if
(
$
(
'#shoutiao'
).
val
()){
params
.
receipt_number
=
$
(
'#shoutiao'
).
val
()
}
}
//判断是否是 案场费
if
(
$
(
'#intoType'
).
text
()
==
'中介费'
){
params
.
type_ext
=
$
(
'#agency_fees_type_text'
).
val
()
};
//判断是否是 案场费 中介费
if
(
$
(
'#intoType'
).
text
()
==
'案场费'
||
$
(
'#intoType'
).
text
()
==
'中介费'
){
if
(
$
(
'#before_commission_text'
).
val
()){
params
.
received_money
=
$
(
'#before_commission_text'
).
val
();
}
params
.
type_ext
=
$
(
'#agency_fees_type_text'
).
val
()
};
return
params
;
},
...
...
@@ -1280,6 +1302,10 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
}
else
{
doc
.
find
(
"#intoType"
).
text
(
'佣金'
);
}
//收款详情 获取中介费类型 之前已收佣
doc
.
find
(
"#agency_fees_type_text"
).
val
(
data
.
type_ext
);
doc
.
find
(
"#before_commission_text"
).
val
(
data
.
received_money
);
doc
.
find
(
"#shopNo"
).
text
(
data
.
house_number
);
doc
.
find
(
"#intoDate"
).
val
(
data
.
income_time
);
doc
.
find
(
"#salePrice"
).
text
(
data
.
price
+
"元"
);
...
...
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