Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac-quanmin
Overview
Overview
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
HTML5-李恒逸
sunac-quanmin
Commits
e557af1d
Commit
e557af1d
authored
Jun 21, 2017
by
HTML5-侯张振
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分销商模糊搜索 修改
parent
f2480631
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
index_info.php
html/application/views/admin/report/index_info.php
+10
-4
No files found.
html/application/views/admin/report/index_info.php
View file @
e557af1d
...
...
@@ -117,6 +117,10 @@
left
:
734px
;
top
:
55px
;
width
:
135px
;
display
:
none
;
overflow-x
:
hidden
;
overflow-y
:
initial
;
max-height
:
200px
!important
;
}
#channel_list
li
{
width
:
135px
;
...
...
@@ -192,7 +196,7 @@
<input
type=
"text"
class=
"form-control input-inline input-small"
name=
"customer_mobile"
value=
"
<?php
echo
$con_arr
[
'customer_mobile'
];
?>
"
>
分销商名称:
<input
id=
'parent_name'
name=
"company_name"
type=
"text"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
isset
(
$managers
[
'manager_name'
])
?
$managers
[
'manager_name'
]
:
''
?>
"
/>
<input
id=
'parent_name'
name=
"company_name"
type=
"text"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
isset
(
$managers
[
'manager_name'
])
?
$managers
[
'manager_name'
]
:
''
?>
"
autocomplete=
"off"
/>
<input
id=
'parent_id'
name=
'parent_id'
type=
'hidden'
value=
"
<?php
echo
isset
(
$managers
[
'id'
])
?
$managers
[
'id'
]
:
''
?>
"
/>
<ul
class=
"col-md-4"
id=
"channel_list"
style=
"display:none;"
></ul>
<!-- <select type="text" class="form-control input-inline input-small" name="company_name" value="
<?php
echo
$con_arr
[
'company_name'
];
?>
">
...
...
@@ -377,7 +381,7 @@
//分销商筛选
$
(
'#parent_name'
).
on
(
'keyup click'
,
function
(){
$
(
'#channel_list'
).
show
();
var
arr
=
new
Array
();
<?php
...
...
@@ -390,7 +394,8 @@
var
con
=
$
(
this
).
val
();
var
i
;
var
str
=
''
;
var
str
=
''
;
$
(
'#channel_list'
).
show
();
//制作分销商下拉菜单
for
(
i
=
0
;
i
<
arr
.
length
;
i
++
){
if
(
arr
[
i
][
'manager_name'
].
indexOf
(
con
)
!=
-
1
&&
con
!=
''
){
...
...
@@ -399,13 +404,14 @@
}
$
(
'#channel_list li'
).
unbind
();
//点击选择分销商
$
(
'#channel_list'
).
on
(
'click'
,
'li'
,
function
(){
$
(
'#parent_id'
).
attr
(
"value"
,
$
(
this
).
val
());
$
(
'#parent_name'
).
attr
(
"value"
,
$
(
this
).
text
());
$
(
'#channel_list'
).
hide
();
});
$
(
'#channel_list'
).
html
(
str
);
$
(
'#channel_list'
).
html
(
str
);
});
...
...
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