Quellcode durchsuchen

excel version for stocktakevaiance report, lotlabelprint modal show locatioln update

MergeProblem1
Tommy\2Fi-Staff vor 1 Tag
Ursprung
Commit
b005b1c2fb
3 geänderte Dateien mit 11 neuen und 3 gelöschten Zeilen
  1. +1
    -1
      src/app/(main)/report/page.tsx
  2. +1
    -1
      src/components/FinishedGoodSearch/GoodPickExecutiondetail.tsx
  3. +9
    -1
      src/components/InventorySearch/LotLabelPrintModal.tsx

+ 1
- 1
src/app/(main)/report/page.tsx Datei anzeigen

@@ -504,7 +504,7 @@ export default function ReportPage() {
setLoading={setLoading}
reportTitle={currentReport.title}
/>
) : currentReport.id === 'rep-013' || currentReport.id === 'rep-009' ? (
) : currentReport.id === 'rep-013' || currentReport.id === 'rep-009' || currentReport.id === 'rep-012' ? (
<>
<Button
variant="contained"


+ 1
- 1
src/components/FinishedGoodSearch/GoodPickExecutiondetail.tsx Datei anzeigen

@@ -5054,7 +5054,7 @@ const PickExecution: React.FC<Props> = ({
setLotLabelPrintReminderText(null);
}}
initialPayload={lotLabelPrintInitialPayload}
defaultPrinterName="Label機 2F 大堂"
defaultPrinterName="Label機 2F A+B"
hideScanSection
reminderText={lotLabelPrintReminderText ?? undefined}
/>


+ 9
- 1
src/components/InventorySearch/LotLabelPrintModal.tsx Datei anzeigen

@@ -51,12 +51,16 @@ type QrCodeAnalysisResponse = {
stockInLineId: number;
lotNo: string;
inventoryLotLineId: number;
warehouseCode?: string | null;
warehouseName?: string | null;
};
sameItemLots: Array<{
lotNo: string;
inventoryLotLineId: number;
availableQty: number;
uom: string;
warehouseCode?: string | null;
warehouseName?: string | null;
}>;
};

@@ -513,6 +517,7 @@ const LotLabelPrintModal: React.FC<LotLabelPrintModalProps> = ({
{availableLots.map((lot) => {
const isPrinting =
printingLotLineId === lot.inventoryLotLineId;
const loc = String(lot.warehouseCode ?? "").trim();
return (
<Box
key={lot.inventoryLotLineId}
@@ -537,9 +542,12 @@ const LotLabelPrintModal: React.FC<LotLabelPrintModalProps> = ({
Lot:{lot.lotNo}
{lot._scanned ? "(已掃)" : ""}
</Typography>
<Typography variant="body2" color="text.secondary">
位置:{loc || "—"}
</Typography>
<Typography variant="body2" color="text.secondary">
可用量:{Number(lot.availableQty).toLocaleString()}{" "}
{lot.uom || ""}
單位:{lot.uom || ""}
</Typography>
</Box>
<Box sx={{ ml: "auto" }}>


Laden…
Abbrechen
Speichern