|
@ -250,12 +250,19 @@ const openForm =async (type: string, row?: number) => { |
|
|
if (item.field == 'areaCode') { |
|
|
if (item.field == 'areaCode') { |
|
|
item.componentProps.isSearchList = false, |
|
|
item.componentProps.isSearchList = false, |
|
|
item.componentProps.disabled = true |
|
|
item.componentProps.disabled = true |
|
|
|
|
|
} |
|
|
|
|
|
if (item.field == 'itemCode') { |
|
|
|
|
|
item.componentProps.isSearchList = false, |
|
|
|
|
|
item.componentProps.disabled = true |
|
|
}}) |
|
|
}}) |
|
|
}else { |
|
|
}else { |
|
|
Itemarea.allSchemas.formSchema.forEach((item) => { |
|
|
Itemarea.allSchemas.formSchema.forEach((item) => { |
|
|
if (item.field == 'areaCode') { |
|
|
if (item.field == 'areaCode') { |
|
|
item.componentProps.isSearchList = true |
|
|
item.componentProps.isSearchList = true |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.field == 'itemCode') { |
|
|
|
|
|
item.componentProps.isSearchList = true |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
tableData.value = [] // 重置明细数据 |
|
|
tableData.value = [] // 重置明细数据 |
|
|