From ace95320b2520e9c16cf09b7673ca52935756e97 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 25 七月 2024 16:56:47 +0800
Subject: [PATCH] 补片返工审核添加编号字段,标签打印打印方式修改成和流程卡打印相同,补片同步修改,修改流程卡打印查询和不同配置流程卡打印方式,添加部分字段

---
 north-glass-erp/northglass-erp/src/components/pp/PrintRepairCustomLabel.vue |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/Replenish/PrintRepairCustomLabel.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintRepairCustomLabel.vue
similarity index 92%
rename from north-glass-erp/northglass-erp/src/views/pp/Replenish/PrintRepairCustomLabel.vue
rename to north-glass-erp/northglass-erp/src/components/pp/PrintRepairCustomLabel.vue
index 79e25ef..d2cbd68 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/Replenish/PrintRepairCustomLabel.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintRepairCustomLabel.vue
@@ -23,13 +23,19 @@
   printList: []
 })
 
+let props = defineProps({
+  list:null,//鍕鹃�夌殑鏁版嵁
+  faceOrientation:null,//鍐呭闈�
+  type:null,//鏍囩妯℃澘
+  lableType:null//鏍囩绫诲瀷
+})
 
 const {currentRoute} = useRouter()
 const route = currentRoute.value
-data.value.printList = JSON.parse(route.query.printList)
-const type = route.query.type
-const faceOrientation = route.query.faceOrientation
-const lableType = route.query.lableType
+let type = props.type
+let faceOrientation = props.faceOrientation
+let lableType = props.lableType
+data.value.printList = JSON.parse(props.list)
 
 onMounted(() => {
       request.post(`/Replenish/getSelectPrintCustomLabel/${type}`, data.value).then((res) => {
@@ -83,7 +89,6 @@
       "{display:block;padding-top:1px}}";
   //
   content.innerHTML = el.outerHTML;
-  // // console.log("el.outerHTML", el.outerHTML);
   body.appendChild(style);
 
   // 涓巗tyle鍏冪礌璁剧疆鐨勬牱寮忕浉閰嶅悎
@@ -98,7 +103,6 @@
 </script>
 
 <template>
-  <el-button id="printButton" @click="printFlowCard();">{{ $t('basicData.print') }}</el-button>
   <div class="printFlowCard_finished" id="print">
     <div v-for="(item1,id) in lastList"   class="entirety_finished">
         <div class="row4">{{faceOrientation}}</div>
@@ -139,7 +143,7 @@
   /*
   font-family: 'Microsoft YaHei', '寰蒋闆呴粦', sans-serif;
   */
-  flex-wrap: wrap;
+  flex-wrap: nowrap;
   font-size: 12pt;
   display: flex;
   flex-direction:column;

--
Gitblit v1.8.0