diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue index e93575430..b5512d576 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue @@ -591,6 +591,11 @@ const openForm = async (type: string, row?: any) => { item.componentProps.isSearchList = true item.componentProps.disabled = false } + if (item.field == 'fromWarehouseCode') { + item.componentProps.enterSearch = true + item.componentProps.isSearchList = true + item.componentProps.disabled = false + } }) } else { if (row.q1Number) { @@ -644,6 +649,13 @@ const openForm = async (type: string, row?: any) => { } }) } + ScrapRequestMain.allSchemas.formSchema.forEach((item) => { + if (item.field == 'fromWarehouseCode') { + item.componentProps.enterSearch = false + item.componentProps.isSearchList = false + item.componentProps.disabled = true + } + }) } tableData.value = [] // 重置明细数据