feat: [생산지시] 전용 API + 자재투입/공정 개선

- ProductionOrder 전용 엔드포인트 (목록/통계/상세)
- 재고생산 보조공정 일반 워크플로우에서 분리
- 자재투입 replace 모드 + bom_group_key 개별 저장
- 공정단계 options 컬럼 추가 (검사 설정/범위)
- 셔터박스 prefix isStandard 파라미터 제거

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 02:57:59 +09:00
parent f9cd219f67
commit 4dd38ab14d
17 changed files with 1335 additions and 101 deletions

View File

@@ -6,6 +6,7 @@
use App\Models\Members\User;
use App\Models\Orders\Order;
use App\Models\Process;
use App\Models\Qualitys\Inspection;
use App\Models\Tenants\Department;
use App\Models\Tenants\Shipment;
use App\Traits\Auditable;
@@ -234,6 +235,14 @@ public function shipments(): HasMany
return $this->hasMany(Shipment::class);
}
/**
* 품질검사 (IQC/PQC/FQC)
*/
public function inspections(): HasMany
{
return $this->hasMany(Inspection::class);
}
/**
* 생성자
*/