From 3ae4d4e84face9c3f81a8cd74e6458b5914a43e0 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 20 6月 2024 14:29:53 +0800
Subject: [PATCH] 2
---
yiqi_pda/pages/outBound/index.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/yiqi_pda/pages/outBound/index.vue b/yiqi_pda/pages/outBound/index.vue
index 27c1cda..0e8f82c 100644
--- a/yiqi_pda/pages/outBound/index.vue
+++ b/yiqi_pda/pages/outBound/index.vue
@@ -86,15 +86,19 @@
// 鑾峰彇宸ヤ欢淇℃伅
async onSearchContainter(OP80NewCode) {
this.inputFocus=false
- this.initFocus(100);
const param = {
OP80NewCode: OP80NewCode
}
try{
let {data}=await getWorkPieceByOP80NewCode(param)
if(!this.workPieceData.some(item=>item.workPieceID==data.workPieceID)) {
+ data.addTime=new Date();
this.workPieceData.push(data)
}
+ //椤哄簭璋冭浆锛屾帓搴�
+ this.workPieceData.sort((a, b) => b.addTime - a.addTime);
+
+ this.initFocus(100);
//console.log(this.workPieceData,'dsts');
// setTimeout(()=>{
// this.OP80NewCode = '' ;//姣忔鍒峰畬灏辨竻绌鸿緭鍏ユ 銆怑ditby shaocx,2024-06-12銆�
--
Gitblit v1.9.3