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
e179c9d0
Commit
e179c9d0
authored
Dec 19, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
com
parent
39bc3644
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
getCollection.js
public/resource/js/getCollection.js
+8
-8
No files found.
public/resource/js/getCollection.js
View file @
e179c9d0
...
...
@@ -390,12 +390,12 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
".intoIdArea"
).
html
(
''
);
$
(
'.intoIdArea'
).
hide
();
$
(
'#shop_addr_change'
).
text
(
$
(
obj
).
attr
(
"data-addr"
));
$
(
'#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"
);
that
.
order_id
=
$
(
obj
).
attr
(
"data-id"
)
;
// $('#shop_id_change_shop').text($(obj).attr("data-house_number")?$(obj).attr("data-house_number"):''
);
$
(
'#shop_id_change'
).
text
(
$
(
obj
).
attr
(
"data-house_
id
"
));
that
.
houseNmuber
=
$
(
obj
).
attr
(
"data-house_number"
)
!=
"undefined"
?
$
(
obj
).
attr
(
"data-house_number"
):
''
;
that
.
order_id
=
$
(
obj
).
attr
(
"data-
order_
id"
)
;
that
.
order_no
=
$
(
obj
).
attr
(
"data-order_no"
)
;
that
.
report_id
=
$
(
obj
).
attr
(
"data-
report_
id"
);
that
.
report_id
=
$
(
obj
).
attr
(
"data-id"
);
that
.
agent_id
=
$
(
obj
).
attr
(
"data-agent_id"
);
that
.
agent_name
=
$
(
obj
).
attr
(
"data-agent_name"
);
},
...
...
@@ -403,7 +403,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
//将li里的值 赋给input(分佣方姓名)
reportIdBuild
:
function
(
obj
)
{
//新增客户 input赋值
var
that
=
receiv
;
that
.
report_id_a
=
$
(
obj
).
attr
(
"data-id"
);
//
that.report_id_a = $(obj).attr("data-id");
$
(
"#report_id_change"
).
val
(
$
(
obj
).
attr
(
"data-id"
));
$
(
".reportArea"
).
html
(
''
);
$
(
'.reportArea'
).
hide
();
...
...
@@ -478,8 +478,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
if
(
data
.
code
==
200
)
{
var
user_ul
=
""
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
user_ul
+=
'<li class="intoIdBuild" data-house_number="'
+
item
.
house_
id
+
'"data-order_id="'
+
item
.
order_id
+
'" data-addr="'
+
item
.
house_address
+
'" data-id="'
+
item
.
report_id
+
'" data-agent_id="'
+
item
.
report_agent_id
+
'" data-agent_name="'
+
item
.
report_agent_name
+
'" data-order_no="'
+
item
.
order_no
user_ul
+=
'<li class="intoIdBuild" data-house_number="'
+
item
.
house_
number
+
'"data-order_id="'
+
item
.
order_id
+
'" data-addr="'
+
item
.
house_address
+
'" data-id="'
+
item
.
report_id
+
'" data-
house_id="'
+
item
.
house_id
+
'" data-
agent_id="'
+
item
.
report_agent_id
+
'" data-agent_name="'
+
item
.
report_agent_name
+
'" data-order_no="'
+
item
.
order_no
+
'">'
+
item
.
house_address
+
',商铺ID:+'
+
item
.
house_id
+
',带看ID'
+
item
.
report_id
+
',客户编号'
+
item
.
user_id
+
'</li>'
;
});
$
(
'.intoIdArea'
).
show
();
...
...
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