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 |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/jcdm-ui/src/views/main/om/productionOrde/index.vue b/jcdm-ui/src/views/main/om/productionOrde/index.vue
index a8f7e88..8ab2174 100644
--- a/jcdm-ui/src/views/main/om/productionOrde/index.vue
+++ b/jcdm-ui/src/views/main/om/productionOrde/index.vue
@@ -476,14 +476,14 @@
   methods: {
     onlineWorkReporting(row){
       const id = row.id || this.ids
-      const stationCode = "OP230"
+      const stationCode = "POP230"
       workReportingByStation(id,stationCode).then(response => {
         this.getList()
       });
     },
     offlineWorkReporting(row){
       const id = row.id || this.ids
-      const stationCode = "OP500"
+      const stationCode = "POP430"
       workReportingByStation(id,stationCode).then(response => {
         this.getList()
       });
@@ -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