diff --git a/src/views/deviceManage/map3d/map.vue b/src/views/deviceManage/map3d/map.vue
index 0e6f5c6..a15d081 100644
--- a/src/views/deviceManage/map3d/map.vue
+++ b/src/views/deviceManage/map3d/map.vue
@@ -163,6 +163,7 @@ export default {
console.log('name:', target?.name)
console.log('FID:', target?.FID)
this.areaFid = target?.FID
+ window.vueInstance.$emit('refreshAreaFid', this.areaFid)
}, { passive: true })
this.map.on('mapInitError', (err) => {
diff --git a/src/views/deviceManage/shelfManage/shelf3dPosition.vue b/src/views/deviceManage/shelfManage/shelf3dPosition.vue
index 2c7694e..1171186 100644
--- a/src/views/deviceManage/shelfManage/shelf3dPosition.vue
+++ b/src/views/deviceManage/shelfManage/shelf3dPosition.vue
@@ -51,7 +51,7 @@
-
+
@@ -80,19 +80,20 @@
-
-
FTZN-03-001-A-01-1
-
FTZN-03-001-A-01-2
+
+ {{ item.name }}
+
+
-
已选定位:模型ID【7069947319919185920】
-
已选架位:6
+
已选定位:模型ID【{{ currentFid }}】
+
已选架位:{{ filterShelfList.length }}
绑定
@@ -118,7 +119,7 @@
-
+
@@ -159,13 +160,15 @@ export default {
is3DMap: false,
rackOptions: [],
bindAllRackList: [],
- bindAllInquiryList: []
+ bindAllInquiryList: [],
+ filterShelfList: [],
+ currentFid: null
}
},
created() {
FetchRegionTree().then(res => {
this.regionTreeData = [this.transformData(res)]
- console.log('regionTreeData', this.regionTreeData)
+ console.log(this.regionTreeData)
this.$nextTick(() => {
if (!this.regionTreeData[0].children?.length) return
const targetFloor = this.regionTreeData[0].children.find(floor => floor.children?.length > 0)
@@ -242,11 +245,11 @@ export default {
}
FetchMapDetails(params).then(res => {
this.mapData = res
+ console.log('this.mapData', this.mapData)
this.$nextTick(() => {
if (this.$refs.map) {
this.$refs.map.dispose()
}
- console.log('this.mapData', this.mapData)
if (this.currentTreeNode.mapLevel) {
this.$refs.map.level = Number(this.currentTreeNode.mapLevel)
} else {
@@ -298,16 +301,25 @@ export default {
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
- }
- })
+ if (res.content.length === 0) {
+ this.layerOptions = []
+ this.rackOptions = []
+ } else {
+ this.layerOptions = res.content.map(item => {
+ return {
+ name: item.shelfName,
+ id: item.shelfId,
+ toward: item.toward,
+ rowType: item.rowType
+ }
+ })
+ }
}).catch(() => {
})
+ },
+ handleAreaFid(areaFid) {
+ this.currentFid = areaFid
+ console.log('mapAreaFid', areaFid)
}
}
}
diff --git a/src/views/visualCheck/bookstore/book/index2.vue b/src/views/visualCheck/bookstore/book/index2.vue
new file mode 100644
index 0000000..9614d90
--- /dev/null
+++ b/src/views/visualCheck/bookstore/book/index2.vue
@@ -0,0 +1,488 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 高级搜索
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
封面预览
+
![]()
+
+
+
+
+
+
+
搜索词:中国,搜索到1,000,100条结果,耗时:0.786 秒
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/visualCheck/checkManage/dataScreening/shelfList.vue b/src/views/visualCheck/checkManage/dataScreening/shelfList.vue
index ac815d6..98e9187 100644
--- a/src/views/visualCheck/checkManage/dataScreening/shelfList.vue
+++ b/src/views/visualCheck/checkManage/dataScreening/shelfList.vue
@@ -357,6 +357,7 @@ export default {
// this.$refs.eform.formVisible = true
this.$refs.eform.form.shelfId = this.bookShelfDetails.id
this.$refs.eform.form.stockRegion = this.floorName + '-' + this.regionName + '-' + this.bookShelfDetails.shelfName
+ this.$refs.eform.form.toward = parseInt(this.tabIndex) + 1
this.$refs.eform.setData(type)
},
doExport(type) {