|
@ -334,8 +334,20 @@ const openForm = async (type: string, row?: number) => { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}else { |
|
|
}else { |
|
|
item.componentProps.isSearchList = true |
|
|
SupplierdeliverRequestMain.allSchemas.formSchema.forEach((item) => { |
|
|
item.componentProps.disabled = true |
|
|
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 = [] // 重置明细数据 |
|
|
tableData.value = [] // 重置明细数据 |
|
|
formRef.value.open(type, row) |
|
|
formRef.value.open(type, row) |
|
|