diff --git a/src/api/asrs/warehouseStorehouseGoodsSpecification.js b/src/api/asrs/warehouseStorehouseGoodsSpecification.js index 72eabca..2790f2d 100644 --- a/src/api/asrs/warehouseStorehouseGoodsSpecification.js +++ b/src/api/asrs/warehouseStorehouseGoodsSpecification.js @@ -16,6 +16,22 @@ export function inventoryOverview(id) { method: 'get' }) } +// 熟化时间提醒 +export function rollTimeRemind(day) { + return request({ + url: '/asrs/warehouse-storehouse-goods-specification/xday?xDays=' + day, + method: 'get' + }) +} +// 导出熟化时间提醒 Excel +export function exportgetoverfinishtimeExcel(day) { + return request({ + url: '/asrs/warehouse-storehouse-goods-specification/exportgetoverfinishtime?xDays=' + day, + method: 'get', + responseType: 'blob' + }) +} + // 更新立体仓库货物规格关联 export function updateWarehouseStorehouseGoodsSpecification(data) { return request({ diff --git a/src/api/oth/delivery.js b/src/api/oth/delivery.js index b9c70ef..07d0b1e 100644 --- a/src/api/oth/delivery.js +++ b/src/api/oth/delivery.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2024-04-16 15:08:37 * @LastEditors: zwq - * @LastEditTime: 2024-05-28 14:30:33 + * @LastEditTime: 2024-07-15 13:42:39 * @Description: */ import request from '@/utils/request' @@ -131,6 +131,7 @@ export function mesoutsync(data) { return request({ url: '/asrs/delivery-history/mesoutsync', method: 'post', - data: data + data: data, + timeout: 100000, }) } diff --git a/src/layout/components/Message/index.vue b/src/layout/components/Message/index.vue index c27e8ee..9c00055 100644 --- a/src/layout/components/Message/index.vue +++ b/src/layout/components/Message/index.vue @@ -1,83 +1,84 @@ + - - - - - - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - - - - - - - - - 查看全部 - - - + + + + + diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 8e2f8ba..5be1d54 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -10,7 +10,7 @@ - + diff --git a/src/permission.js b/src/permission.js index 7125eea..dd963ab 100644 --- a/src/permission.js +++ b/src/permission.js @@ -1,3 +1,10 @@ +/* + * @Author: zwq + * @Date: 2023-10-13 16:08:51 + * @LastEditors: zwq + * @LastEditTime: 2024-05-31 14:01:29 + * @Description: + */ import router from './router' import store from './store' import { Message } from 'element-ui' diff --git a/src/router/index.js b/src/router/index.js index 99000c6..709b3c5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-17 15:10:53 * @LastEditors: zwq - * @LastEditTime: 2023-10-08 15:33:03 + * @LastEditTime: 2024-08-19 10:29:41 * @Description: */ import Vue from 'vue' @@ -83,6 +83,18 @@ export const constantRoutes = [ } ] }, + { + path: '/dict', + component: Layout, + hidden: true, + children: [{ + path: 'type/data/:dictId(\\d+)', + component: (resolve) => require(['@/views/system/dict/data'], resolve), + name: 'SystemDictData', + meta: { title: '字典数据', icon: '', activeMenu: '/system/dict' } + } + ] + }, { path: '/user', component: Layout, diff --git a/src/views/asrs/delivery/add-or-updata.vue b/src/views/asrs/delivery/add-or-updata.vue index 94ed887..e332ef5 100644 --- a/src/views/asrs/delivery/add-or-updata.vue +++ b/src/views/asrs/delivery/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: zwq - * @LastEditTime: 2024-06-03 16:50:47 + * @LastEditTime: 2024-08-19 09:42:47 * @Description: --> @@ -53,9 +53,9 @@ - 单托盘出库 - 多托盘出库 - 点对点出库 + 单托盘出库(空托盘) + 多托盘出库(自动包装线) + 点对点出库(工单出库) diff --git a/src/views/asrs/delivery/index.vue b/src/views/asrs/delivery/index.vue index 4615f98..a3b47ad 100644 --- a/src/views/asrs/delivery/index.vue +++ b/src/views/asrs/delivery/index.vue @@ -30,7 +30,7 @@ @cancel="handleCancel" @confirm="handleConfirm" :before-close="handleCancel" - width="50%"> + width="70%"> diff --git a/src/views/asrs/deliveryHis/index.vue b/src/views/asrs/deliveryHis/index.vue index eb32413..eaa436d 100644 --- a/src/views/asrs/deliveryHis/index.vue +++ b/src/views/asrs/deliveryHis/index.vue @@ -71,13 +71,13 @@ - - 同步给mes - + + 同步给mes + @@ -221,7 +221,7 @@ export default { color: 'primary', }, { - type: this.$auth.hasPermi('asrs:deliveryHis:export') ? 'button' : '', + type: this.$auth.hasPermi('asrs:deliveryHis:export') ? 'button' : '', btnName: '导出', name: 'export', color: 'primary', @@ -279,7 +279,10 @@ export default { } }, otherMethods(val) { - mesoutsync({deliveryCode:val.data.deliveryCode}).then(({ data }) => { + mesoutsync({ + deliveryCode: val.data.deliveryCode, + trayCode: val.data.trayCode, + }).then(({ data }) => { this.$message({ message: '操作成功', type: 'success', diff --git a/src/views/asrs/jobMainTask/index.vue b/src/views/asrs/jobMainTask/index.vue index e433514..eddd6f0 100644 --- a/src/views/asrs/jobMainTask/index.vue +++ b/src/views/asrs/jobMainTask/index.vue @@ -133,6 +133,18 @@ const mainTaskType = [ name: '平库移库', id: 10, }, + { + name: '盘库出库', + id: 11, + }, + { + name: '盘库入库', + id: 12, + }, + { + name: '盘库出库+移库', + id: 13, + }, ]; const mainTaskState = [ { diff --git a/src/views/asrs/jobMainTask/indexb.vue b/src/views/asrs/jobMainTask/indexb.vue index b902103..c011742 100644 --- a/src/views/asrs/jobMainTask/indexb.vue +++ b/src/views/asrs/jobMainTask/indexb.vue @@ -133,6 +133,18 @@ const mainTaskType = [ name: '平库移库', id: 10, }, + { + name: '盘库出库', + id: 11, + }, + { + name: '盘库入库', + id: 12, + }, + { + name: '盘库出库+移库', + id: 13, + }, ]; const mainTaskState = [ { diff --git a/src/views/asrs/jobMainTaskHistory/index.vue b/src/views/asrs/jobMainTaskHistory/index.vue index fadb9f4..133cd99 100644 --- a/src/views/asrs/jobMainTaskHistory/index.vue +++ b/src/views/asrs/jobMainTaskHistory/index.vue @@ -132,6 +132,18 @@ const mainTaskType = [ name: '平库移库', id: 10, }, + { + name: '盘库出库', + id: 11, + }, + { + name: '盘库入库', + id: 12, + }, + { + name: '盘库出库+移库', + id: 13, + }, ]; const mainTaskState = [ { diff --git a/src/views/asrs/mixins/code-filter.js b/src/views/asrs/mixins/code-filter.js index c7b5775..141cd25 100644 --- a/src/views/asrs/mixins/code-filter.js +++ b/src/views/asrs/mixins/code-filter.js @@ -2,7 +2,7 @@ /* * @Date: 2020-12-29 16:49:28 * @LastEditors: zwq - * @LastEditTime: 2024-06-05 11:00:34 + * @LastEditTime: 2024-06-21 15:00:05 * @FilePath: \basic-admin\src\filters\basicData\index.js * @Description: */ @@ -41,6 +41,9 @@ const table = { 8: '不带agv出库+移库', 9: '入库+12臂空托盘出库', 10: '平库移库', + 11: '盘库出库', + 12: '盘库入库', + 13: '盘库出库+移库', }, mainTaskState: { 0: '开始', @@ -52,6 +55,7 @@ const table = { 6: '已发送传输线', 7: '传输线运行中', 8: '暂时无空托盘', + 9: '已处理', }, taskSource: { 1: 'mes下发', diff --git a/src/views/asrs/rollTimeRemind/index.vue b/src/views/asrs/rollTimeRemind/index.vue new file mode 100644 index 0000000..3784e27 --- /dev/null +++ b/src/views/asrs/rollTimeRemind/index.vue @@ -0,0 +1,165 @@ + + + + + + + + + {{ this.xDays.value }} + + + {{ containerCodeArr.length }} + + + + + + + 以下每页上限 {{ pageSize }} 条数据 + + + + + {{ item.containerCode }} + + + + + + + + + diff --git a/src/views/asrs/warehousePklb/add-or-updata.vue b/src/views/asrs/warehousePklb/add-or-updata.vue index f1c58a3..0e89e5f 100644 --- a/src/views/asrs/warehousePklb/add-or-updata.vue +++ b/src/views/asrs/warehousePklb/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-22 15:01:55 * @LastEditors: zwq - * @LastEditTime: 2024-06-07 15:50:38 + * @LastEditTime: 2024-06-21 15:18:01 * @Description: --> @@ -75,7 +75,12 @@ :height="400" :table-data="productAttributeList"> - + 检查 @@ -84,7 +89,7 @@ 返回 - + { - if (response.data.list.length>0) { + if (response.data.list.length > 0) { this.dataForm = response.data.list[0]; } this.productAttributeList = response.data.list; + this.productAttributeList.forEach((item) => { + item.isDisabled = this.isDetail; + if (this.isDetail) { + item.inventoryInput = item.rollCodeCheck; + } + }); }); }); }, @@ -214,18 +228,20 @@ export default { } }); if (cancel) return; - const data = { - warehouseStorehouseStorageId:this.dataForm.warehouseStorehouseStorageId, - userInputCheckList:strings - } - getWarehousePklbDetailCheck(data).then((response) => { - this.$modal.msgWarning(response); - this.isloading = false; - }) - .catch((error) => { - console.error('There was an error!', error); - this.isloading = false; - }); + const data = { + warehouseStorehouseStorageId: + this.dataForm.warehouseStorehouseStorageId, + userInputCheckList: strings, + }; + getWarehousePklbDetailCheck(data) + .then((response) => { + this.$modal.msgWarning(response); + this.isloading = false; + }) + .catch((error) => { + console.error('There was an error!', error); + this.isloading = false; + }); }, // 同步mes出库 checkout() { @@ -234,16 +250,17 @@ export default { this.dataForm.warehouseStorehouseStorageId, }; this.isloading = true; - checkout(data).then((response) => { - this.$modal.msgSuccess('同步mes出库成功'); - this.visible = false; - this.isloading = false; - this.$emit('refreshDataList'); - }) - .catch((error) => { - console.error('There was an error!', error); - this.isloading = false; - }); + checkout(data) + .then((response) => { + this.$modal.msgSuccess('同步mes出库成功'); + this.visible = false; + this.isloading = false; + this.$emit('refreshDataList'); + }) + .catch((error) => { + console.error('There was an error!', error); + this.isloading = false; + }); }, // 入库 makeIn() { @@ -252,16 +269,17 @@ export default { makeoutlist: this.productAttributeList, }; this.isloading = true; - makeWarehouseIn(data).then((response) => { - this.$modal.msgSuccess('入库成功'); - this.visible = false; - this.isloading = false; - this.$emit('refreshDataList'); - }) - .catch((error) => { - console.error('There was an error!', error); - this.isloading = false; - }); + makeWarehouseIn(data) + .then((response) => { + this.$modal.msgSuccess('入库成功'); + this.visible = false; + this.isloading = false; + this.$emit('refreshDataList'); + }) + .catch((error) => { + console.error('There was an error!', error); + this.isloading = false; + }); }, goback() { this.$emit('refreshDataList'); diff --git a/src/views/asrs/warehousePklb/index.vue b/src/views/asrs/warehousePklb/index.vue index 52edccd..82588d6 100644 --- a/src/views/asrs/warehousePklb/index.vue +++ b/src/views/asrs/warehousePklb/index.vue @@ -14,7 +14,7 @@ @@ -180,6 +180,10 @@ const mainTaskState = [ name: '暂时无空托盘', id: 8, }, + { + name: '已处理', + id: 9, + }, ]; export default { mixins: [basicPage], @@ -209,6 +213,20 @@ export default { ], }, }, + { + type: 'detail', + btnName: '详情', + showParam: { + type: '&', + data: [ + { + type: 'equal', + name: 'mainTaskState', + value: 9, + }, + ], + }, + }, ], tableData: [], formConfig: [ @@ -319,11 +337,19 @@ export default { } }, otherMethods(val) { - this.addOrUpdateVisible = true; - this.addOrEditTitle = '盘货明细表'; - this.$nextTick(() => { - this.$refs.addOrUpdate.init(val.data); - }); + if (val.type === 'check') { + this.addOrUpdateVisible = true; + this.addOrEditTitle = '盘货明细表'; + this.$nextTick(() => { + this.$refs.addOrUpdate.init(val.data, false); + }); + } else if (val.type === 'detail') { + this.addOrUpdateVisible = true; + this.addOrEditTitle = '盘货明细表'; + this.$nextTick(() => { + this.$refs.addOrUpdate.init(val.data, true); + }); + } }, }, }; diff --git a/src/views/asrs/warehousePklb/inputArea.vue b/src/views/asrs/warehousePklb/inputArea.vue new file mode 100644 index 0000000..e65cff4 --- /dev/null +++ b/src/views/asrs/warehousePklb/inputArea.vue @@ -0,0 +1,55 @@ + + + + + + + + diff --git a/src/views/asrs/warehouseStorehouseStorageHistory/index.vue b/src/views/asrs/warehouseStorehouseStorageHistory/index.vue index ee49c79..bd9cc11 100644 --- a/src/views/asrs/warehouseStorehouseStorageHistory/index.vue +++ b/src/views/asrs/warehouseStorehouseStorageHistory/index.vue @@ -26,6 +26,7 @@ + @@ -76,29 +76,28 @@ export default { exportURL: exportFinishProductWarehouseExcel, }, listQuery: { - wareLayer: 1, total: 0, }, wareData: [], bgColor: ['#d3d3d3', '#16DC09'], //空,满 formConfig: [ - { - type: 'select', - label: '选择层', - selectOptions: [ - { id: 1, name: '1' }, - { id: 2, name: '2' }, - { id: 3, name: '3' }, - { id: 4, name: '4' }, - ], - param: 'value', - filterable: true, - defaultSelect: 1, - clearable: false, - }, + // { + // type: 'select', + // label: '选择层', + // selectOptions: [ + // { id: 1, name: '1' }, + // { id: 2, name: '2' }, + // { id: 3, name: '3' }, + // { id: 4, name: '4' }, + // ], + // param: 'value', + // filterable: true, + // defaultSelect: 1, + // clearable: false, + // }, { type: 'button', - btnName: '搜索', + btnName: '刷新', name: 'search', color: 'primary', }, @@ -128,7 +127,6 @@ export default { buttonClick(val) { switch (val.btnName) { case 'search': - this.listQuery.wareLayer = val.value; this.getDataList(); break; case 'export':