From f34b0eceede4fe23df1ab12b1d978ff193da7f9b Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Fri, 24 Oct 2025 15:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E6=9E=B6=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/stockTaskLog/index.js | 10 +- src/views/deviceManage/bookshelf/index.vue | 12 +- .../shelfManage/shelf3dPosition.vue | 42 ++- .../checkManage/checkLog/index.vue | 245 +++++++++++++++--- .../checkManage/dataScreening/girdList.vue | 17 +- .../checkManage/dataScreening/module/form.vue | 218 ++++++++++++++-- .../checkManage/dataScreening/shelfList.vue | 38 ++- 7 files changed, 495 insertions(+), 87 deletions(-) diff --git a/src/api/stockTaskLog/index.js b/src/api/stockTaskLog/index.js index 6273ec3..5855d88 100644 --- a/src/api/stockTaskLog/index.js +++ b/src/api/stockTaskLog/index.js @@ -100,4 +100,12 @@ export function add(data) { }) } -export default { del, FetchStopStockBill, FetchInitStockLogList, FetchInitStockLogDetails, FetchProgressByStockBillAndGridCode, FetchInitStockTaskDetails, FetchNewBillNo, FetchStockGirdNum, FetchTotalGirdNum, add } +// 获取目标可盘层架信息 +export function FetchStockGirdSuccess(params) { + return request({ + url: 'api/stocktask-task/getStockGirdSuccess' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + +export default { del, FetchStopStockBill, FetchInitStockLogList, FetchInitStockLogDetails, FetchProgressByStockBillAndGridCode, FetchInitStockTaskDetails, FetchNewBillNo, FetchStockGirdNum, FetchTotalGirdNum, add, FetchStockGirdSuccess } diff --git a/src/views/deviceManage/bookshelf/index.vue b/src/views/deviceManage/bookshelf/index.vue index 7ced480..c7a50ab 100644 --- a/src/views/deviceManage/bookshelf/index.vue +++ b/src/views/deviceManage/bookshelf/index.vue @@ -59,14 +59,14 @@ {{ scope.row.signPoint ? '参与': '不参与' }} - + - + @@ -133,21 +133,21 @@ - + - + - + - + diff --git a/src/views/deviceManage/shelfManage/shelf3dPosition.vue b/src/views/deviceManage/shelfManage/shelf3dPosition.vue index 4a5288c..18e0ca5 100644 --- a/src/views/deviceManage/shelfManage/shelf3dPosition.vue +++ b/src/views/deviceManage/shelfManage/shelf3dPosition.vue @@ -55,7 +55,7 @@ - + - - + + + import { FetchRegionTree } from '@/api/deviceVI/index' +import { FetchInitBookShelfList } from '@/api/shelf/index' import PreviewMap from '../map3d/map' export default { name: 'Shelf3dPosition', @@ -146,8 +143,8 @@ export default { regionTreeData: [], treeProps: { label: 'label', children: 'children' }, form: { - code1: null, - code2: null, + code1: 0, + layerVal: null, toward: 0, code4: null }, @@ -158,6 +155,7 @@ export default { { value: 2, label: '按 “排-单面” 筛选' }, { value: 3, label: '按 “排-双面” 筛选' } ], + layerOptions: [], abOptions: [ { value: 0, name: '双面' }, { value: 1, name: 'A面' }, @@ -174,6 +172,9 @@ export default { }) }, mounted() { + // if(this.selectedValue){ + + // } this.mapData = { 'id': 1, 'libcode': '1201', @@ -209,7 +210,6 @@ export default { }, handleTreeNodeClick(nodeData) { const currentNode = this.$refs.treeRef.getNode(nodeData) - console.log(currentNode) if (currentNode.level === 1) { return @@ -224,9 +224,29 @@ export default { ? `${parentLabel} - ${nodeData.label}` : nodeData.label this.$refs.selectRef.blur() + + this.getInitBookShelfList(currentNode.data) }, handleVisibleChange(visible) { // 下拉关闭时的额外逻辑(可选) + }, + changeShelfToModel(val) { + console.log(val) + }, + getInitBookShelfList(data) { + const params = { 'floorId': data.parentFloorId, 'regionId': data.regionId } + FetchInitBookShelfList(params).then(res => { + this.layerOptions = res.content.map(item => { + return { + name: item.shelfName, + id: item.shelfId, + toward: item.toward, + rowType: item.rowType + } + }) + this.layerVal = data + }).catch(() => { + }) } } } diff --git a/src/views/visualCheck/checkManage/checkLog/index.vue b/src/views/visualCheck/checkManage/checkLog/index.vue index 0b5b86e..5e6fbce 100644 --- a/src/views/visualCheck/checkManage/checkLog/index.vue +++ b/src/views/visualCheck/checkManage/checkLog/index.vue @@ -88,32 +88,80 @@ - + -
- - - - - - - - - - - - - - - - +
+
+ + + - - - +
+
+

注意:系统检查到,有参与本次盘点的摄像头无法连接!仅{{ reachable.length }}/个层架位可盘点。

+ 不可盘点具体情况如下: +
+
+ +
+ 无法连接的摄像头( {{ ipStatusFalseNum }} /个) +
+
+ {{ item.ip }} +
+
+ +
+ 无法盘点的层架位( {{ unreachable.length }} /个) +
+
+ {{ item.gridName }} +
+
+
@@ -199,11 +247,12 @@ - + +