From b6763f37aa9fe89b300ab036843c6aa42dc216e7 Mon Sep 17 00:00:00 2001 From: zwq Date: Thu, 26 Sep 2024 14:12:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/asrs/stacker.js | 28 ++++++ .../warehouseLocationMonitoring/index.vue | 65 ++++++++----- .../stackerDialog.vue | 96 +++++++++++++++++++ 3 files changed, 164 insertions(+), 25 deletions(-) create mode 100644 src/api/asrs/stacker.js create mode 100644 src/views/asrs/warehouseLocationMonitoring/stackerDialog.vue 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 @@ + + + +