改为只有rfid

just-order-rfid
LAPTOP-S9HJSOEB\昊天 1 year ago
parent 9cd06f4792
commit 081d0b4673

@ -31,8 +31,10 @@
<!--渲染默认巷道框架规格 定位浮在 已有巷道上做对应-->
<span
class="default"
:id="`${direction}-${side}-${random.row[0] + random.row[1] - rowIndex - 1}-${column}`"
@click="tocheckPage(random.row[0] + random.row[1] - rowIndex - 1,column)">
:id="`${direction}-${side}-${random.row[0] + random.row[1] - rowIndex - 1}-${column}`"
>
<!-- @click="tocheckPage(random.row[0] + random.row[1] - rowIndex - 1,column)"> -->
<!-- {{column}}-{{ random.row[0] + random.row[1] - rowIndex - 1}} -->
{{column}}
@ -209,6 +211,10 @@ export default {
},
methods: {
getTrayCode(row,column,direction){
console.log(row,column,direction);
},
changeTab(value){
document.cookie = "s"+this.streetId+"d"+this.direction+"e"+this.side + "c"+ "=" +value;
@ -241,7 +247,7 @@ export default {
return this.getRandom(val, this.latticeColumn, this.nums.column, this.total.column).split(' - ').map(item => Number(item));
},
getStatusBg(row,column,status) {
getStatusBg(row,column,status,trayCode) {
var dom = document.getElementById(this.direction+"-"+this.side+"-"+row+'-'+column);
var color;
if(status == -1){
@ -258,6 +264,11 @@ export default {
color = '#bfbfbf'
}
dom.style.background = color
console.log(trayCode);
if (trayCode != null && trayCode !== "") {
dom.title ="rfid扫描结果"+ trayCode
}
},
getStatus(){
@ -287,7 +298,7 @@ export default {
if(res.code == 200){
if(res.data.stocks){
for(let a of res.data.stocks){
this.getStatusBg(a.row,a.column,a.status)
this.getStatusBg(a.row,a.column,a.status,a.trayCode)
}
}

@ -271,7 +271,6 @@ export default {
1: "盘点异常",
2: "核对正确",
3: "人工核对正确",
4: "空托盘",
},
};
},

@ -76,13 +76,7 @@
></a-tag>
人工核对
</span>
<span class="info-text">
<a-tag
color="#bc55cf"
style="width: 30px; height: 20px; margin-right: 6px"
></a-tag>
空托盘
</span>
</div>
<div style="margin: 10px">
@ -168,85 +162,7 @@
</subsection>
</div>
</a-col>
<a-col :span="4">
<div
class="img-box"
style=""
>
<ul>
<li class="img-box-item">
<span class="img-box-title">
盘点批次:
</span>
<span class="img-box-value">
{{params.lotnum }}
</span>
</li>
<li class="img-box-item">
<span class="img-box-title">
盘点个数:
</span>
<span class="img-box-value">
{{params.size}}
</span>
</li>
<li class="img-box-item">
<span class="img-box-title">
品规个数:
</span>
<span class="img-box-value">
{{params.sizeCategory }}
</span>
</li><li class="img-box-item">
<span class="img-box-title">
空托盘数:
</span>
<span class="img-box-value">
{{params.type4 }}
</span>
</li><li class="img-box-item">
<span class="img-box-title">
盘点正常:
</span>
<span class="img-box-value">
{{params.type2 }}
</span>
</li>
<li class="img-box-item">
<span class="img-box-title">
盘点异常:
</span>
<span class="img-box-value">
{{params.type1 }}
</span>
</li><li class="img-box-item">
<span class="img-box-title">
人工盘点:
</span>
<span class="img-box-value">
{{params.type3 }}
</span>
</li>
<li class="img-box-item">
<span class="img-box-title">
盘点时间:
</span>
<span class="img-box-value">
{{params.time }}
</span>
</li>
</ul>
</div>
</a-col>
<!-- websocket推送信息 -->
<!-- <a-col :span="6" style="height: 80vh; overflow-y: scroll">
<a-timeline style="margin: 20px">

@ -120,9 +120,6 @@
人工核对正确
</a-select-option>
<a-select-option :value=4>
空托盘
</a-select-option>
</a-select>
</a-form-item>
</a-col>
@ -238,7 +235,6 @@ export default {
1: "盘点异常",
2: "核对正确",
3: "人工核对正确",
4: "空托盘",
},
queryParam: {
lotnum: "",
@ -282,8 +278,8 @@ export default {
scopedSlots: { customRender: "status" },
},
{
title: "照片",
scopedSlots: { customRender: "pic" },
title: "rfid",
dataIndex:"trayCode",
width: 320,
},
{

Loading…
Cancel
Save