From ce85e6d09eaafa4758ffeccacf8867969dca54ac Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期五, 09 六月 2023 15:01:00 +0800
Subject: [PATCH] apk
---
igds-app/js/admin/inout-real.js | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/igds-app/js/admin/inout-real.js b/igds-app/js/admin/inout-real.js
index 1628556..2d41e34 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 {
@@ -89,7 +91,7 @@
$("#outSumNum").html("0");
$("#outCompleteNum").html("0");
$("#perOutComplete").html("0");
- $("#time").html("鏇存柊鏃堕棿锛�" + recordData.time);
+ $("#time").html("鏇存柊鏃堕棿锛�2023-01-01 00:00:00");
html += '<div class="id" style="text-align: center;">鏆傛棤瀹炴椂淇℃伅</div>';
}
$("#listInout").html(html);
--
Gitblit v1.9.3