From c7ba1ce89a2a552eee9b5edadc9a302d8aafb05b Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期二, 13 六月 2023 15:15:16 +0800
Subject: [PATCH] 细节修改

---
 igds-app/js/admin/basic-depot.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/igds-app/js/admin/basic-depot.js b/igds-app/js/admin/basic-depot.js
index e789dc4..374078d 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,7 +51,7 @@
 	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>';

--
Gitblit v1.9.3