Commit 729d2f89 authored by agping's avatar agping

门店列表修改

parent 58646d26
......@@ -91,6 +91,8 @@ 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("新增门店");
});
/************************************************百度地址定位相关*************************************************************/
......@@ -242,7 +244,9 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
},
Submit_edit:function(){//提交编辑的信息
var par = {};
par.id = store.house_id;//门店id
if($("#modal-title").html()=='编辑门店信息'){
par.id = store.house_id;//门店id
}
par.agents_id = store.agents_id;//经纪人id
par.province = $("#province_internal").val();//省
par.city = $("#city_internal").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