From 075d19c410180b7cee4068ecc75ddcc09c8a49d8 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期二, 13 一月 2026 20:10:50 +0800
Subject: [PATCH] no message
---
src/main/webapp/static/js/common.js | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js
index 3b135cb..c0f9841 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,7 +276,7 @@
return num.toFixed(2);
}
}
- , {field: 'zpallet', align: 'center', title: '鎵樼洏鏉$爜', hide: false}
+ , {field: 'zpallet', align: 'center', title: 'SN', hide: false}
, {field: 'specs', align: 'center', title: '瑙勬牸', hide: false}
, {
field: 'safeQty', align: 'center', title: '褰掗浂闃�鍊�', hide: true, templet: function (d) {
@@ -298,14 +298,14 @@
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}
, {field: 'units', align: 'center', title: '鍗曚綅閲�', hide: true}
- , {field: 'barcode', align: 'center', title: 'SN', hide: false}
+ , {field: 'barcode', align: 'center', title: 'SN', hide: true}
, {field: 'origin', align: 'center', title: '浜у湴', hide: true}
, {field: 'manu', align: 'center', title: '鍘傚', hide: true}
, {field: 'manuDate', align: 'center', title: '鐢熶骇鏃ユ湡', hide: true}
--
Gitblit v1.9.1