Pārlūkot izejas kodu

抽检目录树修改

duy 1 gadu atpakaļ
vecāks
revīzija
5f304d921b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/views/transfer/entry-sampling.vue

+ 1 - 1
src/views/transfer/entry-sampling.vue

@@ -124,6 +124,7 @@ const getElTreeData = async ()=>{
         console.log(data, 'data')
         ElTreeData.value = getArrValue(data['list'])
         defaultCheckedKeys.value = getArrValue(data['ids'])
+        checkKeys.value = getArrValue(data['ids'])
     } else {
         ElTreeData.value = []
         defaultCheckedKeys.value = []
@@ -152,7 +153,6 @@ const confirmAllocationClick = async () => {
 
 //确认并进入抽检
 const ToInspection = () => {
-  console.log( checkKeys.value, '  checkKeys.value')
   const ids = checkKeys.value.join(',')
   if (checkKeys.value.length > 0) {
     goInspection(ids)