chore(WEB): DevFill 견적 가로/세로 100단위로 생성되도록 변경
This commit is contained in:
@@ -229,8 +229,8 @@ export function QuoteRegistrationV2({
|
||||
|
||||
const randomFloor = floors[Math.floor(Math.random() * floors.length)];
|
||||
const randomPrefix = codePrefix[Math.floor(Math.random() * codePrefix.length)];
|
||||
const randomWidth = Math.floor(Math.random() * 4000) + 2000; // 2000~6000
|
||||
const randomHeight = Math.floor(Math.random() * 3000) + 2000; // 2000~5000
|
||||
const randomWidth = (Math.floor(Math.random() * 40) + 20) * 100; // 2000~6000 (100단위)
|
||||
const randomHeight = (Math.floor(Math.random() * 30) + 20) * 100; // 2000~5000 (100단위)
|
||||
// BOM이 있는 제품 중에서 랜덤 선택 (없으면 전체에서 선택)
|
||||
const productPool = productsWithBom.length > 0 ? productsWithBom : finishedGoods;
|
||||
const randomProduct = productPool[Math.floor(Math.random() * productPool.length)];
|
||||
|
||||
Reference in New Issue
Block a user