Commit 97a9c0ac authored by agping's avatar agping

修改

parent 0578e00d
...@@ -60,7 +60,6 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin ...@@ -60,7 +60,6 @@ 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("编辑门店信息");
store.Edit(); store.Edit();
...@@ -92,7 +91,7 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin ...@@ -92,7 +91,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("新增门店");
$('#ss-store').val('0'); $('#ss-store').val('');
}); });
/************************************************百度地址定位相关*************************************************************/ /************************************************百度地址定位相关*************************************************************/
...@@ -377,6 +376,8 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin ...@@ -377,6 +376,8 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
$("#ss-store").html(_html); $("#ss-store").html(_html);
}else if(obj.type == '1'){ }else if(obj.type == '1'){
$("#qx-store").append(_html); $("#qx-store").append(_html);
$("#qx-store-new").append(_html);
}else{} }else{}
fn && fn(); fn && fn();
......
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