From 45387d35f22ad15d6920eaa5c8fc27c8296f0a03 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 12 十月 2023 09:08:22 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/shuttle.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/shuttle.html b/src/main/webapp/views/shuttle.html
index 42de2ae..e038a00 100644
--- a/src/main/webapp/views/shuttle.html
+++ b/src/main/webapp/views/shuttle.html
@@ -354,7 +354,7 @@
                         setVal(tr.children("td").eq(7), table[i-1].chargeCycleTimes);
                         setVal(tr.children("td").eq(8), table[i-1].surplusQuantity);
                         setVal(tr.children("td").eq(9), table[i-1].countQuantity);
-                        setVal(tr.children("td").eq(10), table[i-1].statusSum.mileage);
+                        setVal(tr.children("td").eq(10), table[i-1].statusSum ? table[i - 1].statusSum.mileage : '');
                         setVal(tr.children("td").eq(11), table[i-1].pakMk$);
                         setVal(tr.children("td").eq(12), table[i-1].currentLocNo);
                         setVal(tr.children("td").eq(13), table[i-1].token);

--
Gitblit v1.9.1