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
6d7cc2ab
Commit
6d7cc2ab
authored
Dec 18, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
com
parent
113e97e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
25 deletions
+73
-25
getCollection.html
application/index/view/finance/getCollection.html
+23
-19
getCollection.js
public/resource/js/getCollection.js
+50
-6
No files found.
application/index/view/finance/getCollection.html
View file @
6d7cc2ab
{layout name="global/frame_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"
receivables
"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"
getCollection
"
/>
<style>
.reportArea
{
float
:
left
;
...
...
@@ -270,6 +270,9 @@
height
:
35px
;
width
:
80px
;
}
.rep
{
/*disabled:disabled;*/
}
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
...
...
@@ -414,18 +417,7 @@
<div
class=
"col-xs-12"
>
<span>
该笔收款可调整/退款金额:
<strong><span
id=
"could_price"
>
1000
</span></strong>
元
</span>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
调整后商铺ID:
</span></strong>
<span
id=
"shop_id_change"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
调整后商铺地址:
</span></strong>
<span
id=
"shop_addr_change"
class=
"col-xs-6 ld-Marheight"
>
123456
</span>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
调整为:
</span></strong>
...
...
@@ -448,13 +440,25 @@
<!--<strong><span class="col-xs-2 ld-Marheight">元</span></strong>-->
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12
rep
"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
成交报告ID:
</span></strong>
<div
class=
"col-xs-9"
style=
"padding:0px 10px 0px 5px;"
><input
class=
"form-control"
type=
"text"
value=
""
id=
"report_id_change"
/>
<ul
class=
"reportArea"
style=
"display:none"
></ul></div>
</div>
</div>
<div
class=
"col-xs-6 rep"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
调整后商铺ID:
</span></strong>
<span
id=
"shop_id_change"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-6 rep"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
调整后商铺地址:
</span></strong>
<span
id=
"shop_addr_change"
class=
"col-xs-6 ld-Marheight"
>
123456
</span>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
调整后带看ID:
</span></strong>
...
...
@@ -673,14 +677,14 @@
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
业务员:
</span></strong>
<span
id=
"person"
class=
"col-xs-6 ld-Marheight"
>
周小雨
</span>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
对应
业务员:
</span></strong>
<span
id=
"person"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
所属门店:
</span></strong>
<span
id=
"belongT"
class=
" col-xs-6 ld-Marheight"
>
南京东路店
</span>
<span
id=
"belongT"
class=
" col-xs-6 ld-Marheight"
></span>
</div>
</div>
...
...
@@ -738,7 +742,7 @@
<!--</div>-->
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"col-xs-6
xqac
"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
是否分红:
</span></strong>
<div
class=
"col-xs-6"
>
...
...
@@ -752,7 +756,7 @@
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
来源:
</span></strong>
<span
id=
"comes"
class=
"col-xs-6 ld-Marheight"
>
调整
</span>
<span
id=
"comes"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-6"
>
...
...
public/resource/js/getCollection.js
View file @
6d7cc2ab
...
...
@@ -175,14 +175,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
'#change_type'
).
val
(
91
);
$
(
'.baoguanjin'
).
hide
();
$
(
'.yixiangjin'
).
show
();
}
else
{
$
(
'#change_type'
).
val
(
91
);
$
(
'.yixiangjin'
).
hide
();
$
(
'.baoguanjin'
).
show
();
}
that
.
yetai
=
""
;
that
.
changeType
(
order_id
);
});
//操作----删除
$
(
document
).
on
(
'click'
,
'.list_delete'
,
function
(
e
){
var
id
=
e
.
target
.
dataset
.
id
;
...
...
@@ -316,12 +319,13 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
that
.
report_id_a
=
$
(
obj
).
attr
(
"data-id"
);
var
user_ht
=
$
(
obj
).
html
()
+
''
;
var
user_ht_str
=
user_ht
.
substring
(
0
,
user_ht
.
length
-
3
);
$
(
"#report_id_change"
).
val
(
user_ht_str
);
$
(
"#report_id_change"
).
val
(
$
(
obj
).
attr
(
"data-id"
)
);
$
(
".reportArea"
).
html
(
''
);
$
(
'.reportArea'
).
hide
();
$
(
'#shop_addr_change'
).
text
(
$
(
obj
).
attr
(
"data-addr"
));
$
(
'#into_id_change'
).
text
(
$
(
obj
).
attr
(
"data-order_id"
));
$
(
'#shop_id_change_shop'
).
text
(
$
(
obj
).
attr
(
"data-house_number"
));
$
(
'#shop_id_change'
).
text
(
$
(
obj
).
attr
(
"data-house_number"
));
that
.
houseNmuber
=
$
(
obj
).
attr
(
"data-house_number"
);
},
...
...
@@ -419,12 +423,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
if
(
val
==
"意向金"
)
{
$
(
'.choose_topic_1'
).
hide
();
$
(
'.choose_topic_2'
).
show
();
$
(
'.rep'
).
show
();
}
else
if
(
val
==
'保管金'
)
{
$
(
'.choose_topic_1'
).
hide
();
$
(
'.choose_topic_2'
).
show
();
$
(
'.rep'
).
hide
();
$
(
'.rep'
).
show
();
}
else
{
$
(
'.choose_topic_2'
).
hide
();
$
(
'.choose_topic_1'
).
show
();
$
(
'.rep'
).
hide
();
}
},
...
...
@@ -784,7 +792,31 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
doc
.
find
(
"#tijiaoren"
).
text
(
data
.
agent_name
);
doc
.
find
(
"#address"
).
text
(
data
.
address
);
doc
.
find
(
"#comit_time"
).
text
(
data
.
create_time
);
doc
.
find
(
"#intoType"
).
text
(
data
.
type
);
if
(
data
.
type
==
10
){
doc
.
find
(
"#intoType"
).
text
(
'意向金'
);
}
else
if
(
data
.
type
==
20
)
{
doc
.
find
(
"#intoType"
).
text
(
'定金'
);
}
else
if
(
data
.
type
==
30
)
{
doc
.
find
(
"#intoType"
).
text
(
'保管金'
);
}
else
if
(
data
.
type
==
40
)
{
doc
.
find
(
"#intoType"
).
text
(
'押金'
);
}
else
if
(
data
.
type
==
50
)
{
doc
.
find
(
"#intoType"
).
text
(
'租金'
);
}
else
if
(
data
.
type
==
60
)
{
doc
.
find
(
"#intoType"
).
text
(
'进场费 '
);
}
else
if
(
data
.
type
==
70
)
{
doc
.
find
(
"#intoType"
).
text
(
'转让费'
);
}
else
if
(
data
.
type
==
80
)
{
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
==
92
)
{
doc
.
find
(
"#intoType"
).
text
(
'案场费'
);
}
else
{
doc
.
find
(
"#intoType"
).
text
(
'佣金'
);
}
doc
.
find
(
"#shopNo"
).
text
(
data
.
house_number
);
doc
.
find
(
"#intoDate"
).
val
(
data
.
income_time
);
doc
.
find
(
"#salePrice"
).
text
(
data
.
price
+
"元"
);
...
...
@@ -793,15 +825,27 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
doc
.
find
(
"#realPrice"
).
val
(
data
.
real_money
);
doc
.
find
(
"#getPrice"
).
text
(((
data
.
price
-
0
)
*
0.7
)
+
"元"
);
doc
.
find
(
"#morePrice"
).
text
(
data
.
money
-
((
data
.
price
-
0
)
*
0.7
)
+
"元"
);
doc
.
find
(
"#person"
).
val
(
data
.
current_agent_name
);
doc
.
find
(
"#belongT"
).
val
(
data
.
store_name
);
$
(
"#person"
).
text
(
data
.
current_agent_name
);
$
(
"#belongT"
).
text
(
data
.
store_name
);
doc
.
find
(
"#payType"
).
val
(
data
.
pay_type
);
doc
.
find
(
"#payNo"
).
val
(
data
.
transfer_name
);
doc
.
find
(
"#running"
).
text
(
data
.
is_open
==
0
?
"是"
:
"否"
);
doc
.
find
(
"#fenhong"
).
val
(
data
.
is_dividend
);
doc
.
find
(
"#comes"
).
text
(
data
.
soucre
);
if
(
data
.
source
==
0
)
{
$
(
"#comes"
).
text
(
'APP'
);
}
else
if
(
data
.
source
==
1
){
$
(
"#comes"
).
text
(
'只能pos机'
);
}
else
{
$
(
"#comes"
).
text
(
'调整'
);
}
doc
.
find
(
"#status"
).
text
(
data
.
soucre_id
);
doc
.
find
(
"#lastTime"
).
val
(
data
.
last_transfer_time
);
if
(
data
.
type
==
91
||
data
.
type
==
92
)
{
$
(
'.xqac'
).
show
();
}
else
{
$
(
'.xqac'
).
hide
();
}
},
/**
* 调整
...
...
@@ -815,7 +859,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
getShopId
:
function
(
id
){
var
that
=
receiv
;
$
.
get
(
'/index/getBeForNum'
,{
'order_id'
:
id
},
function
(
data
){
$
(
'#shop_id_change'
).
text
(
data
.
data
.
house_number
);
//
$('#shop_id_change').text(data.data.house_number);
that
.
yetai
=
data
.
data
.
industry_type
;
},
'json'
)
},
...
...
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