feat: [bending] 절곡품 코드맵/품목매핑/LOT 채번 API 추가
- bending_item_mappings 테이블 마이그레이션 - BendingCodeService: 코드 체계, 품목 매핑, LOT 일련번호 생성 - BendingController: code-map, resolve-item, generate-lot 엔드포인트 - StoreOrderRequest/UpdateOrderRequest: bending_lot validation 추가
This commit is contained in:
@@ -52,6 +52,16 @@ public function rules(): array
|
||||
'options.production_reason' => 'nullable|string|max:500',
|
||||
'options.target_stock_qty' => 'nullable|numeric|min:0',
|
||||
|
||||
// 절곡품 LOT 정보 (STOCK 전용)
|
||||
'options.bending_lot' => 'nullable|array',
|
||||
'options.bending_lot.lot_number' => 'nullable|string|max:30',
|
||||
'options.bending_lot.prod_code' => 'nullable|string|max:2',
|
||||
'options.bending_lot.spec_code' => 'nullable|string|max:2',
|
||||
'options.bending_lot.length_code' => 'nullable|string|max:2',
|
||||
'options.bending_lot.raw_lot_no' => 'nullable|string|max:50',
|
||||
'options.bending_lot.fabric_lot_no' => 'nullable|string|max:50',
|
||||
'options.bending_lot.material' => 'nullable|string|max:50',
|
||||
|
||||
// 품목 배열 (전체 교체)
|
||||
'items' => 'nullable|array',
|
||||
'items.*.item_id' => 'nullable|integer|exists:items,id',
|
||||
|
||||
Reference in New Issue
Block a user