From c5abfac2f386f41d2d4d525d687b15326e48524b Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 26 十二月 2023 10:29:47 +0800
Subject: [PATCH] 1.小标题修改
---
src/views/kb/procure.vue | 104 ++++++++++++++++++++++++++--------------------------
1 files changed, 52 insertions(+), 52 deletions(-)
diff --git a/src/views/kb/procure.vue b/src/views/kb/procure.vue
index 3026daa..0e244b3 100644
--- a/src/views/kb/procure.vue
+++ b/src/views/kb/procure.vue
@@ -9,7 +9,7 @@
</div>
<div class="kb_headTime kb_header_text" style="top: 35px;left: 800px">
- <span>浠撳簱绠$悊鏁板瓧鍖栫湅鏉�</span>
+ <span>閲囪喘濮斿鏁板瓧鍖栫湅鏉�</span>
</div>
<div class="kb_headTime" style="top: 35px;right: 25px">
@@ -53,15 +53,15 @@
<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="閿�鍞鍗曞彿"
@@ -84,7 +84,7 @@
<el-table-column
prop="materiel_name"
label="浜у搧鍚嶇О"
- width="180"
+ width="285"
>
<template slot-scope="{row}">
<div class="ellipsis">{{ row.materiel_name }}</div>
@@ -93,7 +93,7 @@
<el-table-column
prop="specification"
label="瑙勬牸鍨嬪彿"
- width="136"
+ width="216"
>
<template slot-scope="{row}">
<div v-if="row.specification" class="ellipsis">{{ row.specification }}</div>
@@ -103,7 +103,7 @@
<el-table-column
prop="stck_name"
label="棰勫叆浠撳簱"
- width="100"
+ width="120"
>
<template slot-scope="{row}">
<div v-if="row.stck_name" class="ellipsis">{{ row.stck_name }}</div>
@@ -113,12 +113,12 @@
<el-table-column
prop="quantity"
label="鏁伴噺"
- width="63"
+ width="83"
/>
<el-table-column
prop="totalStockInQuantity"
label="宸插叆搴撴暟閲�"
- width="100"
+ width="120"
>
<template slot-scope="{row}">
<div v-if="row.totalStockInQuantity">{{ row.totalStockInQuantity }}</div>
@@ -140,16 +140,16 @@
<!-- <div v-else />-->
<!-- </template>-->
<!-- </el-table-column>-->
- <el-table-column
- prop="preFinishDate"
- label="棰勮鍏ュ簱"
- width="140"
- >
- <template slot-scope="{row}">
- <div v-if="row.preFinishDate">{{ row.preFinishDate.substring(0, 10) }}</div>
- <div v-else />
- </template>
- </el-table-column>
+ <!-- <el-table-column-->
+ <!-- prop="preFinishDate"-->
+ <!-- label="棰勮鍏ュ簱"-->
+ <!-- width="140"-->
+ <!-- >-->
+ <!-- <template slot-scope="{row}">-->
+ <!-- <div v-if="row.preFinishDate">{{ row.preFinishDate.substring(0, 10) }}</div>-->
+ <!-- <div v-else />-->
+ <!-- </template>-->
+ <!-- </el-table-column>-->
</el-table>
</div>
</div>
@@ -299,7 +299,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%; " />
@@ -326,12 +326,12 @@
<script>
import './kbCommon.css'
import { bar02, kbTop, loadEcharts } from '@/utils/myEcharts'
-// import {
-// WareHouseRightBottomData,
-// WareHouseRightTopData,
-// WareHouseTopBottomData,
-// WareHouseTopLeftData
-// } from '@/api/kanbanManager'
+import {
+ ProcureOutsourcLeftTop,
+ ProcureOutsourcLeftBottom,
+ ProcureOutsourcRightTop,
+ ProcureOutsourcRightBottom
+} from '@/api/kanbanManager'
export default {
name: 'Index2',
@@ -371,10 +371,10 @@
window.addEventListener('online', this.updateOnlineStatus)
window.addEventListener('offline', this.updateOnlineStatus)
this.updateOnlineStatus({ type: this.onLine ? 'online' : 'offline', isFirst: true })
- //
- // this.getWareHouseTopLeftData()
- // this.getWareHouseTopBottomData()
- // this.getEcharts()
+
+ this.getProcureOutsourcLeftTop()
+ this.getProcureOutsourcLeftBottom()
+ this.getEcharts()
},
beforeDestroy() {
window.removeEventListener('online', this.updateOnlineStatus)
@@ -405,8 +405,8 @@
},
// 鑾峰彇宸︿笂table鏁版嵁
- getWareHouseTopLeftData() {
- WareHouseTopLeftData().then(res => {
+ getProcureOutsourcLeftTop() {
+ ProcureOutsourcLeftTop().then(res => {
this.tableDataTop = res.data
// this.number1 = this.tableDataTop.length
const divData = this.$refs.tableDataTopRef.bodyWrapper
@@ -419,12 +419,12 @@
if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
// 閲嶇疆table璺濈椤堕儴璺濈
divData.scrollTop = 0
- WareHouseTopLeftData().then(res => {
+ ProcureOutsourcLeftTop().then(res => {
this.tableDataTop = res.data
// this.number1 = this.tableDataTop.length
if (this.tableDataTop.length > 10) {
clearInterval(this.tableTopTask)
- this.getWareHouseTopLeftData()
+ this.getProcureOutsourcLeftTop()
}
})
}
@@ -432,8 +432,8 @@
})
},
// 鑾峰彇宸︿笅table鏁版嵁
- getWareHouseTopBottomData() {
- WareHouseTopBottomData().then(res => {
+ getProcureOutsourcLeftBottom() {
+ ProcureOutsourcLeftBottom().then(res => {
this.tableDataBottom = res.data
this.number2 = this.tableDataBottom.length
const divData = this.$refs.tableDataBottomRef.bodyWrapper
@@ -447,12 +447,12 @@
if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
// 閲嶇疆table璺濈椤堕儴璺濈
divData.scrollTop = 0
- WareHouseTopBottomData().then(res => {
+ ProcureOutsourcLeftBottom().then(res => {
this.tableDataBottom = res.data
this.number2 = this.tableDataBottom.length
if (this.tableDataBottom.length > 10) {
clearInterval(this.tableBottomTask)
- this.getWareHouseTopBottomData()
+ this.getProcureOutsourcLeftBottom()
}
})
}
@@ -462,23 +462,23 @@
// 鑾峰彇echarts
getEcharts() {
- WareHouseRightTopData().then(res => {
- loadEcharts('bar03', bar02(res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.CanuseBaseQuantity), res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.materiel_name)))
+ 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)))
})
- WareHouseRightBottomData().then(res => {
- loadEcharts('bar04', bar02(res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.CanuseBaseQuantity), res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.materiel_name)))
+ ProcureOutsourcRightBottom().then(res => {
+ loadEcharts('bar04', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name)))
})
this.echartsRightTop = setInterval(() => {
- WareHouseRightTopData().then(res => {
- loadEcharts('bar03', bar02(res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.CanuseBaseQuantity), res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.materiel_name)))
+ 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)
this.echartsRightBottom = setInterval(() => {
- WareHouseRightBottomData().then(res => {
- loadEcharts('bar04', bar02(res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.CanuseBaseQuantity), res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.materiel_name)))
+ ProcureOutsourcRightBottom().then(res => {
+ loadEcharts('bar04', 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