Sfoglia il codice sorgente

stock take issue fix

production
CANCERYS\kw093 3 settimane fa
parent
commit
bf6c0f43e6
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. +4
    -2
      src/components/StockTakeManagement/PickerReStockTake.tsx

+ 4
- 2
src/components/StockTakeManagement/PickerReStockTake.tsx Vedi File

@@ -256,9 +256,11 @@ const PickerReStockTake: React.FC<PickerReStockTakeProps> = ({
...d,
stockTakeRecordId: savedId ?? d.stockTakeRecordId,
firstStockTakeQty: isFirstSubmit ? availableQty : d.firstStockTakeQty,
firstBadQty: isFirstSubmit ? badQty : d.firstBadQty ?? null,
firstBadQty: isFirstSubmit ?
badValidated.qty : d.firstBadQty ?? null,
secondStockTakeQty: isSecondSubmit ? availableQty : d.secondStockTakeQty,
secondBadQty: isSecondSubmit ? badQty : d.secondBadQty ?? null,
secondBadQty: isSecondSubmit ?
badValidated.qty : d.secondBadQty ?? null,
remarks: isSecondSubmit ? (recordInputs[detail.id]?.remark || null) : d.remarks,
stockTakeRecordStatus: "pass",
}


Caricamento…
Annulla
Salva