Commit e2f9e4ac authored by xinyuandu's avatar xinyuandu

修改验证

parent a5b12269
...@@ -384,14 +384,14 @@ ...@@ -384,14 +384,14 @@
<li class="list-group-item"> <li class="list-group-item">
<div class="form-group"> <div class="form-group">
<label for="">对内地址</label> <label for="">对内地址</label>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg" id="position_btn">选择地址定位</button> <button type="button" class="btn btn-primary area-choose-btn-modal" data-toggle="modal" data-target=".bs-example-modal-lg" id="position_btn">选择地址定位</button>
<!--<select class="form-control" id="province_internal" name="province_internal"></select> <!--<select class="form-control" id="province_internal" name="province_internal"></select>
<select class="form-control" id="city_internal" name="city_internal"></select> <select class="form-control" id="city_internal" name="city_internal"></select>
<select class="form-control" id="disc_internal" name="disc_internal"></select>--> <select class="form-control" id="disc_internal" name="disc_internal"></select>-->
<input type="text" class="form-control input-100-width address-relate" data-toggle="modal" data-target=".bs-example-modal-lg" title="通过地址定位获取" readonly="readonly" id="province_internal" /> <input type="text" class="form-control input-100-width address-relate area-choose-btn-modal" data-toggle="modal" data-target=".bs-example-modal-lg" title="通过地址定位获取" readonly="readonly" id="province_internal" />
<input type="text" class="form-control input-100-width address-relate" data-toggle="modal" data-target=".bs-example-modal-lg" title="通过地址定位获取" readonly="readonly" id="city_internal" /> <input type="text" class="form-control input-100-width address-relate area-choose-btn-modal" data-toggle="modal" data-target=".bs-example-modal-lg" title="通过地址定位获取" readonly="readonly" id="city_internal" />
<input type="text" class="form-control input-100-width address-relate" data-toggle="modal" data-target=".bs-example-modal-lg" title="通过地址定位获取" readonly="readonly" id="disc_internal" /> <input type="text" class="form-control input-100-width address-relate area-choose-btn-modal" data-toggle="modal" data-target=".bs-example-modal-lg" title="通过地址定位获取" readonly="readonly" id="disc_internal" />
<input type="text" class="form-control" id="address_internal" placeholder="请输入详细地址" data-alert="请填写对内详细地址!"> <input type="text" class="form-control area-choose-btn-modal" id="address_internal" placeholder="请输入详细地址" data-alert="请填写对内详细地址!">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="longitude">经度</label> <label for="longitude">经度</label>
......
...@@ -406,7 +406,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -406,7 +406,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
}; };
}); });
$('#disc_internal').click(function(){ $('.area-choose-btn-modal').click(function(){
user.initShopRong = true; user.initShopRong = true;
}); });
...@@ -447,6 +447,8 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -447,6 +447,8 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
} }
}); });
} }
} else {
user.initShopRong = false ;
} }
}); });
......
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