liuhairui 1 жил өмнө
parent
commit
6a1768884e

+ 11 - 2
src/view/performance/06-packingDocuments/index.vue

@@ -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)
+  }
 }
 
 // 删除