YYC
2025-05-15 2df906a447195f9786dd468512ea895d6cc18532
igds-app/js/admin/inout-real.js
@@ -16,7 +16,7 @@
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;
@@ -69,14 +69,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 +89,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);