From 1bd6821c8ccc6861c74505bab0e8c52fe38f69f7 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期四, 15 六月 2023 19:36:57 +0800 Subject: [PATCH] 出入库调整 --- igds-app/js/admin/basic-depot.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/igds-app/js/admin/basic-depot.js b/igds-app/js/admin/basic-depot.js index 1ca5396..989f47c 100644 --- a/igds-app/js/admin/basic-depot.js +++ b/igds-app/js/admin/basic-depot.js @@ -33,6 +33,7 @@ success: function(result) { if (result.code == "0000") { depotList = result.data; + console.log(JSON.stringify(depotList)) renderDepotList(); } else { mui.alert(result.msg, '鎻愮ず', ["纭畾"], function() {}, "div"); @@ -50,14 +51,14 @@ if(depotList && depotList.length > 0){ $.each(depotList, function(index, item) { html += '<li><div class="con">'; - html += '<div class="tit">浠撳簱鍚嶇О锛�<span>' + (item.depotName == null?"--":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>'; html += '<div class="box"><div class="group state"><div class="desc">'; html += (item.depotStatusName == null?"--":item.depotStatusName) + '</div><div class="ort">浠撳簱鐘舵��</div></div></div>'; html += '<div class="box"><div class="group weight"><div class="desc">'; - html += (item.storageReal == null?"--":item.storageReal) + '<span class="w"> KG</span></div><div class="ort">瀹為檯鍌ㄩ噺</div></div></div></div>'; + html += (item.storageReal == null?"--":item.storageReal) + '</div><div class="ort">瀹為檯鍌ㄩ噺(KG)</div></div></div></div>'; html += '<div class="edit"><div class="sel"><div class="name">绮鍝佺</div>'; html += '<div class="cont">' + (item.foodVarietyName == null?"--":item.foodVarietyName) + '</div></div>'; html += '<div class="peo"><div class="name">淇濈鍛�</div>'; @@ -72,7 +73,7 @@ html += '<div class="box"><div class="group state"><div class="desc">'; html += '--</div><div class="ort">浠撳簱鐘舵��</div></div></div>'; html += '<div class="box"><div class="group weight"><div class="desc">'; - html += '--<span class="w"> KG</span></div><div class="ort">瀹為檯鍌ㄩ噺</div></div></div></div>'; + html += '--</div><div class="ort">瀹為檯鍌ㄩ噺(KG)</div></div></div></div>'; html += '<div class="edit"><div class="sel"><div class="name">绮鍝佺</div>'; html += '<div class="cont">--</div></div>'; html += '<div class="peo"><div class="name">淇濈鍛�</div>'; -- Gitblit v1.9.3