| | |
| | | success: function(result) { |
| | | if (result.code == "0000") { |
| | | depotList = result.data; |
| | | console.log(JSON.stringify(depotList)) |
| | | renderDepotList(); |
| | | } else { |
| | | mui.alert(result.msg, '提示', ["确定"], function() {}, "div"); |
| | |
| | | if(depotList && depotList.length > 0){ |
| | | $.each(depotList, function(index, item) { |
| | | html += '<li><div class="con">'; |
| | | html += '<div class="tit">仓库名称:<span>' + item.depotName + '</span></div>'; |
| | | html += '<div class="tit">仓库名称:<span>' + (item.name == null?"--":item.name) + '</span></div>'; |
| | | html += '<div class="txt">'; |
| | | html += '<div class="box"><div class="group type"><div class="desc">'; |
| | | html += (item.depotTypeName == null?"--":item.depotTypeName) + '</div><div class="ort">仓库类型</div></div></div>'; |