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
6cd5f736
Commit
6cd5f736
authored
Mar 13, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款详情修改
parent
df2a53ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
13 deletions
+32
-13
getCollection.html
application/index/view/finance/getCollection.html
+8
-5
getCollection.js
public/resource/js/getCollection.js
+24
-8
No files found.
application/index/view/finance/getCollection.html
View file @
6cd5f736
...
...
@@ -355,14 +355,14 @@
<select
class=
"form-control btn2 ld-Marheight"
id=
"maintable_deal_type"
>
<option
value=
""
>
入账类型
</option>
<option
value=
"10"
>
意向金
</option>
<
option
value=
"20"
>
定金
</option
>
<
!--<option value="20">定金</option>--
>
<option
value=
"30"
>
保管金
</option>
<option
value=
"40"
>
押金
</option>
<
!--<
option value="40">押金</option>
<option value="50">租金</option>
<option value="60">进场费</option>
<option value="70">转让费</option>
<option value="80">其他</option>
<option
value=
"90"
>
佣金
</option>
<option value="90">佣金</option>
-->
<option
value=
"91"
>
中介费
</option>
<option
value=
"92"
>
案场费
</option>
</select>
...
...
@@ -691,12 +691,15 @@
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
入账类型:
</span></strong>
<!--<span id="intoType" class="col-xs-6 ld-Marheight">中介费</span>-->
<select
class=
"form-control"
id=
"payType"
>
<span
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"intoType"
>
<option
value=
"10"
class=
"intention-gold-liu"
>
意向金
</option>
<option
value=
"30"
class=
"intention-gold-liu"
>
保管金
</option>
<option
value=
"91"
class=
"agency-fees-liu"
>
中介费
</option>
<option
value=
"92"
class=
"agency-fees-liu"
>
案场费
</option>
</select>
</select>
</span>
</div>
</div>
<!--收款详情 加中介费类型 之前已收佣-->
...
...
public/resource/js/getCollection.js
View file @
6cd5f736
...
...
@@ -1323,12 +1323,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
'.before_commission_hide'
).
hide
();
}
doc
.
find
(
"#intoType"
).
val
(
data
.
type
);
//收款详情 收款类型变成下拉框
if
(
data
.
type
==
10
){
// doc.find("#intoType").text('意向金');
if
(
data
.
type
==
10
){
//意向金
$
(
'.intention-gold-liu'
).
show
();
$
(
'.agency-fees-liu'
).
hide
();
}
else
if
(
data
.
type
==
20
)
{
// doc.find("#intoType").text('定金');
}
else
if
(
data
.
type
==
30
)
{
// doc.find("#intoType").text('保管金');
}
else
if
(
data
.
type
==
30
)
{
//保管金
$
(
'.intention-gold-liu'
).
show
();
$
(
'.agency-fees-liu'
).
hide
();
}
else
if
(
data
.
type
==
40
)
{
// doc.find("#intoType").text('押金');
}
else
if
(
data
.
type
==
50
)
{
...
...
@@ -1341,14 +1344,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
// doc.find("#intoType").text('其他');
}
else
if
(
data
.
type
==
90
)
{
// doc.find("#intoType").text('佣金');
}
else
if
(
data
.
type
==
91
)
{
// doc.find("#intoType").text('中介费');
}
else
if
(
data
.
type
==
91
)
{
//中介费
$
(
'.intention-gold-liu'
).
hide
();
$
(
'.agency-fees-liu'
).
show
();
if
(
doc
.
find
(
'#agency_fees_type'
).
val
()
==
1
){
persent
=
0
;
}
$
(
'.zhzd'
).
hide
();
}
else
if
(
data
.
type
==
92
)
{
// doc.find("#intoType").text('案场费');
}
else
if
(
data
.
type
==
92
)
{
//案场费
$
(
'.intention-gold-liu'
).
hide
();
$
(
'.agency-fees-liu'
).
show
();
$
(
'.zhzd'
).
hide
();
}
else
{
doc
.
find
(
"#intoType"
).
text
(
'佣金'
);
...
...
@@ -1402,11 +1407,22 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
}
if
(
source_id
&&
is_refund
)
{
doc
.
find
(
"#status"
).
text
(
"被调整+被退款"
);
$
(
'#intoType'
).
attr
(
"disabled"
,
"disabled"
);
$
(
'#intoPrice'
).
attr
(
"readonly"
,
"readonly"
);
}
else
if
(
source_id
){
doc
.
find
(
"#status"
).
text
(
"被调整"
);
$
(
'#intoType'
).
attr
(
"disabled"
,
"disabled"
);
$
(
'#intoPrice'
).
attr
(
"readonly"
,
"readonly"
);
}
else
if
(
is_refund
){
doc
.
find
(
"#status"
).
text
(
"被退款"
);
$
(
'#intoType'
).
attr
(
"disabled"
,
"disabled"
);
$
(
'#intoPrice'
).
attr
(
"readonly"
,
"readonly"
);
}
else
{
$
(
'#intoType'
).
removeAttr
(
"disabled"
);
$
(
'#intoPrice'
).
removeAttr
(
"readonly"
);
doc
.
find
(
"#status"
).
text
(
"正常"
);
}
// doc.find("#status").text(data.source_id);
...
...
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