From f8158a3dee678624cd9044bcdc9a8d10c3a8f4ae Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期四, 15 一月 2026 13:02:49 +0800
Subject: [PATCH] no message

---
 src/main/webapp/static/js/common.js |   36 +++++++++++++++++++++++-------------
 1 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js
index b81003f..f8faea8 100644
--- a/src/main/webapp/static/js/common.js
+++ b/src/main/webapp/static/js/common.js
@@ -186,19 +186,9 @@
     // ,{field: 'uuid', align: 'center',title: '缂栧彿'}
     , {field: 'maktx', align: 'center', title: '鍟嗗搧鍚嶇О锛堝搧鍚嶏級', width: 200}
     , {field: 'specs', align: 'center', title: '瑙勬牸'}
-    , {
-        field: 'safeQty', align: 'center', title: '褰掗浂闃�鍊�', templet: function (d) {
-            var raw = d.safeQty;
-            if (raw === null || raw === undefined) return '';
-            if (typeof raw === 'string' && raw.trim() === '') return '';
-            var num = Number(raw);
-            if (!isFinite(num)) return '';
-            return num.toFixed(2);
-        }
-    }
-    , {field: 'model', align: 'center', title: '浠g爜', hide: true}
+    , {field: 'model', align: 'center', title: '鍨嬪彿', hide: false}
     , {field: 'color', align: 'center', title: '棰滆壊', hide: true}
-    , {field: 'brand', align: 'center', title: '鍝佺墝', hide: true}
+    , {field: 'brand', align: 'center', title: '鍝佺墝', hide: false}
     , {field: 'upQty', align: 'center', title: '缁勬墭涓婇檺', hide: true}
     , {field: 'unit', align: 'center', title: '鍗曚綅', hide: false}
     , {field: 'price', align: 'center', title: '鍗曚环', hide: true}
@@ -214,6 +204,16 @@
     , {
         field: 'volume', align: 'center', title: '姣忓叕鏂ら暱搴�', templet: function (d) {
             var raw = d.volume;
+            if (raw === null || raw === undefined) return '';
+            if (typeof raw === 'string' && raw.trim() === '') return '';
+            var num = Number(raw);
+            if (!isFinite(num)) return '';
+            return num.toFixed(2);
+        }
+    }
+    , {
+        field: 'safeQty', align: 'center', title: '褰掗浂闃�鍊�', templet: function (d) {
+            var raw = d.safeQty;
             if (raw === null || raw === undefined) return '';
             if (typeof raw === 'string' && raw.trim() === '') return '';
             var num = Number(raw);
@@ -276,6 +276,16 @@
             return num.toFixed(2);
         }
     }
+    , {
+        field: 'realQty', align: 'center', title: '瀹為檯鏁伴噺', hide: false, templet: function (d) {
+            var raw = d.realQty;
+            if (raw === null || raw === undefined) return '';
+            if (typeof raw === 'string' && raw.trim() === '') return '';
+            var num = Number(raw);
+            if (!isFinite(num)) return '';
+            return num.toFixed(2);
+        }
+    }
     , {field: 'zpallet', align: 'center', title: 'SN', hide: false}
     , {field: 'specs', align: 'center', title: '瑙勬牸', hide: false}
     , {
@@ -298,9 +308,9 @@
             return num.toFixed(2);
         }
     }
-    , {field: 'model', align: 'center', title: '浠g爜', hide: true}
     , {field: 'color', align: 'center', title: '棰滆壊', hide: true}
     , {field: 'brand', align: 'center', title: '鍝佺墝', hide: false}
+    , {field: 'model', align: 'center', title: '鍨嬪彿', hide: false}
     , {field: 'unit', align: 'center', title: '鍗曚綅', hide: false}
     , {field: 'price', align: 'center', title: '鍗曚环', hide: true}
     , {field: 'sku', align: 'center', title: 'sku', hide: true}

--
Gitblit v1.9.1