From fa32e887b8fdcd4a2bc3326306cbc558e119a9bb Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 01 八月 2024 10:00:33 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/northglass-erp/src/views/pp/report/TeamOutput.vue |   32 ++++++++++++++++++++++++++------
 1 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/report/TeamOutput.vue b/north-glass-erp/northglass-erp/src/views/pp/report/TeamOutput.vue
index 86d8ed7..024ed18 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/report/TeamOutput.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/report/TeamOutput.vue
@@ -19,7 +19,7 @@
 })
 
 //宸ュ簭
-const value = ref(t('machine.edgeGrinding'))
+const value = ref()
 
 //琛ㄥ熬姹傚拰
 const sumNum = (list, field) => {
@@ -49,6 +49,13 @@
 //瀹氫箟褰撳墠椤垫暟
 let pageNum = ref(1)
 let pageState = null
+
+let newItem= ref({
+  basic_name: '鍏ㄩ儴',
+  basic_type: 'product',
+  basic_category: 'process',
+  id: "001"
+    })
 
 //鑾峰彇涓冨ぉ鍓嶅埌褰撳墠鏃堕棿
 function getNowTime() {
@@ -88,6 +95,7 @@
     pageTotal.value = res.data.total
     produceList = produceList.value.concat(deepClone(res.data.data))
     titleSelectJson.value.processType = res.data.process
+    titleSelectJson.value.processType.unshift(newItem.value)
     xGrid.value.reloadData(produceList)
     gridOptions.loading = false
   } else {
@@ -219,7 +227,7 @@
   },//琛ㄥご鍙傛暟
   columns: [
     {type: 'expand', fixed: "left", slots: {content: 'content'}, width: 50},
-    {type: 'seq', fixed: "left", title: t('basicData.Number'), width: 40},
+    {type: 'seq', fixed: "left", title: t('basicData.Number'), width: 50},
     {
       field: 'reportingWorkTime', width: 160, title: t('reportingWorks.reportingWorkTime'),
     },
@@ -239,7 +247,7 @@
     {
       field: 'processId', width: 140, title: t('processCard.processId'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }
     },
-    {field: 'orderNumber', width: 60, title: t('order.OrderNum')},
+    {field: 'orderNumber', width: 90, title: t('order.OrderNum')},
     {field: 'code', width: 60, title: t('reportingWorks.glassNumber')},
     {field: 'width', width: 100, title: t('order.width')},
     {field: 'height', width: 100, title: t('order.height')},
@@ -358,7 +366,7 @@
     <vxe-grid
         ref="xGrid"
         class="mytable-scrollbar"
-        max-height="100%"
+        height="100%"
         v-bind="gridOptions"
 
     >
@@ -373,7 +381,19 @@
         </ul>
       </template>
 
-
+      <template #pager>
+        <!--浣跨敤 pager 鎻掓Ы-->
+        <!--        'PrevJump','NextJump', -->
+        <vxe-pager
+            v-model:current-page="pageNum"
+            v-model:page-size="total.pageSize"
+            v-model:pager-count="total.pageTotal"
+            :layouts="[  'PrevPage', 'Jump','PageCount', 'NextPage',  'Total']"
+            :total="total.dataTotal"
+            @page-change="handlePageChange"
+        >
+        </vxe-pager>
+      </template>
       <template #num1_filter="{ column, $panel }">
         <div>
           <div v-for="(option, index) in column.filters" :key="index">
@@ -396,7 +416,7 @@
 <style scoped>
 .main-div-customer {
   width: 99%;
-  height: 100%;
+  height: 90%;
 }
 
 #selectForm {

--
Gitblit v1.8.0