diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-17 10:41:29 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-17 10:41:29 +0000 |
| commit | c8beed57d9fb10c02b8951cd4267017984ca5beb (patch) | |
| tree | fb4fe9988eda149fee59ffdb337ab7ec3d4c3122 /lib/general-contracts/types.ts | |
| parent | 10cb50753ccf318024c4394282f9e8d968dcd1a5 (diff) | |
(최겸) 구매 일반계약 프로젝트id추가, 선적지, 하역지 연동, numbering 수정
Diffstat (limited to 'lib/general-contracts/types.ts')
| -rw-r--r-- | lib/general-contracts/types.ts | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/lib/general-contracts/types.ts b/lib/general-contracts/types.ts index 16f35dd5..2b6731b6 100644 --- a/lib/general-contracts/types.ts +++ b/lib/general-contracts/types.ts @@ -2,9 +2,9 @@ // 1. 계약구분
export const GENERAL_CONTRACT_CATEGORIES = [
- '단가계약',
- '일반계약',
- '매각계약'
+ 'unit_price', // 단가계약
+ 'general', // 일반계약
+ 'sale' // 매각계약
] as const;
export type GeneralContractCategory = typeof GENERAL_CONTRACT_CATEGORIES[number];
@@ -55,15 +55,6 @@ export const GENERAL_EXECUTION_METHODS = [ export type GeneralExecutionMethod = typeof GENERAL_EXECUTION_METHODS[number];
-// 5. 업체선정방법
-export const GENERAL_SELECTION_METHODS = [
- '견적',
- '입찰',
- '기타' // 기존 정의서의 'Null'을 '기타'로 변경, 명시적 의미 부여
-] as const;
-
-export type GeneralSelectionMethod = typeof GENERAL_SELECTION_METHODS[number];
-
// 6. 계약확정범위
export const GENERAL_CONTRACT_SCOPES = [
'단가',
@@ -117,10 +108,6 @@ export const isGeneralExecutionMethod = (value: string): value is GeneralExecuti return GENERAL_EXECUTION_METHODS.includes(value as GeneralExecutionMethod);
};
-export const isGeneralSelectionMethod = (value: string): value is GeneralSelectionMethod => {
- return GENERAL_SELECTION_METHODS.includes(value as GeneralSelectionMethod);
-};
-
export const isGeneralContractScope = (value: string): value is GeneralContractScope => {
return GENERAL_CONTRACT_SCOPES.includes(value as GeneralContractScope);
};
|
