| | |
| | | function init() { |
| | | var user = JSON.parse(localStorage.getItem('user')); |
| | | var selectDeptId = JSON.parse(localStorage.getItem('selectDeptId')); |
| | | url = user.url + "/api-phone/v35/gateway"; |
| | | url = user.url + "/api/phone/v35/gateway"; |
| | | data.tokenAuth = user.tokenAuth; |
| | | data.data.deptId = selectDeptId; |
| | | getData(); |
| | |
| | | if(depotList && depotList.length > 0){ |
| | | $.each(depotList, function(index, item) { |
| | | html += '<li><div class="con">'; |
| | | html += '<div class="tit">仓库名称:<span>' + (item.name == null?"--":item.name) + '</span></div>'; |
| | | html += '<div class="tit">仓库名称:<span>' + (item.depotName == null?"--":item.depotName) + '</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>'; |