feat(WEB): 입금/출금 자동채우기 개선 - API 거래처 랜덤선택, 유형 미설정
- accountingData: depositType, withdrawalType을 'unset'(미설정)으로 고정 - DepositDetailClientV2: API에서 거래처 목록 가져와서 랜덤 선택 - WithdrawalDetailClientV2: API에서 거래처 목록 가져와서 랜덤 선택
This commit is contained in:
@@ -83,7 +83,7 @@ export function generateDepositData(options: GenerateDepositDataOptions = {}): D
|
||||
depositAmount: randomInt(100000, 10000000),
|
||||
note: randomPick(DEPOSIT_NOTES),
|
||||
vendorId: vendor.id,
|
||||
depositType: randomPick(DEPOSIT_TYPES.filter(t => t !== 'unset')), // unset 제외
|
||||
depositType: 'unset', // 미설정으로 고정
|
||||
};
|
||||
}
|
||||
|
||||
@@ -142,7 +142,7 @@ export function generateWithdrawalData(options: GenerateWithdrawalDataOptions =
|
||||
withdrawalAmount: randomInt(50000, 5000000),
|
||||
note: randomPick(WITHDRAWAL_NOTES),
|
||||
vendorId: vendor.id,
|
||||
withdrawalType: randomPick(WITHDRAWAL_TYPES.filter(t => t !== 'unset')), // unset 제외
|
||||
withdrawalType: 'unset', // 미설정으로 고정
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user