fix(WEB): 수주 등록/수정 옵션 필드 저장 및 담당자 표시 문제 해결
- FormRequest에 options 필드 validation 추가 (StoreOrderRequest, UpdateOrderRequest) - shipping_cost_code, receiver, receiver_contact, shipping_address 등 - OrderService.show()에서 client 로드 시 manager_name 필드 추가 - 수주확정/생산지시 되돌리기 기능 추가 (revertOrderConfirmation, revertProductionOrder) - 견적 calculation_inputs 포함하여 로드 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -41,6 +41,14 @@ public function rules(): array
|
||||
'remarks' => 'nullable|string',
|
||||
'note' => 'nullable|string',
|
||||
|
||||
// 옵션 (운임비용, 수신자 정보 등)
|
||||
'options' => 'nullable|array',
|
||||
'options.shipping_cost_code' => 'nullable|string|max:50',
|
||||
'options.receiver' => 'nullable|string|max:100',
|
||||
'options.receiver_contact' => 'nullable|string|max:100',
|
||||
'options.shipping_address' => 'nullable|string|max:500',
|
||||
'options.shipping_address_detail' => 'nullable|string|max:500',
|
||||
|
||||
// 품목 배열 (전체 교체)
|
||||
'items' => 'nullable|array',
|
||||
'items.*.item_id' => 'nullable|integer|exists:items,id',
|
||||
|
||||
Reference in New Issue
Block a user