From f72f5d062556eb74c8e00c40298e5268f51d71c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=93=E8=B1=86=E8=B1=86?= <3346088772@qq.comcd> Date: Wed, 10 Jan 2024 14:56:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=9A=90=E8=97=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/pro/proroute/routeprocess.vue | 22 +++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/views/mes/pro/proroute/routeprocess.vue b/src/views/mes/pro/proroute/routeprocess.vue index 5d88553..fa82b0d 100644 --- a/src/views/mes/pro/proroute/routeprocess.vue +++ b/src/views/mes/pro/proroute/routeprocess.vue @@ -302,7 +302,7 @@ /> - + { @@ -670,10 +677,17 @@ export default { /** 修改按钮操作 */ handleUpdate(row) { this.reset(); - if(row.machineryTypeId == 229){ - this.TypeId = true - }else{ + if(row.machineryTypeId == null){ this.TypeId = false + this.Typefile = false + }else{ + if(row.machineryTypeId == 229){ + this.TypeId = true + this.Typefile = false + }else{ + this.TypeId = false + this.Typefile = true + } } var name = {}; if (row.originalName != undefined && row.originalName != "") {