From 2f894921e5cf74910805f08a5e3180b68ac09e18 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期二, 23 四月 2024 15:50:32 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/a1536384743/erp_-override

---
 north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCard.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCard.vue b/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCard.vue
index 5b09c92..6649485 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCard.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCard.vue
@@ -191,8 +191,8 @@
     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
           }
@@ -206,6 +206,9 @@
             }
           }
           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
         }

--
Gitblit v1.8.0