From 57233e23e69d04672f9721def4d00c2905922d25 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期四, 12 二月 2026 14:40:07 +0800
Subject: [PATCH] APP

---
 igdss-app/js/admin/grain-history.js |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/igdss-app/js/admin/grain-history.js b/igdss-app/js/admin/grain-history.js
index 475606d..3d1f8d7 100644
--- a/igdss-app/js/admin/grain-history.js
+++ b/igdss-app/js/admin/grain-history.js
@@ -6,9 +6,9 @@
 var dateTime; //鏃ユ湡锛歽yyy-MM
 //鏌ヨ绮儏鍘嗗彶鏁版嵁鍙傛暟
 var data = {
-	"interfaceId": "5302",
-	"sign": "10302",
-	"outId": "10302",
+	"interfaceId": "5204",
+	"sign": "105204",
+	"outId": "105204",
 	"reqDateTime": new Date(),
 	"tokenAuth": "",
 	"data": {
@@ -19,9 +19,9 @@
 };
 //鏌ヨ浠撳簱鍒楄〃鍙傛暟
 var data0 = {
-	"interfaceId": "5102",
-	"sign": "10102",
-	"outId": "10102",
+	"interfaceId": "5201",
+	"sign": "10201",
+	"outId": "10201",
 	"reqDateTime": new Date(),
 	"tokenAuth": "",
 	"data": {
@@ -33,7 +33,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/v1/gateway";
 	data.tokenAuth = user.tokenAuth;
 	data.data.deptId = selectDeptId;
 	data0.tokenAuth = user.tokenAuth;
@@ -62,7 +62,7 @@
 	}
 	data.data.depotId = depotId;
 	data.data.dateTime = dateTime;
-
+	
 	//璇锋眰
 	mui.ajax(url, {
 		type: "POST",
@@ -73,9 +73,11 @@
 		success: function(result) {
 			if (result.code == "0000") {
 				historyList = result.data;
+				console.log(JSON.stringify("000"))
 				renderData();
 			} else {
 				renderData();
+				console.log(JSON.stringify("001"))
 				mui.toast(result.mag);
 			}
 		},
@@ -90,6 +92,7 @@
 	var html = '';
 	if (historyList != null && historyList.length > 0) {
 		$.each(historyList, function(index, item) {
+			console.log(JSON.stringify(item))
 			html += '<li><div class="con"><div class="tit">妫�娴嬫椂闂�: ' + item.receiveDate;
 			html += '<a id="' + index + '" class="more"></a></div><div class="inner">';
 			html += '<div class="info">绮娓╁害</div><div class="txt">';

--
Gitblit v1.9.3