From 397dbf892f842c834af17a91c788c94fd96003f8 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期一, 29 五月 2023 19:13:31 +0800 Subject: [PATCH] 问题修改 --- igds-app/js/admin/inout-real.js | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/igds-app/js/admin/inout-real.js b/igds-app/js/admin/inout-real.js index 1628556..a041212 100644 --- a/igds-app/js/admin/inout-real.js +++ b/igds-app/js/admin/inout-real.js @@ -37,6 +37,7 @@ data: JSON.stringify(data), success: function(result) { if (result.code == "0000") { + console.log(JSON.stringify(result)) recordData = result.data; renderData(); } else { @@ -53,6 +54,7 @@ //娓叉煋椤甸潰 function renderData() { var html = ''; + console.log(JSON.stringify(recordData)) if (recordData) { $("#inSumNum").html(recordData.inSumNum); $("#inCompleteNum").html(recordData.inCompleteNum); @@ -69,14 +71,14 @@ '</span></div>'; html += '<ul class="g-listb2">'; html += '<li><div class="con" style="background-image: url(images/icons/g-i24.png);">'; - html += '杞︾墝鍙�:<b>' + (item.plateNum == null ? "" : item.plateNum) + '</b></div></li>'; + html += '杞︾墝鍙�:<b>' + (item.plateNum == null ? "-" : item.plateNum) + '</b></div></li>'; html += '<li><div class="con" style="background-image: url(images/icons/g-i25.png);">'; - html += '浠撳簱鍚嶇О:<b>' + (item.depotId == null ? "" : item.depotId) + '</b></div></li>'; + html += '浠撳簱鍚嶇О:<b>' + (item.depotName == null ? "-" : item.depotName) + '</b></div></li>'; html += '<li><div class="con" style="background-image: url(images/icons/g-i32.png);">'; - html += '绮鍝佺:<b>' + (item.foodVariety == null ? "" : item.foodVariety) + '</b></div></li>'; + html += '绮鍝佺:<b>' + (item.foodVarietyName == null ? "-" : item.foodVarietyName) + '</b></div></li>'; html += '<li><div class="con" style="background-image: url(images/icons/g-i24.png);">'; - html += '缁撶畻閲嶉噺:<span><em>' + (item.recordWeight == null ? "" : item.recordWeight) + - '</em>KG</span></div></li>'; + html += '褰撳墠娴佺▼:<span>' + (item.progressName == null ? "-" : item.progressName) + + '</span></div></li>'; html += '</ul></div>'; }) } else { -- Gitblit v1.9.3