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
b1a1af18
Commit
b1a1af18
authored
Nov 28, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增门店 修改
parent
5c134039
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
index.html
application/index/view/store/index.html
+1
-1
storeList.js
public/resource/js/storeList.js
+3
-0
No files found.
application/index/view/store/index.html
View file @
b1a1af18
...
...
@@ -285,7 +285,7 @@
<option
value=
"20人以上"
>
20人以上
</option>
</select>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group
hide-store
"
>
<label
class=
"col-sm-3 control-label"
>
店长(选填):
</label>
<input
type=
"text"
value=
""
name=
"store-name"
class=
"form-control btn6"
placeholder=
"请输入店长"
id=
"set_father_id3"
>
<ul
class=
"user-ul"
>
...
...
public/resource/js/storeList.js
View file @
b1a1af18
...
...
@@ -63,6 +63,8 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击编辑
store
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
$
(
"#modal-title"
).
html
(
"编辑门店信息"
);
$
(
".hide-store"
).
show
();
store
.
Edit
();
});
...
...
@@ -92,6 +94,7 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
$
(
document
).
delegate
(
".add"
,
"click"
,
function
()
{
//list2消失
document
.
getElementById
(
'form_id'
).
reset
();
$
(
"#modal-title"
).
html
(
"新增门店"
);
$
(
'.hide-store'
).
hide
();
$
(
'#ss-store'
).
val
(
''
);
});
...
...
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