From 1302d172fc659b7a7f806c994604213599177eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Mon, 29 Apr 2024 16:59:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93-=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4=EF=BC=8C=E5=87=BA=E5=BA=93=E8=AE=B0=E5=BD=95=EF=BC=8C?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E5=8D=95=EF=BC=8C=E6=89=B9=E9=87=8F=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wmsManagement/wmGoodsNowProduction.js | 15 +- src/api/wmsManagement/wmOutOrder.js | 11 +- src/style/base.styl | 23 + .../wmsManagement/WmGoodsNowProduction.vue | 1 + .../wmsManagement/WmGoodsOutProduction.vue | 734 ++++++++---------- src/views/wmsManagement/WmOutOrder.vue | 12 +- src/views/wmsManagement/WmpatchSearch.vue | 5 +- .../TheBatchOutProductionDialog.vue | 17 +- .../TheChouseMaterial/TheChouseMaterial.vue | 6 +- .../components/TheOutboundPlan/index.vue | 41 +- .../出库记录根据出库单/index.vue | 185 +++++ .../出库记录根据批次号/index.vue | 7 +- .../出库记录根据零件号/index.vue | 6 +- 13 files changed, 612 insertions(+), 451 deletions(-) create mode 100644 src/views/wmsManagement/components/TheWmBatchSearch/出库记录根据出库单/index.vue diff --git a/src/api/wmsManagement/wmGoodsNowProduction.js b/src/api/wmsManagement/wmGoodsNowProduction.js index 9a6a77f..92b8dd0 100644 --- a/src/api/wmsManagement/wmGoodsNowProduction.js +++ b/src/api/wmsManagement/wmGoodsNowProduction.js @@ -80,4 +80,17 @@ export function updateactualInventoryQuantity(query) { method: 'get', params: query, }) -} \ No newline at end of file +} + + +/** +* 成品库当前货物表分页查询(字典形式) +* @param {查询条件} query +*/ +export function dictWmGoodsNowProduction(query) { + return request({ + url: '/mes/wm/WmGoodsNowProduction/dict', + method: 'get', + params: query, + }) +} diff --git a/src/api/wmsManagement/wmOutOrder.js b/src/api/wmsManagement/wmOutOrder.js index d6dd6ff..fd5414d 100644 --- a/src/api/wmsManagement/wmOutOrder.js +++ b/src/api/wmsManagement/wmOutOrder.js @@ -111,7 +111,16 @@ export function persistenceOrderplan(params) { }) } - +/** + * 获取出库单的持久化存储出库计划并计算计划批次当前已出库数量 + */ +export function getOutOrderPlanAndOutProductionNum(params) { + return request({ + url: '/mes/wm/WmOutOrder/getOutOrderPlanAndOutProductionNum', + method: 'get', + params + }) +} diff --git a/src/style/base.styl b/src/style/base.styl index 425c6af..7772ffa 100644 --- a/src/style/base.styl +++ b/src/style/base.styl @@ -143,3 +143,26 @@ .large-tip font-size 16px + + +// Element table 表格样式 +/* 修改表格边框颜色 */ +.el-table .el-table__body td, .el-table .el-table__header th { + border-color: #d3dce6; /* 你想要的边框颜色 */ +} + +/* 修改表格背景色 */ +.el-table .el-table__body tr.el-table__row:not(.el-table__row--striped) td { + background-color: #F2F6FC; /* 你想要的背景色 */ +} + +/* 修改表格行高亮颜色 */ +.el-table .el-table__body tr.el-table__row:hover td { + background-color: #dde5ee; /* 你想要的高亮颜色 */ +} + +/* 修改表头字体颜色和背景色 */ +.el-table .el-table__header th { + color: #303133; /* 你想要的表头字体颜色 */ + background-color: #C0C4CC; /* 你想要的表头背景色 */ +} \ No newline at end of file diff --git a/src/views/wmsManagement/WmGoodsNowProduction.vue b/src/views/wmsManagement/WmGoodsNowProduction.vue index 45c79b0..9e0c5c9 100644 --- a/src/views/wmsManagement/WmGoodsNowProduction.vue +++ b/src/views/wmsManagement/WmGoodsNowProduction.vue @@ -189,6 +189,7 @@ import { delWmGoodsNowProduction, updateWmGoodsNowProduction, getWmGoodsNowProduction, + dictWmGoodsNowProduction } from '@/api/wmsManagement/wmGoodsNowProduction.js' export default { diff --git a/src/views/wmsManagement/WmGoodsOutProduction.vue b/src/views/wmsManagement/WmGoodsOutProduction.vue index 7d9696f..cd258e7 100644 --- a/src/views/wmsManagement/WmGoodsOutProduction.vue +++ b/src/views/wmsManagement/WmGoodsOutProduction.vue @@ -9,16 +9,7 @@ + } + \ No newline at end of file diff --git a/src/views/wmsManagement/WmOutOrder.vue b/src/views/wmsManagement/WmOutOrder.vue index 21839fb..6305fcc 100644 --- a/src/views/wmsManagement/WmOutOrder.vue +++ b/src/views/wmsManagement/WmOutOrder.vue @@ -25,7 +25,7 @@ - + 搜索 重置 @@ -47,9 +47,9 @@ - + - + @@ -65,7 +65,7 @@ 停用 - + @@ -78,7 +78,7 @@ - 出库计划 + 出库详情 @@ -109,7 +109,7 @@ - + diff --git a/src/views/wmsManagement/WmpatchSearch.vue b/src/views/wmsManagement/WmpatchSearch.vue index b232e6b..a52ad34 100644 --- a/src/views/wmsManagement/WmpatchSearch.vue +++ b/src/views/wmsManagement/WmpatchSearch.vue @@ -6,6 +6,7 @@ + @@ -16,6 +17,7 @@ import TAB3 from './components/TheWmBatchSearch/入库记录根据零件号/index.vue'; import TAB4 from './components/TheWmBatchSearch/出库记录根据批次号/index.vue'; import TAB5 from './components/TheWmBatchSearch/出库记录根据零件号/index.vue'; + import TAB6 from './components/TheWmBatchSearch/出库记录根据出库单/index.vue'; export default { name: 'WmpatchSearch', components: { @@ -23,7 +25,8 @@ TAB2, TAB3, TAB4, - TAB5 + TAB5, + TAB6 }, data() { return { diff --git a/src/views/wmsManagement/components/TheBatchOutProductionDialog/TheBatchOutProductionDialog.vue b/src/views/wmsManagement/components/TheBatchOutProductionDialog/TheBatchOutProductionDialog.vue index ef4d29b..8e7baaa 100644 --- a/src/views/wmsManagement/components/TheBatchOutProductionDialog/TheBatchOutProductionDialog.vue +++ b/src/views/wmsManagement/components/TheBatchOutProductionDialog/TheBatchOutProductionDialog.vue @@ -1,6 +1,6 @@