From ff77023946ed6b0b46fbea8d78bdc23712891aeb Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期二, 21 十月 2025 10:24:39 +0800
Subject: [PATCH] 1.针对报工数量为零的做校验

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

diff --git a/src/views/kanbanManager/ckgl.vue b/src/views/kanbanManager/ckgl.vue
index 2117bae..da9af6e 100644
--- a/src/views/kanbanManager/ckgl.vue
+++ b/src/views/kanbanManager/ckgl.vue
@@ -19,12 +19,12 @@
 
       <div style="display: flex;justify-content: space-between;padding:0 20px 20px 20px;height: 950px">
         <div style="width: 1350px;z-index: 2;margin-top: 50px;" class="flex_c_b">
-          <div style="height: 470px;">
+          <div style="height: 945px;">
             <div class="smallTitle">
               <svg-icon icon-class="cpdrk" class="svg_class" />
               鐢熶骇寰呭叆搴�
             </div>
-            <div class="lineContent horn" style="height: 410px">
+            <div class="lineContent horn" style="height: 885px">
               <el-table
                 ref="tableDataTopRef"
                 :data="tableDataTop"
@@ -32,7 +32,7 @@
                 class="tableData"
                 :header-cell-style="headerCellStyleCenter"
                 :cell-style="cellStyleCenter"
-                height="405"
+                height="880"
               >
                 <el-table-column
                   prop="voucherdate"
@@ -56,22 +56,22 @@
                 <el-table-column
                   prop="wkshp_name"
                   label="鐢熶骇杞﹂棿"
-                  width="105"
+                  width="135"
                 >
                   <template slot-scope="{row}">
                     <div class="ellipsis">{{ row.wkshp_name }}</div>
                   </template>
                 </el-table-column>
-                <el-table-column
-                  prop="saleOrderCode"
-                  label="閿�鍞鍗曞彿"
-                  width="200"
-                >
-                  <template slot-scope="{row}">
-                    <div v-if="row.saleOrderCode" class="ellipsis">{{ row.saleOrderCode }}</div>
-                    <div v-else>/</div>
-                  </template>
-                </el-table-column>
+                <!--                <el-table-column-->
+                <!--                  prop="saleOrderCode"-->
+                <!--                  label="閿�鍞鍗曞彿"-->
+                <!--                  width="200"-->
+                <!--                >-->
+                <!--                  <template slot-scope="{row}">-->
+                <!--                    <div v-if="row.saleOrderCode" class="ellipsis">{{ row.saleOrderCode }}</div>-->
+                <!--                    <div v-else>/</div>-->
+                <!--                  </template>-->
+                <!--                </el-table-column>-->
                 <!--                <el-table-column-->
                 <!--                  prop="materiel_code"-->
                 <!--                  label="浜у搧缂栧彿"-->
@@ -84,26 +84,26 @@
                 <el-table-column
                   prop="materiel_name"
                   label="浜у搧鍚嶇О"
-                  width="170"
+                  width="400"
                 >
                   <template slot-scope="{row}">
                     <div class="ellipsis">{{ row.materiel_name }}</div>
                   </template>
                 </el-table-column>
-                <el-table-column
-                  prop="specification"
-                  label="瑙勬牸鍨嬪彿"
-                  width="136"
-                >
-                  <template slot-scope="{row}">
-                    <div v-if="row.specification" class="ellipsis">{{ row.specification }}</div>
-                    <div v-else>/</div>
-                  </template>
-                </el-table-column>
+                <!--                <el-table-column-->
+                <!--                  prop="specification"-->
+                <!--                  label="瑙勬牸鍨嬪彿"-->
+                <!--                  width="136"-->
+                <!--                >-->
+                <!--                  <template slot-scope="{row}">-->
+                <!--                    <div v-if="row.specification" class="ellipsis">{{ row.specification }}</div>-->
+                <!--                    <div v-else>/</div>-->
+                <!--                  </template>-->
+                <!--                </el-table-column>-->
                 <el-table-column
                   prop="stck_name"
                   label="棰勫叆浠撳簱"
-                  width="100"
+                  width="156"
                 >
                   <template slot-scope="{row}">
                     <div v-if="row.stck_name" class="ellipsis">{{ row.stck_name }}</div>
@@ -113,7 +113,7 @@
                 <el-table-column
                   prop="quantity"
                   label="鏁伴噺"
-                  width="63"
+                  width="83"
                 />
                 <el-table-column
                   prop="totalStockInQuantity"
@@ -154,7 +154,7 @@
               </el-table>
             </div>
           </div>
-          <div style="height: 470px;margin-top: 30px;">
+          <div v-if="false" style="height: 470px;margin-top: 30px;">
             <div class="smallTitle">
               <svg-icon icon-class="drk" class="svg_class" />
               濮斿寰呭叆搴�
@@ -332,7 +332,7 @@
     this.updateOnlineStatus({ type: this.onLine ? 'online' : 'offline', isFirst: true })
 
     this.getWareHouseTopLeftData()
-    this.getWareHouseTopBottomData()
+    // this.getWareHouseTopBottomData()
     this.getEcharts()
   },
   beforeDestroy() {
@@ -380,13 +380,13 @@
             WareHouseTopLeftData().then(res => {
               this.tableDataTop = res.data
               // this.number1 = this.tableDataTop.length
-              if (this.tableDataTop.length > 10) {
+              if (this.tableDataTop.length > 22) {
                 clearInterval(this.tableTopTask)
                 this.getWareHouseTopLeftData()
               }
             })
           }
-        }, this.tableDataTop.length <= 10 ? 1000 * 30 : 200)
+        }, this.tableDataTop.length <= 22 ? 1000 * 30 : 200)
       })
     },
     // 鑾峰彇宸︿笅table鏁版嵁

--
Gitblit v1.9.3