diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index db8b7319c..fadac4a11 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -334,8 +334,20 @@ const openForm = async (type: string, row?: number) => { } }) }else { - item.componentProps.isSearchList = true - item.componentProps.disabled = true + SupplierdeliverRequestMain.allSchemas.formSchema.forEach((item) => { + if(item.field == 'supplierCode'){ + item.componentProps.isSearchList = true + } + if(item.field == 'ppNumber'){ + item.componentProps.isSearchList = true + } + if(item.field == 'asnNumber'){ + item.componentProps.disabled = false + } + if(item.field == 'planArriveTime'){ + item.componentProps.disabled = false + } + }) } tableData.value = [] // 重置明细数据 formRef.value.open(type, row)