From 66be024774dace279920e63bc8b9ae0ec0058d6b Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Mon, 14 Oct 2024 14:44:11 +0800 Subject: [PATCH] HL-6255 --- .../productscrapRequestMain/index.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue index 1dbe6a918..63356031c 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue @@ -535,18 +535,18 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => ProductscrapRequestMain.allSchemas.formSchema.forEach((item) => { if (item.field == 'projectCode') { //项目代码 - // if(val[0]['isProject']=='TRUE'){ + if(val[0]['isProject']=='TRUE'){ //是-可编辑,可选择 item.componentProps.enterSearch = true item.componentProps.isSearchList = true item.componentProps.disabled = false - // }else{ - // //否-不可编辑,内容为空 - // setV['projectCode'] = '' - // item.componentProps.enterSearch = false - // item.componentProps.isSearchList = false - // item.componentProps.disabled = true - // } + }else{ + //否-不可编辑,内容为空 + setV['projectCode'] = '' + item.componentProps.enterSearch = false + item.componentProps.isSearchList = false + item.componentProps.disabled = true + } } }) }