From e40973680e8842a0797ca2e1cd45ec5e6bf0f3d8 Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期三, 18 十月 2023 13:47:44 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/views/code/code.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue
index 8fe7297..f26f0cc 100644
--- a/Source/UBCS-WEB/src/views/code/code.vue
+++ b/Source/UBCS-WEB/src/views/code/code.vue
@@ -3382,10 +3382,14 @@
     },
     // 鏈�澶ф祦姘村彿
     maxSerialNum() {
-      if (this.selectionList.length === 0) {
+      if (this.selectionList.length <= 0) {
         this.$message.warning("璇烽�夋嫨涓�鏉$紪鐮佽鍒欙紒");
         return;
       }
+      if(this.selectionList.length> 1){
+        this.$message.warning("鍙兘閫夋嫨涓�鏉$紪鐮佽鍒欙紒");
+        return;
+      }
       this.maxSerial.visible = true;
       this.maxSerial.ruleOid = this.selectionList[0]["oid"];
     },

--
Gitblit v1.9.3