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
873abb77
Commit
873abb77
authored
Dec 20, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
带看id
parent
3b85ab27
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
getCollection.js
public/resource/js/getCollection.js
+3
-1
No files found.
public/resource/js/getCollection.js
View file @
873abb77
...
@@ -23,6 +23,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -23,6 +23,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
totalCount
:
0
,
totalCount
:
0
,
receipt_number
:
''
,
receipt_number
:
''
,
agent_id_phone
:
''
,
agent_id_phone
:
''
,
houseNumber_new
:
''
,
init
:
function
()
{
init
:
function
()
{
//初始化dot
//初始化dot
$
(
document
.
body
).
append
(
template
);
$
(
document
.
body
).
append
(
template
);
...
@@ -478,7 +479,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -478,7 +479,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
'#shop_addr_change'
).
text
(
$
(
obj
).
attr
(
"data-addr"
));
$
(
'#shop_addr_change'
).
text
(
$
(
obj
).
attr
(
"data-addr"
));
// $('#shop_id_change_shop').text($(obj).attr("data-house_number")?$(obj).attr("data-house_number"):'');
// $('#shop_id_change_shop').text($(obj).attr("data-house_number")?$(obj).attr("data-house_number"):'');
$
(
'#shop_id_change'
).
text
(
$
(
obj
).
attr
(
"data-house_id"
));
$
(
'#shop_id_change'
).
text
(
$
(
obj
).
attr
(
"data-house_id"
));
$
(
'#shop_id_change_shop'
).
val
(
that
.
house
_number
);
$
(
'#shop_id_change_shop'
).
val
(
that
.
house
Number_new
);
that
.
houseNmuber
=
$
(
obj
).
attr
(
"data-house_number"
)
!=
"undefined"
?
$
(
obj
).
attr
(
"data-house_number"
):
''
;
that
.
houseNmuber
=
$
(
obj
).
attr
(
"data-house_number"
)
!=
"undefined"
?
$
(
obj
).
attr
(
"data-house_number"
):
''
;
that
.
order_id
=
$
(
obj
).
attr
(
"data-order_id"
)
;
that
.
order_id
=
$
(
obj
).
attr
(
"data-order_id"
)
;
that
.
order_no
=
$
(
obj
).
attr
(
"data-order_no"
)
;
that
.
order_no
=
$
(
obj
).
attr
(
"data-order_no"
)
;
...
@@ -1140,6 +1141,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1140,6 +1141,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
.
get
(
'/index/getBeForNum'
,{
'order_id'
:
id
},
function
(
data
){
$
.
get
(
'/index/getBeForNum'
,{
'order_id'
:
id
},
function
(
data
){
// $('#shop_id_change').text(data.data.house_number);
// $('#shop_id_change').text(data.data.house_number);
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
that
.
houseNumber_new
=
data
.
data
.
house_number
;
that
.
yetai
=
data
.
data
.
industry_type
;
that
.
yetai
=
data
.
data
.
industry_type
;
}
else
{
}
else
{
alert
(
data
.
msg
);
alert
(
data
.
msg
);
...
...
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