fix(query-tool): show hold lot id via containername and align export

This commit is contained in:
egg
2026-02-22 18:32:07 +08:00
parent bfec6b2293
commit 3dc7886c90
6 changed files with 146 additions and 26 deletions

View File

@@ -111,6 +111,11 @@ const activeColumnLabels = computed(() => {
CONTAINERNAME: 'LOT ID',
};
}
if (props.activeSubTab === 'holds') {
return {
CONTAINERNAME: 'LOT ID',
};
}
return {};
});
@@ -118,6 +123,9 @@ const activeHiddenColumns = computed(() => {
if (props.activeSubTab === 'materials') {
return ['CONTAINERID', 'WORKCENTER_GROUP'];
}
if (props.activeSubTab === 'holds') {
return ['CONTAINERID'];
}
return [];
});
@@ -134,6 +142,23 @@ const activeColumnOrder = computed(() => {
'TXNDATE',
];
}
if (props.activeSubTab === 'holds') {
return [
'CONTAINERNAME',
'WORKCENTERNAME',
'HOLDTXNDATE',
'RELEASETXNDATE',
'HOLD_STATUS',
'HOLD_HOURS',
'HOLDREASONNAME',
'HOLDCOMMENTS',
'HOLDEMP',
'HOLDEMPDEPTNAME',
'RELEASEEMP',
'RELEASECOMMENTS',
'NCRID',
];
}
return [];
});