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"> +