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: