From 78ff08f56ce152912269a7dbaaaf36e4b03be213 Mon Sep 17 00:00:00 2001 From: git_rabbit Date: Tue, 24 Feb 2026 12:43:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B7=A5=E5=8D=95=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8D=E8=89=AF=E5=93=81=E5=BA=93=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=92=8C=E6=89=B9=E9=87=8F=E6=89=93=E5=8D=B0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在仓库选项中添加不良品库(WH007) - 在物料位置管理中增加不良品类型选项 - 将审批人输入框改为可筛选的下拉选择框 - 新增工单批量打印功能,支持多选工单后调用打印接口 --- src/utils/warehouse.js | 3 +- .../productionMaterial/MmLocation.vue | 4 ++ .../components/WorkorderDefectDialog.vue | 4 +- .../productManagement/ProWorkorder/index.vue | 44 ++++++++++++++++++- 4 files changed, 51 insertions(+), 4 deletions(-) diff --git a/src/utils/warehouse.js b/src/utils/warehouse.js index 56b0aad..eeea4ed 100644 --- a/src/utils/warehouse.js +++ b/src/utils/warehouse.js @@ -5,5 +5,6 @@ export const warehouseOptions = [ { warehouseCode: 'WH004', warehouseName: '退货库' }, { warehouseCode: 'WH005', warehouseName: '转用库' }, { warehouseCode: 'WH006', warehouseName: '报废库' }, + { warehouseCode: 'WH007', warehouseName: '不良品库' } // 更多仓库... -] \ No newline at end of file +] diff --git a/src/views/materialManagement/productionMaterial/MmLocation.vue b/src/views/materialManagement/productionMaterial/MmLocation.vue index ffe1783..4776b67 100644 --- a/src/views/materialManagement/productionMaterial/MmLocation.vue +++ b/src/views/materialManagement/productionMaterial/MmLocation.vue @@ -318,6 +318,10 @@ const state = reactive({ dictValue: '退货', dictLabel: '退货' }, + { + dictValue: '不良品', + dictLabel: '不良品' + }, { dictValue: '转用', dictLabel: '转用' diff --git a/src/views/productManagement/ProWorkorder/components/WorkorderDefectDialog.vue b/src/views/productManagement/ProWorkorder/components/WorkorderDefectDialog.vue index 6566093..2c7a29a 100644 --- a/src/views/productManagement/ProWorkorder/components/WorkorderDefectDialog.vue +++ b/src/views/productManagement/ProWorkorder/components/WorkorderDefectDialog.vue @@ -130,7 +130,9 @@ - + + + diff --git a/src/views/productManagement/ProWorkorder/index.vue b/src/views/productManagement/ProWorkorder/index.vue index 7358c14..9691072 100644 --- a/src/views/productManagement/ProWorkorder/index.vue +++ b/src/views/productManagement/ProWorkorder/index.vue @@ -75,6 +75,11 @@ 工单导出 + + + 批量打印 + + @@ -87,8 +92,9 @@ size="small" header-row-class-name="table-header" :cell-class-name="tableCellClassName" - @sort-change="sortChange"> - + @sort-change="sortChange" + @selection-change="handleSelectionChange"> +