diff --git a/src/api/asrs/stacker.js b/src/api/asrs/stacker.js new file mode 100644 index 0000000..cd255b2 --- /dev/null +++ b/src/api/asrs/stacker.js @@ -0,0 +1,28 @@ +/* + * @Author: zwq + * @Date: 2023-08-22 15:23:58 + * @LastEditors: zwq + * @LastEditTime: 2024-09-23 14:03:46 + * @Description: + */ +import request from '@/utils/request' + + +// 更新巷道 +export function updateStacker(data) { + return request({ + url: '/asrs/stacker/update', + method: 'put', + data: data, + timeout: 100000, + }) +} + +// 获得巷道分页 +export function getStackerPage(query) { + return request({ + url: '/asrs/stacker/page', + method: 'get', + params: query + }) +} diff --git a/src/views/asrs/warehouseLocationMonitoring/index.vue b/src/views/asrs/warehouseLocationMonitoring/index.vue index 26a2f14..5f0f268 100644 --- a/src/views/asrs/warehouseLocationMonitoring/index.vue +++ b/src/views/asrs/warehouseLocationMonitoring/index.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2024-01-17 09:58:41 * @LastEditors: zwq - * @LastEditTime: 2024-02-22 14:07:03 + * @LastEditTime: 2024-09-23 14:05:14 * @Description: --> @@ -223,6 +229,7 @@ import { exportWarehouseStorehouseExcel, } from '@/api/asrs/warehouseStorehouse'; import potDialog from './potDialog'; +import stackerDialog from './stackerDialog'; export default { mixins: [basicPage], @@ -236,6 +243,7 @@ export default { wareLayer: 1, }, diaVisible: false, + stackerVisible: false, wareData: [], bgColor: ['#d3d3d3', '#7362F3', '#16DC09'], //空,锁,满 formConfig: [ @@ -271,6 +279,7 @@ export default { }, components: { potDialog, + stackerDialog, }, created() {}, methods: { @@ -302,6 +311,12 @@ export default { this.$refs.dialogRef.init(); }); }, + stackerBtn() { + this.stackerVisible = true; + this.$nextTick(() => { + this.$refs.stackerRef.init(); + }); + }, }, }; @@ -357,7 +372,7 @@ export default { width: 100%; height: 30px; &:hover { - border: 1px #000000 dashed; + border: 1px #000000 dashed; transform: scale(1.3); } } diff --git a/src/views/asrs/warehouseLocationMonitoring/stackerDialog.vue b/src/views/asrs/warehouseLocationMonitoring/stackerDialog.vue new file mode 100644 index 0000000..97fda33 --- /dev/null +++ b/src/views/asrs/warehouseLocationMonitoring/stackerDialog.vue @@ -0,0 +1,96 @@ + + + +