页面:
<#select id="whouseUuid" name="选择仓库" underline="true">
<option value="">请选择</option>
</#select>
<#select id="regionUuid" name="选择库区" underline="true">
<option value="">请选择</option>
</#select>
<#select id="shelvesUuid" name="选择货架" underline="true">
<option value="">请选择</option>
</#select>
JS:
$(function(){
$.ajax({
type:"POST",
url:Feng.ctxPath + "/tCommonCargoLocation/queryWhun",
dataType: "json",
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
async: false,
cache: false,
success: function (data) {
$.each(data,function(index,item)