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
180b9d0b
Commit
180b9d0b
authored
Jan 16, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5
parent
0e908b5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
3 deletions
+91
-3
getCollection.html
application/index/view/finance/getCollection.html
+49
-1
getCollection.js
public/resource/js/getCollection.js
+42
-2
No files found.
application/index/view/finance/getCollection.html
View file @
180b9d0b
{layout name="global/frame_two_tpl" /}
{layout name="global/frame_two_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"getCollection"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"getCollection"
/>
<style>
<style>
.col-xs-3
{
padding-left
:
8px
;
padding-right
:
8px
;
}
;
.reportArea
{
.reportArea
{
float
:
left
;
float
:
left
;
position
:
relative
;
position
:
relative
;
...
@@ -47,7 +52,7 @@
...
@@ -47,7 +52,7 @@
}
}
.modal-body-height
{
.modal-body-height
{
overflow-y
:
auto
;
overflow-y
:
auto
;
height
:
5
2
1px
;
height
:
5
5
1px
;
}
}
#container_body_img_area
>
div
{
#container_body_img_area
>
div
{
float
:
left
;
float
:
left
;
...
@@ -491,6 +496,25 @@
...
@@ -491,6 +496,25 @@
<!--<strong><span class="col-xs-2 ld-Marheight">元</span></strong>-->
<!--<strong><span class="col-xs-2 ld-Marheight">元</span></strong>-->
</div>
</div>
</div>
</div>
<!--新增中介费 类型 之前已收佣-->
<div
class=
"col-xs-6"
id=
"agency_fees_type_div"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
中介费类型:
</span></strong>
<div
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"agency_fees_type"
>
<option
class=
""
value=
"0"
>
正常
</option>
<option
class=
""
value=
"1"
>
多收
</option>
</select>
</div>
</div>
</div>
<div
class=
"col-xs-6"
id=
"before_commission_div"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
之前已收佣(元):
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"0"
id=
"before_commission"
/></div>
<!--<strong><span class="col-xs-2 ld-Marheight">元</span></strong>-->
</div>
</div>
<div
class=
"col-xs-12 rep"
>
<div
class=
"col-xs-12 rep"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
成交报告ID:
</span></strong>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
成交报告ID:
</span></strong>
...
@@ -662,6 +686,30 @@
...
@@ -662,6 +686,30 @@
<span
id=
"intoType"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
<span
id=
"intoType"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
</div>
<!--收款详情 加中介费类型 之前已收佣-->
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-6 agency_fees_type_hide"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
style=
"margin-left: -7px;"
>
中介费类型:
</span></strong>
<div
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"agency_fees_type_text"
>
<option
class=
""
value=
"0"
>
正常
</option>
<option
class=
""
value=
"1"
>
多收
</option>
</select>
</div>
</div>
</div>
<div
class=
"col-xs-6 before_commission_hide"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
之前已收佣:
</span></strong>
<div
class=
"col-xs-6"
>
<input
class=
"form-control"
type=
"text"
value=
"0"
id=
"before_commission_text"
>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
商铺号:
</span></strong>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
商铺号:
</span></strong>
...
...
public/resource/js/getCollection.js
View file @
180b9d0b
...
@@ -47,7 +47,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -47,7 +47,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
'.intoIdArea'
).
hide
();
$
(
'.intoIdArea'
).
hide
();
$
(
'.reportArea'
).
hide
();
$
(
'.reportArea'
).
hide
();
}
}
})
})
;
// 初始化界面
// 初始化界面
$
(
'.pic-con2'
).
show
();
$
(
'.pic-con2'
).
show
();
...
@@ -148,7 +148,23 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -148,7 +148,23 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
e
.
stopPropagation
();
e
.
stopPropagation
();
$
(
this
).
parent
().
remove
();
$
(
this
).
parent
().
remove
();
});
});
//收款列表 调整页面 加中介费类型
$
(
"#change_type"
).
change
(
function
()
{
//中介费类型显示 隐藏 中介费
if
(
$
(
'#change_type'
).
val
()
==
91
){
$
(
'#agency_fees_type_div'
).
show
();
}
else
{
$
(
'#agency_fees_type_div'
).
hide
();
};
//之前收佣 显示隐藏 中介费 案场费
if
(
$
(
'#change_type'
).
val
()
==
91
||
$
(
'#change_type'
).
val
()
==
92
){
$
(
'#before_commission_div'
).
show
();
}
else
{
$
(
'#before_commission_div'
).
hide
();
}
});
//图片删除,已有的则调用接口删除
//图片删除,已有的则调用接口删除
_doc
.
on
(
'click'
,
'.span-del2'
,
function
(
e
)
{
_doc
.
on
(
'click'
,
'.span-del2'
,
function
(
e
)
{
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
...
@@ -317,6 +333,19 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -317,6 +333,19 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
'.baoguanjin'
).
show
();
$
(
'.baoguanjin'
).
show
();
}
}
that
.
yetai
=
""
;
that
.
yetai
=
""
;
//点击调整的时候 初始化调整页面的 中介费类型 之前已收佣
//中介费类型显示 隐藏 中介费
if
(
$
(
'#change_type'
).
val
()
==
91
){
$
(
'#agency_fees_type_div'
).
show
();
}
else
{
$
(
'#agency_fees_type_div'
).
hide
();
};
//之前收佣 显示隐藏 中介费 案场费
if
(
$
(
'#change_type'
).
val
()
==
91
||
$
(
'#change_type'
).
val
()
==
92
){
$
(
'#before_commission_div'
).
show
();
}
else
{
$
(
'#before_commission_div'
).
hide
();
};
// that.changeType(order_id);
// that.changeType(order_id);
});
});
...
@@ -1213,6 +1242,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1213,6 +1242,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
doc
.
find
(
"#tijiaoren"
).
text
(
data
.
agent_name
);
doc
.
find
(
"#tijiaoren"
).
text
(
data
.
agent_name
);
doc
.
find
(
"#address"
).
text
(
data
.
address
);
doc
.
find
(
"#address"
).
text
(
data
.
address
);
doc
.
find
(
"#comit_time"
).
text
(
data
.
create_time
);
doc
.
find
(
"#comit_time"
).
text
(
data
.
create_time
);
//判断收款详情的类型
if
(
data
.
type
==
91
){
$
(
'.agency_fees_type_hide'
).
show
();
}
else
{
$
(
'.agency_fees_type_hide'
).
hide
();
};
if
(
data
.
type
==
91
||
data
.
type
==
92
){
$
(
'.before_commission_hide'
).
show
();
}
else
{
$
(
'.before_commission_hide'
).
hide
();
}
if
(
data
.
type
==
10
){
if
(
data
.
type
==
10
){
doc
.
find
(
"#intoType"
).
text
(
'意向金'
);
doc
.
find
(
"#intoType"
).
text
(
'意向金'
);
}
else
if
(
data
.
type
==
20
)
{
}
else
if
(
data
.
type
==
20
)
{
...
...
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