Explorar el Código

fix stock leger balance part

fix負數倉
CANCERYS\kw093 hace 1 semana
padre
commit
4df3a1544c
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      src/components/StockLedgerFix/StockLedgerFixPageClient.tsx

+ 3
- 3
src/components/StockLedgerFix/StockLedgerFixPageClient.tsx Ver fichero

@@ -553,7 +553,7 @@ const StockLedgerFixPageClient: React.FC = () => {
const onFixInventoryScope = async () => { const onFixInventoryScope = async () => {
if (!scope || scope.kind !== "inventory" || fixInFlight.current) return; if (!scope || scope.kind !== "inventory" || fixInFlight.current) return;
const ok = window.confirm( const ok = window.confirm(
"會重算這顆 inventory 今天以前全部 ledger 的 lotQty、日結,以及這顆料的 balance。確定?",
"會重算這顆 inventory 到今天為止全部 ledger 的 lotQty、日結,以及這顆料的 balance。確定?",
); );
if (!ok) return; if (!ok) return;
fixInFlight.current = true; fixInFlight.current = true;
@@ -1062,8 +1062,8 @@ const StockLedgerFixPageClient: React.FC = () => {
<Paper sx={{ p: 2 }}> <Paper sx={{ p: 2 }}>
<Stack spacing={2}> <Stack spacing={2}>
<Typography variant="body2" color="text.secondary"> <Typography variant="body2" color="text.secondary">
搜 itemCode 或 inventoryId。Fix 會重算這顆料今天以前全部流水的 lotQty、日結與
balance,不必逐日點日曆。
搜 itemCode 或 inventoryId。Fix 會重算這顆料到今天為止全部流水的 lotQty、日結與
balance,不必逐日點日曆。白天倉還在寫這顆料時,修完後新流水仍由 live writer 接。
</Typography> </Typography>
<Stack direction="row" spacing={1}> <Stack direction="row" spacing={1}>
<TextField <TextField


Cargando…
Cancelar
Guardar