Commit b1a1af18 authored by agping's avatar agping

新增门店 修改

parent 5c134039
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
<option value="20人以上">20人以上</option> <option value="20人以上">20人以上</option>
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group hide-store">
<label class="col-sm-3 control-label">店长(选填):</label> <label class="col-sm-3 control-label">店长(选填):</label>
<input type="text" value="" name="store-name" class="form-control btn6" placeholder="请输入店长" id="set_father_id3"> <input type="text" value="" name="store-name" class="form-control btn6" placeholder="请输入店长" id="set_father_id3">
<ul class="user-ul"> <ul class="user-ul">
......
...@@ -63,6 +63,8 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin ...@@ -63,6 +63,8 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
$ (document).delegate (".edit", "click", function () {//点击编辑 $ (document).delegate (".edit", "click", function () {//点击编辑
store.house_id = $ (this).attr ("data-id"); store.house_id = $ (this).attr ("data-id");
$("#modal-title").html("编辑门店信息"); $("#modal-title").html("编辑门店信息");
$(".hide-store").show();
store.Edit(); store.Edit();
}); });
...@@ -92,6 +94,7 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin ...@@ -92,6 +94,7 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
$ (document).delegate (".add", "click", function () {//list2消失 $ (document).delegate (".add", "click", function () {//list2消失
document.getElementById('form_id').reset(); document.getElementById('form_id').reset();
$("#modal-title").html("新增门店"); $("#modal-title").html("新增门店");
$('.hide-store').hide();
$('#ss-store').val(''); $('#ss-store').val('');
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment