From 71ef286eeec2b8d5ab363590a04ee3e0665799d5 Mon Sep 17 00:00:00 2001 From: git_rabbit Date: Wed, 14 Jan 2026 12:58:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=94=9F=E4=BA=A7=E7=89=A9=E6=96=99):=20?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=9B=B4=E6=96=B0=E6=9F=A5=E8=AF=A2=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=B8=AD=E7=9A=84recordFlag=E5=B9=B6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=89=B9=E6=AC=A1=E5=8F=B7=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在MmInventory.vue中,处理出入库标志变更时同步更新查询参数中的recordFlag,确保查询条件一致。 在MmRecordOutbound.vue中,将批次号列设为可见,方便用户查看批次信息。 --- src/views/materialManagement/productionMaterial/MmInventory.vue | 2 ++ .../materialManagement/productionMaterial/MmRecordOutbound.vue | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/materialManagement/productionMaterial/MmInventory.vue b/src/views/materialManagement/productionMaterial/MmInventory.vue index 9201cbe..947c658 100644 --- a/src/views/materialManagement/productionMaterial/MmInventory.vue +++ b/src/views/materialManagement/productionMaterial/MmInventory.vue @@ -912,6 +912,8 @@ function queryRecord() { function handleRecordFlagChange(value) { // 同步更新inoroutFlag inoroutFlag.value = value + // 更新查询参数中的recordFlag + queryParamsRecord.recordFlag = value // 更新出入库类型列表 getTypeOfWarehousingList(value) // 重新查询记录 diff --git a/src/views/materialManagement/productionMaterial/MmRecordOutbound.vue b/src/views/materialManagement/productionMaterial/MmRecordOutbound.vue index 7926465..4b4dcdc 100644 --- a/src/views/materialManagement/productionMaterial/MmRecordOutbound.vue +++ b/src/views/materialManagement/productionMaterial/MmRecordOutbound.vue @@ -305,7 +305,7 @@ const columns = ref([ { visible: true, align: 'center', type: '', prop: 'quantity', label: '出库数量' }, { visible: false, align: 'center', type: '', prop: 'unit', label: '计量单位', showOverflowTooltip: true }, { visible: true, align: 'center', type: 'dict', prop: 'transactionType', label: '出库类型', showOverflowTooltip: true }, - { visible: false, align: 'center', type: '', prop: 'batchNo', label: '批次号', showOverflowTooltip: true }, + { visible: true, align: 'center', type: '', prop: 'batchNo', label: '批次号', showOverflowTooltip: true }, { visible: true, align: 'center', type: '', prop: 'workorder', label: '工单号', showOverflowTooltip: true }, { visible: true, align: 'center', type: '', prop: 'operator', label: '操作员', showOverflowTooltip: true }, { visible: false, align: 'center', type: '', prop: 'remarks', label: '备注', showOverflowTooltip: true }