From d8db1698c125618c1b5f62b009204ddc5d4eed5a Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期三, 19 三月 2025 20:34:08 +0800
Subject: [PATCH] 成品代码更新....

---
 代码管理/WMS/WIDESEA_WMSClient/src/extension/basic/materielCodeInfo.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/materielCodeInfo.js" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/materielCodeInfo.js"
index 116fd46..c111053 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/materielCodeInfo.js"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/materielCodeInfo.js"
@@ -162,7 +162,11 @@
         let year = date.getFullYear();
         let month = String(date.getMonth() + 1).padStart(2, "0");
         let day = String(date.getDate()).padStart(2, "0");
-        this.editFormFields.lotNo = year + month + day;
+        let hour= String(date.getHours()).padStart(2, "0");
+        let minute= String(date.getMinutes()).padStart(2, "0");
+        let second= String(date.getSeconds()).padStart(2, "0");
+        //灏唝ear鎴彇鍚庝袱浣�
+        this.editFormFields.lotNo = (year.toString().substr(-2)) + month+day + hour + minute+second;
         this.editFormFields.productionDate = year + "-" + month + "-" + day;
         this.editFormFields.effectiveDate = year + 2 + "-" + month + "-" + day;
       }

--
Gitblit v1.9.3