From 09e88801e80614cb52c2ea569eb443e5b52764b4 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Fri, 6 Sep 2024 16:53:23 +0800 Subject: [PATCH] =?UTF-8?q?HL-5785=E5=88=B6=E5=93=81=E5=AD=90=E4=BB=B6?= =?UTF-8?q?=E6=8A=A5=E5=BA=9F=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productscrapRequestMain/index.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue index 7b8c16871..e84101374 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue @@ -81,6 +81,8 @@ @tableFormButton="tableFormButton" :detailValidate="detailValidate" :detailButtonIsShowAdd="false" + :detailButtonIsShowEdit="false" + :detailButtonIsShowDelete="false" /> @@ -689,6 +691,11 @@ const openForm =async (type: string, row?: number) => { if (item.field == 'scrappingReason'){ item.value = '' } + if(item.field == 'productionLineCode'){ + item.componentProps.disabled = false + item.componentProps.enterSearch = true + item.componentProps.isSearchList = true + } }) } if(type == 'update'){ @@ -697,6 +704,15 @@ const openForm =async (type: string, row?: number) => { item.componentProps.disabled = true item.componentProps.isSearchList = false } + if(item.field == 'productionLineCode'){ + item.componentProps.enterSearch = true + item.componentProps.isSearchList = true + } + if(item.field == 'productionLineCode'){ + item.componentProps.disabled = true + item.componentProps.enterSearch = false + item.componentProps.isSearchList = false + } }) } formRef.value.open(type, row)