fix(生产物料): 同步更新查询参数中的recordFlag并显示批次号列
在MmInventory.vue中,处理出入库标志变更时同步更新查询参数中的recordFlag,确保查询条件一致。 在MmRecordOutbound.vue中,将批次号列设为可见,方便用户查看批次信息。
This commit is contained in:
@@ -912,6 +912,8 @@ function queryRecord() {
|
|||||||
function handleRecordFlagChange(value) {
|
function handleRecordFlagChange(value) {
|
||||||
// 同步更新inoroutFlag
|
// 同步更新inoroutFlag
|
||||||
inoroutFlag.value = value
|
inoroutFlag.value = value
|
||||||
|
// 更新查询参数中的recordFlag
|
||||||
|
queryParamsRecord.recordFlag = value
|
||||||
// 更新出入库类型列表
|
// 更新出入库类型列表
|
||||||
getTypeOfWarehousingList(value)
|
getTypeOfWarehousingList(value)
|
||||||
// 重新查询记录
|
// 重新查询记录
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ const columns = ref([
|
|||||||
{ visible: true, align: 'center', type: '', prop: 'quantity', label: '出库数量' },
|
{ visible: true, align: 'center', type: '', prop: 'quantity', label: '出库数量' },
|
||||||
{ visible: false, align: 'center', type: '', prop: 'unit', label: '计量单位', showOverflowTooltip: true },
|
{ visible: false, align: 'center', type: '', prop: 'unit', label: '计量单位', showOverflowTooltip: true },
|
||||||
{ visible: true, align: 'center', type: 'dict', prop: 'transactionType', 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: 'workorder', label: '工单号', showOverflowTooltip: true },
|
||||||
{ visible: true, align: 'center', type: '', prop: 'operator', label: '操作员', showOverflowTooltip: true },
|
{ visible: true, align: 'center', type: '', prop: 'operator', label: '操作员', showOverflowTooltip: true },
|
||||||
{ visible: false, align: 'center', type: '', prop: 'remarks', label: '备注', showOverflowTooltip: true }
|
{ visible: false, align: 'center', type: '', prop: 'remarks', label: '备注', showOverflowTooltip: true }
|
||||||
|
|||||||
Reference in New Issue
Block a user