From 2dfd9ea256919594e200c337da3ca771f3db04be Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 26 十二月 2023 10:17:02 +0800
Subject: [PATCH] 1.仓库看板 、 生产看板  100%

---
 src/views/kb/warehouse.vue |   62 +++++++++++++++---------------
 1 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/src/views/kb/warehouse.vue b/src/views/kb/warehouse.vue
index 6211cca..b6fe3ff 100644
--- a/src/views/kb/warehouse.vue
+++ b/src/views/kb/warehouse.vue
@@ -5,7 +5,7 @@
       <div class="kb_backgroundCustom" />
       <div class="kb_header">
         <div class="kb_headTime" style="top: 35px;left:  20px">
-          <span>姘稿悍甯傚寳楦e伐璐告湁闄愬叕鍙�</span>
+          <span>姘稿悍甯傚閾伐璐告湁闄愬叕鍙�</span>
         </div>
 
         <div class="kb_headTime kb_header_text" style="top: 35px;left:  800px">
@@ -22,7 +22,7 @@
           <div style="height: 470px;">
             <div class="smallTitle">
               <svg-icon icon-class="cpdrk" class="svg_class" />
-              鐢熶骇寰呭叆搴�
+              閲囪喘寰呭叆搴�
             </div>
             <div class="lineContent horn" style="height: 410px">
               <el-table
@@ -37,7 +37,7 @@
                 <el-table-column
                   prop="voucherdate"
                   label="鍗曟嵁鏃ユ湡"
-                  width="151"
+                  width="161"
                 >
                   <template slot-scope="{row}">
                     <div v-if="row.voucherdate" class="ellipsis">{{ row.voucherdate.substring(0, 10) }}</div>
@@ -47,25 +47,25 @@
                 <el-table-column
                   prop="wo"
                   label="鍗曟嵁缂栧彿"
-                  width="189"
+                  width="199"
                 >
                   <template slot-scope="{row}">
                     <div class="ellipsis">{{ row.wo }}</div>
                   </template>
                 </el-table-column>
-                <el-table-column
-                  prop="wkshp_name"
-                  label="鐢熶骇杞﹂棿"
-                  width="105"
-                >
-                  <template slot-scope="{row}">
-                    <div class="ellipsis">{{ row.wkshp_name }}</div>
-                  </template>
-                </el-table-column>
+                <!--                <el-table-column-->
+                <!--                  prop="wkshp_name"-->
+                <!--                  label="鐢熶骇杞﹂棿"-->
+                <!--                  width="105"-->
+                <!--                >-->
+                <!--                  <template slot-scope="{row}">-->
+                <!--                    <div class="ellipsis">{{ row.wkshp_name }}</div>-->
+                <!--                  </template>-->
+                <!--                </el-table-column>-->
                 <el-table-column
                   prop="saleOrderCode"
                   label="閿�鍞鍗曞彿"
-                  width="200"
+                  width="210"
                 >
                   <template slot-scope="{row}">
                     <div v-if="row.saleOrderCode" class="ellipsis">{{ row.saleOrderCode }}</div>
@@ -76,7 +76,7 @@
                 <el-table-column
                   prop="materiel_name"
                   label="浜у搧鍚嶇О"
-                  width="260"
+                  width="270"
                 >
                   <template slot-scope="{row}">
                     <div class="ellipsis">{{ row.materiel_name }}</div>
@@ -85,7 +85,7 @@
                 <el-table-column
                   prop="specification"
                   label="瑙勬牸鍨嬪彿"
-                  width="116"
+                  width="126"
                 >
                   <template slot-scope="{row}">
                     <div v-if="row.specification" class="ellipsis">{{ row.specification }}</div>
@@ -95,7 +95,7 @@
                 <el-table-column
                   prop="stck_name"
                   label="棰勫叆浠撳簱"
-                  width="110"
+                  width="125"
                 >
                   <template slot-scope="{row}">
                     <div v-if="row.stck_name" class="ellipsis">{{ row.stck_name }}</div>
@@ -105,12 +105,12 @@
                 <el-table-column
                   prop="quantity"
                   label="鏁伴噺"
-                  width="73"
+                  width="93"
                 />
                 <el-table-column
                   prop="totalStockInQuantity"
                   label="宸插叆搴撴暟閲�"
-                  width="120"
+                  width="140"
                 >
                   <template slot-scope="{row}">
                     <div v-if="row.totalStockInQuantity">{{ row.totalStockInQuantity }}</div>
@@ -124,7 +124,7 @@
           <div style="height: 470px;margin-top: 30px;">
             <div class="smallTitle">
               <svg-icon icon-class="cpdfh" class="svg_class" />
-              浜у搧寰呭彂璐�
+              閿�鍞緟鍙戣揣
             </div>
             <div class="lineContent horn" style="height: 410px">
               <el-table
@@ -197,7 +197,7 @@
 
                 <el-table-column
                   prop="deliveryDate"
-                  label="棰勮浜よ揣鏃ユ湡"
+                  label="棰勮浜や粯鏃ユ湡"
                   width="200"
                 >
                   <template slot-scope="{row}">
@@ -225,7 +225,7 @@
           <div style="height: 470px;">
             <div class="smallTitle">
               <svg-icon icon-class="ph" class="svg_class" />
-              杩戜竴鍛ㄧ敓浜у緟鍏ュ簱浜у搧鎺掕Top5
+              杩戜竴鍛ㄩ噰璐緟鍏ュ簱浜у搧鎺掕Top5
             </div>
             <div class="lineContent horn" style="height: 410px">
               <div id="bar03" style="width: 100%;height:100%; " />
@@ -253,9 +253,9 @@
 import './kbCommon.css'
 import { bar02, kbTop, loadEcharts } from '@/utils/myEcharts'
 import {
-  ProductionStockedInLeftTop,
+  ProcureOutsourcLeftTop,
   ProductConsignmentLeftBottom,
-  ProductionStockedInRightTop,
+  ProcureOutsourcRightTop,
   ProductionStockedInRightBottom
 } from '@/api/kanbanManager'
 
@@ -298,7 +298,7 @@
     window.addEventListener('offline', this.updateOnlineStatus)
     this.updateOnlineStatus({ type: this.onLine ? 'online' : 'offline', isFirst: true })
 
-    this.getProductionStockedInLeftTop()
+    this.getProcureOutsourcLeftTop()
     this.getProductConsignmentLeftBottom()
     this.getEcharts()
   },
@@ -330,8 +330,8 @@
       }
     },
     // 鑾峰彇宸︿笂table鏁版嵁
-    getProductionStockedInLeftTop() {
-      ProductionStockedInLeftTop().then(res => {
+    getProcureOutsourcLeftTop() {
+      ProcureOutsourcLeftTop().then(res => {
         this.tableDataTop = res.data
         // this.number1 = this.tableDataTop.length
         const divData = this.$refs.tableDataTopRef.bodyWrapper
@@ -344,12 +344,12 @@
           if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
             // 閲嶇疆table璺濈椤堕儴璺濈
             divData.scrollTop = 0
-            ProductionStockedInLeftTop().then(res => {
+            ProcureOutsourcLeftTop().then(res => {
               this.tableDataTop = res.data
               // this.number1 = this.tableDataTop.length
               if (this.tableDataTop.length > 10) {
                 clearInterval(this.tableTopTask)
-                this.getProductionStockedInLeftTop()
+                this.getProcureOutsourcLeftTop()
               }
             })
           }
@@ -387,7 +387,7 @@
 
     // 鑾峰彇echarts
     getEcharts() {
-      ProductionStockedInRightTop().then(res => {
+      ProcureOutsourcRightTop().then(res => {
         loadEcharts('bar03', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name)))
       })
 
@@ -396,7 +396,7 @@
       })
 
       this.echartsRightTop = setInterval(() => {
-        ProductionStockedInRightTop().then(res => {
+        ProcureOutsourcRightTop().then(res => {
           loadEcharts('bar03', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name)))
         })
       }, 1000 * 15)

--
Gitblit v1.9.3