|
|
@ -334,8 +334,20 @@ const openForm = async (type: string, row?: number) => { |
|
|
|
} |
|
|
|
}) |
|
|
|
}else { |
|
|
|
SupplierdeliverRequestMain.allSchemas.formSchema.forEach((item) => { |
|
|
|
if(item.field == 'supplierCode'){ |
|
|
|
item.componentProps.isSearchList = true |
|
|
|
item.componentProps.disabled = 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) |
|
|
|