From b66eab74b627b0e3746f5cb4f6a7d7cb142e9a6d Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期四, 01 八月 2024 10:36:42 +0800
Subject: [PATCH] OEE综合效率分析页面删除加工数量和标准加工时间字段

---
 src/views/eam/Daily3MaintenanceOrderList.vue |   33 +++++++++++++++++++++++++++++----
 1 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/src/views/eam/Daily3MaintenanceOrderList.vue b/src/views/eam/Daily3MaintenanceOrderList.vue
index 2d5a16a..9cc38e4 100644
--- a/src/views/eam/Daily3MaintenanceOrderList.vue
+++ b/src/views/eam/Daily3MaintenanceOrderList.vue
@@ -97,25 +97,40 @@
         style="margin-left: 8px"
       >閲嶇疆</a-button>
       <a-button
-        v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
+        v-show="selectedRowKeys.length == 1 && selectionRows[0].status === '5' && selectionRows[0].isNotStoveCategoryFlag == false && selectionRows[0].precisionParameters == '1' "
         @click="handlePrintPrecision(selectionRows[0])"
         type="primary"
         style="margin-left: 8px"
       >绮惧害妫�楠屽崟鎵撳嵃
       </a-button>
       <a-button
-        v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
+        v-show="selectedRowKeys.length == 1 && selectionRows[0].status === '5'"
         @click="handlePrintCheck(selectionRows[0])"
         type="primary"
         style="margin-left: 8px"
       >楠屾敹鍗曟墦鍗�
       </a-button>
+      <!-- v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'" -->
       <a-button
         v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
         @click="handlePrintInfo(selectionRows[0])"
         type="primary"
         style="margin-left: 8px"
       >绉讳氦鍗曟墦鍗�
+      </a-button>
+      <a-button
+        v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '5' && selectionRows[0].isNotStoveCategoryFlag == false && selectionRows[0].precisionParameters != '1'"
+        @click="handlePrintTechnology(selectionRows[0])"
+        type="primary"
+        style="margin-left: 8px"
+      >鎶�鏈姸鎬侀壌瀹氭墦鍗�
+      </a-button>
+      <a-button
+        v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '5' && selectionRows[0].isNotStoveCategoryFlag == true"
+        @click="handlePrintStove(selectionRows[0])"
+        type="primary"
+        style="margin-left: 8px"
+      >鐐夌被妫�娴嬫墦鍗�
       </a-button>
       <!-- <a-button
         v-if="selectedRowKeys.length > 0"
@@ -685,12 +700,12 @@
     },
 
     handlePrintPrecision(record) {
-      let href = `${window._CONFIG['domianURL']}/jmreport/view/858844938446508032?id=` + record.id; //缃戠珯閾炬帴
+      let href = `${window._CONFIG['domianURL']}/jmreport/view/938231672512131072?id=` + record.id; //缃戠珯閾炬帴
       window.open(href, "_blank");
     },
 
     handlePrintCheck(record) {
-      let href = `${window._CONFIG['domianURL']}/jmreport/view/858867141388996608?id=` + record.id; //缃戠珯閾炬帴
+      let href = `${window._CONFIG['domianURL']}/jmreport/view/934647514367975424?id=` + record.id; //缃戠珯閾炬帴
       window.open(href, "_blank");
     },
 
@@ -700,6 +715,15 @@
       window.open(href, "_blank");
     },
 
+    handlePrintTechnology(record) {
+      let href = `${window._CONFIG['domianURL']}/jmreport/view/938226141894488064?id=` + record.id; //缃戠珯閾炬帴
+      window.open(href, "_blank");
+    },
+
+    handlePrintStove(record) {
+      let href = `${window._CONFIG['domianURL']}/jmreport/view/934611893956042752?id=` + record.id; //缃戠珯閾炬帴
+      window.open(href, "_blank");
+    },
 
     handleOrderExe(record) {
       this.$refs.DailyMaintenanceOrderExeDrawer.visible = true
@@ -839,6 +863,7 @@
     },
 
     searchReset() {
+      this.onClearSelected();
       this.queryParam = { maintenanceType: '3' }
       this.loadData(1);
       this.finishTime = []

--
Gitblit v1.9.3