From 43e115a7de2c763c36d79e610a3abb1d833ea892 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期一, 05 八月 2024 10:21:52 +0800
Subject: [PATCH] 修改发货报表

---
 north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintFlowCard.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintFlowCard.vue b/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintFlowCard.vue
index 58085bf..ad25712 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintFlowCard.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintFlowCard.vue
@@ -12,15 +12,25 @@
 import TagStyleDesigner from "@/components/pp/TagStyleDesigner.vue"
 import OrderSortDetail from '@/components/pp/OrderSortDetail.vue'
 import companyInfo from "@/stores/sd/companyInfo"
+import useUserInfoStore from "@/stores/userInfo";
 //璇█鑾峰彇
 const {t} = useI18n()
 const company = companyInfo()
 let router = useRouter()
 const printVisible= ref(false)
 
+const userStore = useUserInfoStore()
+const userId = userStore.user.userId
+
 let inquiryMode = company.printLabel.getSelectFlowCard;
 
-const checkedValue = ref(inquiryMode)
+const checkedValue = ref("")
+if (userId==="A071" || userId==="A107"){
+   checkedValue.value = ref(2)
+}
+else {
+   checkedValue.value = ref(inquiryMode)
+}
 //鎺掑簭
 let editRow = ref({
   orderId:null,
@@ -257,7 +267,7 @@
             }
           }
           let array = orderIdList.split('|');
-         router.push({path: '/main/processCard/PrintFlowCard', query: {printList: JSON.stringify(selectRecords),checkedValue:checkedValue.value}})
+         router.push({path: '/main/processCard/PrintFlowCard', query: {printList: JSON.stringify(selectRecords),checkedValue:checkedValue.value.value}})
           return;
 
         }
@@ -291,7 +301,7 @@
             :icon="Search"
             type="primary" @click="getWorkOrder">{{ $t('basicData.search') }}
         </el-button>
-        <vxe-checkbox style="margin-top:6px;margin-left:10px " v-if="!(checkedValue === 2 && inquiryMode === 2)" v-model="checkedValue"  content="鍚堝苟" :checked-value="1" :unchecked-value="2" ></vxe-checkbox>
+        <vxe-checkbox style="margin-top:6px;margin-left:10px " v-if="!(checkedValue.value === 2 && inquiryMode === 2)" v-model="checkedValue.value"  content="鍚堝苟" :checked-value="1" :unchecked-value="2" ></vxe-checkbox>
       </el-row>
     </div>
     <vxe-grid

--
Gitblit v1.8.0