diff --git a/src/views/checkManage/Subsection.vue b/src/views/checkManage/Subsection.vue index b239561..e11ec18 100644 --- a/src/views/checkManage/Subsection.vue +++ b/src/views/checkManage/Subsection.vue @@ -31,8 +31,10 @@ + :id="`${direction}-${side}-${random.row[0] + random.row[1] - rowIndex - 1}-${column}`" + + > + {{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) } } diff --git a/src/views/checkManage/checkOperation.vue b/src/views/checkManage/checkOperation.vue index 8fbba24..bdbe2da 100644 --- a/src/views/checkManage/checkOperation.vue +++ b/src/views/checkManage/checkOperation.vue @@ -271,7 +271,6 @@ export default { 1: "盘点异常", 2: "核对正确", 3: "人工核对正确", - 4: "空托盘", }, }; }, diff --git a/src/views/checkManage/index.vue b/src/views/checkManage/index.vue index ad972fd..81f53d4 100644 --- a/src/views/checkManage/index.vue +++ b/src/views/checkManage/index.vue @@ -76,13 +76,7 @@ > 人工核对 - - - 空托盘 - +
@@ -168,85 +162,7 @@
- -
- -
-
+