|
|
@@ -436,8 +436,17 @@ const handleSearch = () => {
|
|
|
|
|
|
// 查改
|
|
|
const handleShowDetail = () => {
|
|
|
- type.value = '查改'
|
|
|
- getTableInfo(currentRow.value?.UniqId)
|
|
|
+ type.value = '查改'
|
|
|
+ console.log(currentRow.value)
|
|
|
+ if(currentRow.value.UniqId==undefined){
|
|
|
+ ElMessage({
|
|
|
+ type: 'warning',
|
|
|
+ message: '未选中记录',
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }else{
|
|
|
+ getTableInfo(currentRow.value?.UniqId)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// 删除
|