From d7ced8350e8f6bade96dfdcb3b32791dbbe55731 Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Sat, 11 May 2024 16:26:26 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/eam/device/devicemaintenancejob/index.vue | 2 +- src/views/eam/device/techmaintenancejob/index.vue | 2 +- src/views/eam/mold/moldmaintenancejob/index.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/eam/device/devicemaintenancejob/index.vue b/src/views/eam/device/devicemaintenancejob/index.vue index 601ce01..a90272a 100644 --- a/src/views/eam/device/devicemaintenancejob/index.vue +++ b/src/views/eam/device/devicemaintenancejob/index.vue @@ -436,7 +436,7 @@ const butttondata = (row) => { defaultButtons.acceptOrderBtn({ hasPermi:'eam:device-maintenance-job-main:orderClick', hide: !( - row.status == 'PENDING' + row.status == 'PENDING' && row.type == 'DEVICE' ) }), // 接单 defaultButtons.turnOrderBtn({ diff --git a/src/views/eam/device/techmaintenancejob/index.vue b/src/views/eam/device/techmaintenancejob/index.vue index e5be9ca..432b48a 100644 --- a/src/views/eam/device/techmaintenancejob/index.vue +++ b/src/views/eam/device/techmaintenancejob/index.vue @@ -410,7 +410,7 @@ const butttondata = (row) => { defaultButtons.acceptOrderBtn({ hasPermi:'eam:tech-maintenance-job-main:orderClick', hide: !( - row.status == 'PENDING' + row.status == 'PENDING' && row.type == 'TECH' ) }), // 接单 defaultButtons.turnOrderBtn({ diff --git a/src/views/eam/mold/moldmaintenancejob/index.vue b/src/views/eam/mold/moldmaintenancejob/index.vue index c5f5820..6d88880 100644 --- a/src/views/eam/mold/moldmaintenancejob/index.vue +++ b/src/views/eam/mold/moldmaintenancejob/index.vue @@ -445,7 +445,7 @@ const butttondata = (row) => { defaultButtons.acceptOrderBtn({ hasPermi:'eam:mold-maintenance-job-main:orderClick', hide: !( - row.status == 'PENDING' + row.status == 'PENDING' && row.type == 'MOLD' ) }), // 接单 defaultButtons.turnOrderBtn({