From dc1226c67b9b34b602254ed3ca3de0e5b272cffa Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 22 九月 2022 17:49:06 +0800
Subject: [PATCH] 1.不良明细报表、品质异常排行报表、维修明细报表开发完成

---
 src/views/kb/cgdd.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/kb/cgdd.vue b/src/views/kb/cgdd.vue
index d6a476a..1e59553 100644
--- a/src/views/kb/cgdd.vue
+++ b/src/views/kb/cgdd.vue
@@ -44,7 +44,7 @@
           <!-- 2-->
           <div class="kb_left_bottom kb_pd10">
             <div class="kb_left_bottom_content">
-              <div class="content_head kb_title_text">閲囪喘鍒拌揣璺熻釜</div>
+              <div class="content_head kb_title_text">閲囪喘鍒拌揣璺熻釜 <div style="margin-left: 30px">{{ number1 }} 鍗�</div></div>
               <div class="content_body">
                 <el-table
                   ref="tableData"
@@ -269,6 +269,8 @@
       tableData: [],
       tableDataRank: [],
 
+      number1: '',
+
       MarqueeTipsContent: '', // 鍏憡
       speed: 100// 鍏憡鎾斁鐨勯�熷害
 
@@ -308,6 +310,7 @@
     getPurchaseLeftBottom() {
       PurchaseLeftBottom().then(res => {
         this.tableData = res.data
+        this.number1 = this.tableData.length
 
         const divData = this.$refs.tableData.bodyWrapper
         // 鎷垮埌鍏冪礌鍚庯紝瀵瑰厓绱犺繘琛屽畾鏃跺鍔犺窛绂婚《閮ㄨ窛绂伙紝瀹炵幇婊氬姩鏁堟灉(姝ら厤缃负姣�100姣绉诲姩1鍍忕礌)
@@ -320,6 +323,7 @@
             divData.scrollTop = 0
             PurchaseLeftBottom().then(res => {
               this.tableData = res.data
+              this.number1 = this.tableData.length
               if (this.tableData.length > 14) {
                 clearInterval(task)
                 this.getPurchaseLeftBottom()
@@ -479,6 +483,7 @@
         flex-direction: column;
 
         .content_head {
+          display: flex;
           color: #00ffff;
           line-height: 20px;
           //font-size: 18px;

--
Gitblit v1.9.3