소스 검색

包装计件单据维护

liuhairui 1 년 전
부모
커밋
6a1768884e
1개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 11 2
      src/view/performance/06-packingDocuments/index.vue

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