From eb69ee4eaa60b689d7d59317bd6f0319d5a15ffd Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 20 四月 2023 10:12:53 +0800
Subject: [PATCH] 1.递交
---
src/views/kb/cjzl.vue | 31 +++++++++++++++++++------------
1 files changed, 19 insertions(+), 12 deletions(-)
diff --git a/src/views/kb/cjzl.vue b/src/views/kb/cjzl.vue
index 383bf9a..6be4e33 100644
--- a/src/views/kb/cjzl.vue
+++ b/src/views/kb/cjzl.vue
@@ -3,9 +3,9 @@
<div class="kb_dashboard">
<!-- 鏄熺┖鑳屾櫙-->
- <div ref="starsRef" class="stars">
- <div v-for="(item, index) in starsCount" :key="index" class="star" />
- </div>
+ <!-- <div ref="starsRef" class="stars">-->
+ <!-- <div v-for="(item, index) in starsCount" :key="index" class="star" />-->
+ <!-- </div>-->
<div class="kb_header">
<div class="flex_c_c kb_header_text">
@@ -50,7 +50,7 @@
<el-table
ref="tableDataLeftCenterRef"
:data="tableDataCenterTop"
- class="tableData"
+ class="tableData tableDataCell"
style="width: 100%;"
:header-cell-style="headerCellStyleCenter"
:cell-style="cellStyleCenter"
@@ -59,7 +59,7 @@
<el-table-column
prop="lm_date"
label="鏃ユ湡"
- width="115"
+ width="100"
>
<template slot-scope="{row}">
<div
@@ -72,7 +72,7 @@
</el-table-column>
<el-table-column
prop="eqp_name"
- width="95"
+ width="80"
label="浜х嚎鍚嶇О"
>
<template slot-scope="{row}">
@@ -82,7 +82,7 @@
<el-table-column
prop="wo_code"
label="鐢熶骇鍗曞彿"
- width="188"
+ width="173"
>
<template slot-scope="{row}">
<div style="color: #00FFFF">{{ row.wo_code }}</div>
@@ -91,7 +91,7 @@
<el-table-column
prop="partname"
- width="100"
+ width="190"
label="浜у搧鍚嶇О"
>
<template slot-scope="{row}">
@@ -110,16 +110,16 @@
<el-table-column
prop="ng_qty"
label="涓嶈壇鏁伴噺"
- width="92"
+ width="77"
/>
<el-table-column
prop="report_qty"
label="鎶ュ伐鏁伴噺"
- width="92"
+ width="77"
/>
<el-table-column
label="涓嶈壇鍗犳瘮"
- width="92"
+ width="77"
>
<template slot-scope="{row}">
<div>{{ parseFloat((row.ng_qty*100/(row.ng_qty+row.report_qty)).toFixed(2)) }}%</div>
@@ -191,7 +191,7 @@
this.getEcharts()
- this.setStarsRef()
+ // this.setStarsRef()
},
methods: {
setStarsRef() {
@@ -359,6 +359,13 @@
.el-table__empty-text{
color: $main_color;
}
+
+.tableDataCell {
+ ::v-deep .cell{
+ padding: 0 2px ;
+ }
+}
+
</style>
<!--鏄熺┖-->
--
Gitblit v1.9.3