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/zhkb.vue | 66 +++++++++++++++++---------------
1 files changed, 35 insertions(+), 31 deletions(-)
diff --git a/src/views/kb/zhkb.vue b/src/views/kb/zhkb.vue
index 9279921..1694ba1 100644
--- a/src/views/kb/zhkb.vue
+++ b/src/views/kb/zhkb.vue
@@ -2,9 +2,9 @@
<div>
<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">
@@ -120,7 +120,7 @@
<el-table-column
prop="status"
- width="70"
+ width="80"
label="鐘舵��"
>
<template slot-scope="{row}">
@@ -156,7 +156,7 @@
<el-table-column
prop="partname"
label="浜у搧鍚嶇О"
- width="100"
+ width="350"
>
<template slot-scope="{row}">
<div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>
@@ -166,44 +166,44 @@
<el-table-column
prop="plan_qty"
label="浠诲姟鏁伴噺"
- width="100"
+ width="105"
/>
<el-table-column
prop="good_qty"
label="瀹屽伐鏁伴噺"
- width="100"
+ width="105"
/>
<el-table-column
prop="ng_qty"
label="涓嶈壇鏁伴噺"
- width="100"
+ width="105"
/>
<el-table-column
label="瀹屾垚鐜�"
- width="100"
+ width="105"
>
<template slot-scope="{row}">
<div>{{ parseFloat((row.good_qty * 100 / row.plan_qty).toFixed(2)) }}%</div>
</template>
</el-table-column>
- <el-table-column
+ <!-- <el-table-column-->
- label="棰勮寮�濮�"
- width="140"
- >
- <template slot-scope="{row}">
- <div>{{ row.planstartdate.substring(0, 10) }}</div>
- </template>
- </el-table-column>
- <el-table-column
- prop=""
- label="棰勮缁撴潫"
- width="140"
- >
- <template slot-scope="{row}">
- <div>{{ row.planenddate.substring(0, 10) }}</div>
- </template>
- </el-table-column>
+ <!-- label="棰勮寮�濮�"-->
+ <!-- width="140"-->
+ <!-- >-->
+ <!-- <template slot-scope="{row}">-->
+ <!-- <div>{{ row.planstartdate.substring(0, 10) }}</div>-->
+ <!-- </template>-->
+ <!-- </el-table-column>-->
+ <!-- <el-table-column-->
+ <!-- prop=""-->
+ <!-- label="棰勮缁撴潫"-->
+ <!-- width="140"-->
+ <!-- >-->
+ <!-- <template slot-scope="{row}">-->
+ <!-- <div>{{ row.planenddate.substring(0, 10) }}</div>-->
+ <!-- </template>-->
+ <!-- </el-table-column>-->
</el-table>
</div>
@@ -233,14 +233,19 @@
/>
<el-table-column
prop="linename"
- width="165"
+ width="125"
label="浜х嚎"
/>
<el-table-column
prop="partname"
- width="120"
+ width="160"
label="浜у搧"
- />
+ >
+ <template slot-scope="{row}">
+ <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>
+ <div v-else>/</div>
+ </template>
+ </el-table-column>
<el-table-column
prop="good_qty"
label="鏁伴噺"
@@ -311,7 +316,7 @@
this.getTopBar()
this.getShopSearch()
- this.setStarsRef()
+ // this.setStarsRef()
},
methods: {
setStarsRef() {
@@ -420,7 +425,6 @@
LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
this.tableDataLeftBottomTemp = res.data
-
this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale)
const loop = Math.floor(this.tableDataLeftBottomTemp.length / scale)// 闇�瑕佸惊鐜殑娆℃暟
--
Gitblit v1.9.3