zhengwei il y a 5 ans
Parent
commit
822cd464e8

+ 1 - 1
WebContent/static/web/js/merchant/merchantForm.js

@@ -121,7 +121,7 @@ layui.define(['layer','laydate', 'form'], function (exports) {
     		layer.msg("请输入详细地址");
     		return false;
     	}
-    	layer_show("定位",base+"/web/merchant/merchantAddr.jsp?lng="+$("#longitude").val()+"&lat="+$("#latitude").val()+"&address="+encodeURI(encodeURI($("#address").val())),"800","480");
+    	layer_show("定位",base+"/web/merchant/merchantAddr.jsp?lng="+$("#longitude").val()+"&lat="+$("#latitude").val()+"&address="+encodeURI(encodeURI($("#city").val()+$("#county").val()+$("#address").val())),"800","480");
     	return false;
     });
     //关闭窗口

+ 1 - 0
WebContent/web/merchant/merchantForm.jsp

@@ -77,6 +77,7 @@
 					<input type="hidden" id="city" name="city" value="上饶市"/>
 					<select id="county" name="county" lay-verify="required">
 				        <option value="">请选择</option>
+						<option value="铅山县">铅山县</option>
 				        <option value="信州区">信州区</option>
 				        <option value="上饶县">上饶县</option>
 				        <option value="广丰区">广丰区</option>