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
5b565677
Commit
5b565677
authored
Dec 19, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8276e7d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
getCollection.js
public/resource/js/getCollection.js
+10
-5
No files found.
public/resource/js/getCollection.js
View file @
5b565677
...
@@ -361,15 +361,18 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -361,15 +361,18 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
//将li里的值 赋给input(分佣方姓名)
//将li里的值 赋给input(分佣方姓名)
intoIdBuild
:
function
(
obj
)
{
//新增客户 input赋值
intoIdBuild
:
function
(
obj
)
{
//新增客户 input赋值
var
that
=
receiv
;
var
that
=
receiv
;
that
.
intoId_a
=
$
(
obj
).
attr
(
"data-id"
);
$
(
"#into_id_change"
).
val
(
$
(
obj
).
attr
(
"data-id"
));
$
(
"#into_id_change"
).
val
(
$
(
obj
).
attr
(
"data-id"
));
$
(
".intoIdArea"
).
html
(
''
);
$
(
".intoIdArea"
).
html
(
''
);
$
(
'.intoIdArea'
).
hide
();
$
(
'.intoIdArea'
).
hide
();
$
(
'#shop_addr_change'
).
text
(
$
(
obj
).
attr
(
"data-addr"
));
$
(
'#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_shop'
).
text
(
$
(
obj
).
attr
(
"data-house_number"
));
$
(
'#shop_id_change'
).
text
(
$
(
obj
).
attr
(
"data-house_number"
));
$
(
'#shop_id_change'
).
text
(
$
(
obj
).
attr
(
"data-house_number"
));
that
.
houseNmuber
=
$
(
obj
).
attr
(
"data-house_number"
);
that
.
houseNmuber
=
$
(
obj
).
attr
(
"data-house_number"
);
that
.
order_id
=
$
(
obj
).
attr
(
"data-id"
)
;
that
.
order_no
=
$
(
obj
).
attr
(
"data-order_no"
)
;
that
.
report_id
=
$
(
obj
).
attr
(
"data-report_id"
);
that
.
agent_id
=
$
(
obj
).
attr
(
"data-agent_id"
);
that
.
agent_name
=
$
(
obj
).
attr
(
"data-agent_name"
);
},
},
//将li里的值 赋给input(分佣方姓名)
//将li里的值 赋给input(分佣方姓名)
...
@@ -380,7 +383,6 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -380,7 +383,6 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
".reportArea"
).
html
(
''
);
$
(
".reportArea"
).
html
(
''
);
$
(
'.reportArea'
).
hide
();
$
(
'.reportArea'
).
hide
();
$
(
'#shop_addr_change'
).
text
(
$
(
obj
).
attr
(
"data-addr"
));
$
(
'#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_shop'
).
text
(
$
(
obj
).
attr
(
"data-house_number"
));
$
(
'#shop_id_change'
).
text
(
$
(
obj
).
attr
(
"data-house_id"
));
$
(
'#shop_id_change'
).
text
(
$
(
obj
).
attr
(
"data-house_id"
));
that
.
houseNmuber
=
$
(
obj
).
attr
(
"data-house_number"
);
that
.
houseNmuber
=
$
(
obj
).
attr
(
"data-house_number"
);
...
@@ -391,6 +393,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -391,6 +393,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
that
.
order_no
=
$
(
obj
).
attr
(
"data-order_no"
)
;
that
.
order_no
=
$
(
obj
).
attr
(
"data-order_no"
)
;
that
.
report_id
=
$
(
obj
).
attr
(
"data-report_id"
);
that
.
report_id
=
$
(
obj
).
attr
(
"data-report_id"
);
that
.
agent_id
=
$
(
obj
).
attr
(
"data-agent_id"
);
that
.
agent_id
=
$
(
obj
).
attr
(
"data-agent_id"
);
that
.
agent_name
=
$
(
obj
).
attr
(
"data-agent_name"
);
},
},
search_phone
:
function
(){
search_phone
:
function
(){
...
@@ -450,7 +453,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -450,7 +453,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
var
user_ul
=
""
;
var
user_ul
=
""
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
$
.
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
.
id
+
'">'
+
item
.
house_address
+
',商铺ID:+'
+
item
.
house_id
+
',带看ID'
+
item
.
id
+
'</li>'
;
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
.
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
.
id
+
'</li>'
;
});
});
$
(
'.intoIdArea'
).
show
();
$
(
'.intoIdArea'
).
show
();
$
(
".intoIdArea"
).
html
(
user_ul
);
$
(
".intoIdArea"
).
html
(
user_ul
);
...
@@ -582,7 +587,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -582,7 +587,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
'order_id'
:
that
.
order_id
,
'order_id'
:
that
.
order_id
,
'order_no'
:
that
.
order_no
,
'order_no'
:
that
.
order_no
,
'agent_id'
:
that
.
agent_id
,
'agent_id'
:
that
.
agent_id
,
'report_id'
:
that
.
report_id
_a
?
that
.
report_id_a
:
that
.
report_id
,
'report_id'
:
that
.
report_id
,
'industry_type'
:
that
.
yetai
,
'industry_type'
:
that
.
yetai
,
'income_time'
:
that
.
income_time
'income_time'
:
that
.
income_time
};
};
...
...
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