From 29b8f5293121eb9b23a570c9f0fd185ff9ebf594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Mon, 10 Nov 2025 12:50:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E6=AC=A1=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/material/com_poReceiving_add_or_update.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/modules/material/com_poReceiving_add_or_update.vue b/src/views/modules/material/com_poReceiving_add_or_update.vue index dc16180..f8e28fc 100644 --- a/src/views/modules/material/com_poReceiving_add_or_update.vue +++ b/src/views/modules/material/com_poReceiving_add_or_update.vue @@ -761,6 +761,7 @@ this.$nextTick(() => { this.$refs.scan.focus();}) }, scanSaveCach(){ + let str=this.scanSerial; let arr = str.split(",") if(arr.length<7){ @@ -776,13 +777,13 @@ let year = yearPrefix + batchNo[0]; // 解析年份 let month = ""; // 解析月份 switch (batchNo[1]) { - case "x": + case "0": month = "10"; break; - case "y": + case "X": month = "11"; break; - case "z": + case "Y": month = "12"; break; default: