|
|
|
@ -245,6 +245,15 @@ export default { |
|
|
|
if (message.data.station1028List) { |
|
|
|
this.station1028List = message.data.station1028List |
|
|
|
|
|
|
|
// 排序:等待分拣 在最上面,完成 在最下面 |
|
|
|
this.station1028List.sort((a, b) => { |
|
|
|
if (a.status === '等待分拣' && b.status !== '等待分拣') return -1 |
|
|
|
if (a.status !== '等待分拣' && b.status === '等待分拣') return 1 |
|
|
|
if (a.status === '完成' && b.status !== '完成') return 1 |
|
|
|
if (a.status !== '完成' && b.status === '完成') return -1 |
|
|
|
return 0 |
|
|
|
}) |
|
|
|
|
|
|
|
// 更新工单信息(从第一条数据中提取) |
|
|
|
if (this.station1028List.length > 0) { |
|
|
|
this.materialName = this.station1028List[0].pickingMaterialName || '' |
|
|
|
@ -252,8 +261,6 @@ export default { |
|
|
|
this.workOrderNo = this.station1028List[0].workOrderNo || '' |
|
|
|
this.workOrderTime = this.station1028List[0].workOrderTime || '' |
|
|
|
} |
|
|
|
|
|
|
|
console.log('[1028站看板] 数据更新成功:', this.station1028List.length, '条') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -414,7 +421,7 @@ export default { |
|
|
|
.screen-content { |
|
|
|
position: relative; |
|
|
|
z-index: 1; |
|
|
|
padding: 20px; |
|
|
|
padding: 8px 15px; |
|
|
|
height: calc(100vh - 60px); |
|
|
|
overflow-y: auto; |
|
|
|
|
|
|
|
@ -439,7 +446,7 @@ export default { |
|
|
|
/* ===== 拣选面板 ===== */ |
|
|
|
.picking-panel { |
|
|
|
width: 100%; |
|
|
|
height: calc(100vh - 100px); |
|
|
|
height: calc(100vh - 80px); |
|
|
|
background: rgba(70, 90, 120, 0.9); |
|
|
|
backdrop-filter: blur(10px); |
|
|
|
border: 1px solid rgba(23, 179, 163, 0.5); |
|
|
|
@ -548,7 +555,7 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
th { |
|
|
|
padding: 10px 6px; |
|
|
|
padding: 5px 6px; |
|
|
|
color: #fcfdfd; |
|
|
|
font-size: 16px; |
|
|
|
font-weight: bold; |
|
|
|
|