| | |
| | | if ($grid) { |
| | | switch (code) { |
| | | case 'print': { |
| | | |
| | | if(selectRecords.value===null){ |
| | | console.log( selectRecords) |
| | | if(selectRecords===null ||selectRecords===''||selectRecords.length===0){ |
| | | ElMessage.warning(t('searchOrder.msgList.checkOrder')) |
| | | return |
| | | } |
| | |
| | | } |
| | | } |
| | | router.push({path: '/main/processCard/printProcess', query: {printList: JSON.stringify(selectRecords)}}) |
| | | |
| | | // let routeData = router.resolve({path: '/main/processCard/printProcess', query: {printList: JSON.stringify(selectRecords)}}); |
| | | // window.open(routeData.href, '_blank'); |
| | | //dialogTableVisible.value = true |
| | | break |
| | | } |