From c02a3ebf5b4338710c4f9ae231d72cf591dfb97f Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期一, 02 十二月 2024 11:28:04 +0800
Subject: [PATCH] 1.修改 批量派发 没绑定工艺路线的单子,显示在最前面
---
src/views/kanbanManager/zhkb.vue | 63 ++++++++++++++++---------------
1 files changed, 32 insertions(+), 31 deletions(-)
diff --git a/src/views/kanbanManager/zhkb.vue b/src/views/kanbanManager/zhkb.vue
index a004284..24b784d 100644
--- a/src/views/kanbanManager/zhkb.vue
+++ b/src/views/kanbanManager/zhkb.vue
@@ -54,8 +54,8 @@
</div>
<div class="content02Parent">
<div class="content02">
- <div class="content02_1 ">浠诲姟</div>
- <div class="content02_2 borderTop ">{{ parseFloat(it.planqty) }}</div>
+ <div class="content02_1 ">寮�宸�</div>
+ <div class="content02_2 borderTop ">{{ parseFloat(it.startqty) }}</div>
</div>
<div class="content02">
<div class="content02_1 ">鍚堟牸</div>
@@ -143,7 +143,7 @@
<el-table-column
prop="saleOrderCode"
label="閿�鍞鍗曞彿"
- width="170"
+ width="160"
>
<template slot-scope="{row}">
<div v-if="row.saleOrderCode">{{ row.saleOrderCode }}</div>
@@ -153,7 +153,7 @@
<el-table-column
prop="wo_code"
label="鍔犲伐鍗曞彿"
- width="190"
+ width="200"
/>
<el-table-column
prop="partname"
@@ -233,14 +233,14 @@
label="搴忓彿"
width="60"
/>
- <el-table-column
- prop="linename"
- width="125"
- label="浜х嚎"
- />
+ <!-- <el-table-column-->
+ <!-- prop="linename"-->
+ <!-- width="125"-->
+ <!-- label="浜х嚎"-->
+ <!-- />-->
<el-table-column
prop="partname"
- width="160"
+ width="260"
label="浜у搧"
>
<template slot-scope="{row}">
@@ -251,7 +251,7 @@
<el-table-column
prop="good_qty"
label="鏁伴噺"
- width="90"
+ width="115"
>
<template slot-scope="{row}">
<div>{{ parseFloat(row.good_qty) }}</div>
@@ -308,6 +308,7 @@
{ code: '205', name: '鍖呰杞﹂棿' },
{ code: '204', name: '鍠锋秱杞﹂棿' },
{ code: '203', name: '鎶涘厜杞﹂棿' },
+ // { code: '001', name: '鍘嬮摳杞﹂棿' }
{ code: '201', name: '鍘嬮摳杞﹂棿' }
],
title: '杞﹂棿缁煎悎'
@@ -326,7 +327,7 @@
// 涓ゅ皬鏃剁湅鏉垮埛鏂颁竴娆�
setInterval(() => {
window.location.reload()
- }, 1000 * 60 * 60 * 10)
+ }, 1000 * 60 * 120)
},
mounted() {
// 鐩戝惉缃戠粶鏄惁鍦ㄧ嚎
@@ -551,23 +552,23 @@
getLineSearchTopRightData() {
LineSearchTopRightData({ shopcode: this.ShopArr.join(',') }).then(res => {
this.tableDataRightTop = res.data
- const divData = this.$refs.tableDataRightTopRef.bodyWrapper
-
- const temp = setInterval(() => {
- divData.scrollTop += 1
-
- if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
- divData.scrollTop = 0
- LineSearchTopRightData({ shopcode: this.ShopArr.join(',') }).then(res => {
- this.tableDataRightTop = res.data
-
- if (this.tableDataRightTop.length > 10) {
- clearInterval(temp)
- this.getLineSearchTopRightData()
- }
- })
- }
- }, this.tableDataRightTop.length <= 10 ? 1000 * 15 : 300)
+ // const divData = this.$refs.tableDataRightTopRef.bodyWrapper
+ //
+ // const temp = setInterval(() => {
+ // divData.scrollTop += 1
+ //
+ // if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
+ // divData.scrollTop = 0
+ // LineSearchTopRightData({ shopcode: this.ShopArr.join(',') }).then(res => {
+ // this.tableDataRightTop = res.data
+ //
+ // if (this.tableDataRightTop.length > 9) {
+ // clearInterval(temp)
+ // this.getLineSearchTopRightData()
+ // }
+ // })
+ // }
+ // }, this.tableDataRightTop.length <= 9 ? 1000 * 15 : 300)
})
// let startValue = 0 // 鍒濆鍊�
@@ -607,13 +608,13 @@
LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
this.tableDataLeftBottom = res.data
- if (this.tableDataLeftBottom.length > 10) {
+ if (this.tableDataLeftBottom.length > 9) {
clearInterval(this.TableDataRollTask)
this.getLeftBottomData()
}
})
}
- }, this.tableDataLeftBottom.length <= 10 ? 1000 * 15 : 200)
+ }, this.tableDataLeftBottom.length <= 9 ? 1000 * 15 : 200)
})
// let startValue = 0 // 鍒濆鍊�
--
Gitblit v1.9.3