From e50fa16b6dbc4e7c50d5fbdbc04d2a556ca01c4e Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期一, 02 十二月 2024 11:26:36 +0800
Subject: [PATCH] 补片流程卡调整

---
 north-glass-erp/northglass-erp/src/views/pp/reportingWorks/QualityInReviewDetail.vue |   45 ++++++++++++++++++++++++---------------------
 1 files changed, 24 insertions(+), 21 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/QualityInReviewDetail.vue b/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/QualityInReviewDetail.vue
index 3fe5548..0e43edb 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/QualityInReviewDetail.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/QualityInReviewDetail.vue
@@ -8,6 +8,7 @@
 import {changeFilterEvent, filterChanged} from "@/hook"
 import { useI18n } from 'vue-i18n'
 import useUserInfoStore from "@/stores/userInfo";
+import footSum from "@/hook/footSum"
 //璇█鑾峰彇
 const { t } = useI18n()
 let router = useRouter()
@@ -79,7 +80,7 @@
   align: 'center',//鏂囧瓧灞呬腑
   stripe:true,//鏂戦┈绾�
   rowConfig: {isCurrent: true, isHover: true,height: 30},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
-  id: 'CustomerList',
+  id: 'QualityInReviewDetail',
   showFooter: true,//鏄剧ず鑴�
   printConfig: {},
   importConfig: {},
@@ -104,28 +105,28 @@
   columns:[
     {type:'expand',fixed:"left",slots: { content:'content' },width: 50},
     // { type: 'seq',fixed:"left", title: '鑷簭', width: 50 },
-    {field: 'order_number',fixed:"left", width: 120, title: '搴忓彿',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true, },
-    {field: 'glass_child',fixed:"left",width: 120, title: '鍗曠墖鍚嶇О', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
-    {field: 'technology_number', width: 130,title: '灏忕墖椤哄簭', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
-    {field: 'glass_address',width: 120, title: '鐗囨爣璁�',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true},
-    {field: 'child_width', width: 100,title: '瀹�', sortable: true},
-    {field: 'child_height',width: 100, title: '楂�', sortable: true},
-    {field: 'shape',width: 120, title: '褰㈢姸', sortable: true,showOverflow:"ellipsis"},
-    {field: 'completed_quantity',width: 120, title: '瀹屽伐鏁伴噺', sortable: true},
-    {field: 'breakage_quantity',width: 120, title: '娆$牬鏁伴噺', sortable: true},
-    {field: 'available',width: 120, title: '鍙埄鐢�', sortable: true},
-    {field: 'return_process',width: 120, title: '閫�鍥炲伐搴�', sortable: true},
-    {field: 'breakage_type',width: 120, title: '娆$牬绫诲瀷', sortable: true},
-    {field: 'breakage_reason',width: 120, title: '娆$牬鍘熷洜', sortable: true},
-    {field: 'responsible_equipment',width: 120, title: '璐d换璁惧', sortable: true},
-    {field: 'responsible_process',width: 120, title: '璐d换宸ュ簭', sortable: true},
-    {field: 'responsible_team',width: 120, title: '璐d换鐝粍', sortable: true},
-    {field: 'responsible_personnel',width: 120, title: '璐d换浜哄憳', sortable: true},
+    {field: 'order_number',fixed:"left", width: 120, title: t('order.OrderNum'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true, },
+    {field: 'glass_child',fixed:"left",width: 120, title: t('reportingWorks.glassChild'), sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'technology_number', width: 130,title: t('processCard.technologyNumber'), sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'glass_address',width: 120, title: t('reportingWorks.glassAddress'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true},
+    {field: 'child_width', width: 100,title: t('order.width'), sortable: true},
+    {field: 'child_height',width: 100, title: t('order.height'), sortable: true},
+    {field: 'shape',width: 120, title: t('order.shape'), sortable: true,showOverflow:"ellipsis"},
+    {field: 'completed_quantity',width: 120, title:  t('reportingWorks.thisCompletedQuantity'), sortable: true},
+    {field: 'breakage_quantity',width: 120, title: t('reportingWorks.thisWornQuantity'), sortable: true},
+    {field: 'available',width: 120, title: t('reportingWorks.available'), sortable: true},
+    {field: 'return_process',width: 120, title: t('reportingWorks.returnProcess'), sortable: true},
+    {field: 'breakage_type',width: 120, title: t('reportingWorks.breakageType'), sortable: true},
+    {field: 'breakage_reason',width: 120, title: t('reportingWorks.breakageReason'), sortable: true},
+    {field: 'responsible_equipment',width: 120, title: t('reportingWorks.responsibleEquipment'), sortable: true},
+    {field: 'responsible_process',width: 120, title: t('reportingWorks.responsibleProcess'), sortable: true},
+    {field: 'responsible_team',width: 120, title: t('reportingWorks.responsibleTeam'), sortable: true},
+    {field: 'responsible_personnel',width: 120, title: t('reportingWorks.responsiblePersonnel'), sortable: true},
   ],//琛ㄥご鎸夐挳
 
   toolbarConfig: {
     buttons: [
-      {code: 'print_lck', name: '瀹℃牳閫氳繃',status:'primary' },
+      {code: 'print_lck', name: t('reportingWorks.passAudit'),status:'primary' },
     ],
     // import: false,
     // export: true,
@@ -141,7 +142,7 @@
     return[
       columns.map((column, columnIndex) => {
         if (columnIndex === 0) {
-          return '鍚堣:'
+          return t('basicData.total')
         }
         if (footList.includes(column.field)) {
           return sumNum(data, column.field)
@@ -184,7 +185,9 @@
       <template #num1_filter="{ column, $panel }">
         <div>
           <div v-for="(option, index) in column.filters" :key="index">
-            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+            <input type="type" v-model="option.data"
+                   @keyup.enter.native="$panel.confirmFilter()"
+                   @input="changeFilterEvent($event, option, $panel)"/>
           </div>
         </div>
       </template>

--
Gitblit v1.8.0