From 48c7ffb6e7137b4b62bfdc63be8aa72d085ba40e Mon Sep 17 00:00:00 2001
From: admin <15939171744@163.com>
Date: 星期三, 19 二月 2025 11:56:04 +0800
Subject: [PATCH] -换型bug修改

---
 jcdm-ui/src/views/main/om/productionOrde/index.vue |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/jcdm-ui/src/views/main/om/productionOrde/index.vue b/jcdm-ui/src/views/main/om/productionOrde/index.vue
index 618cb5d..8ab2174 100644
--- a/jcdm-ui/src/views/main/om/productionOrde/index.vue
+++ b/jcdm-ui/src/views/main/om/productionOrde/index.vue
@@ -719,22 +719,22 @@
       this.onlineSingle = selection.length!==1
       this.offlineSingle = selection.length!==1
 
-      if(selection.length === 0){
-        this.onlineSingle = true
-        this.offlineSingle = true
-      }
-      if(selection.length === 1){
-        if(selection[0].onlineCompletionMark === '2'){
-          this.onlineSingle = false
-        }else {
-          this.onlineSingle = true
-        }
-        if(selection[0].sfResult === '2'){
-          this.offlineSingle = false
-        }else {
-          this.offlineSingle = true
-        }
-      }
+      // if(selection.length === 0){
+      //   this.onlineSingle = true
+      //   this.offlineSingle = true
+      // }
+      // if(selection.length === 1){
+      //   if(selection[0].onlineCompletionMark === '2'){
+      //     this.onlineSingle = false
+      //   }else {
+      //     this.onlineSingle = true
+      //   }
+      //   if(selection[0].sfResult === '2'){
+      //     this.offlineSingle = false
+      //   }else {
+      //     this.offlineSingle = true
+      //   }
+      // }
     },
     /** 鏂板鎸夐挳鎿嶄綔 */
     handleAdd() {

--
Gitblit v1.9.3