fix(生产物料): 同步更新查询参数中的recordFlag并显示批次号列

在MmInventory.vue中,处理出入库标志变更时同步更新查询参数中的recordFlag,确保查询条件一致。
在MmRecordOutbound.vue中,将批次号列设为可见,方便用户查看批次信息。
This commit is contained in:
2026-01-14 12:58:17 +08:00
parent 270f2c6cc3
commit 71ef286eee
2 changed files with 3 additions and 1 deletions

View File

@@ -912,6 +912,8 @@ function queryRecord() {
function handleRecordFlagChange(value) {
// 同步更新inoroutFlag
inoroutFlag.value = value
// 更新查询参数中的recordFlag
queryParamsRecord.recordFlag = value
// 更新出入库类型列表
getTypeOfWarehousingList(value)
// 重新查询记录

View File

@@ -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 }