소스 검색

update default store location for FA and WIP

reset-do-picking-order
kelvin.yau 1 주 전
부모
커밋
5a0b3a43d0
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      src/components/Qc/QcStockInModal.tsx

+ 3
- 3
src/components/Qc/QcStockInModal.tsx 파일 보기

@@ -223,7 +223,7 @@ const QcStockInModal: React.FC<Props> = ({
acceptQty: d.status != StockInStatus.REJECTED ? (d.acceptedQty ?? d.receivedQty ?? d.demandQty) : 0,
// escResult: (d.escResult && d.escResult?.length > 0) ? d.escResult : [],
// qcResult: (d.qcResult && d.qcResult?.length > 0) ? d.qcResult : [],//[...dummyQCData],
warehouseId: d.defaultWarehouseId ?? 489,
warehouseId: d.defaultWarehouseId ?? 1141,
putAwayLines: d.putAwayLines?.map((line) => ({...line, printQty: 1, _isNew: false, _disableDelete: true})) ?? [],
} as ModalFormInput
)
@@ -464,10 +464,10 @@ const QcStockInModal: React.FC<Props> = ({
const shouldAutoPutaway = isJobOrderBom || isFaItem;
if (shouldAutoPutaway) {
// Auto putaway to default warehouse
const defaultWarehouseId = stockInLineInfo?.defaultWarehouseId ?? 489;
const defaultWarehouseId = stockInLineInfo?.defaultWarehouseId ?? 1141;
// Get warehouse name from warehouse prop or use default
let defaultWarehouseName = "2F-W201-#A-01"; // Default warehouse name
let defaultWarehouseName = "2F-W200-#A-00"; // Default warehouse name
if (warehouse && warehouse.length > 0) {
const defaultWarehouse = warehouse.find(w => w.id === defaultWarehouseId);
if (defaultWarehouse) {


불러오는 중...
취소
저장