온배수시설 신규등록 발전유형 추가, 발전유형 선택 조건 추가

This commit is contained in:
jyha00
2025-07-08 11:24:28 +09:00
parent 2642f73432
commit 66eb77385b
4 changed files with 564 additions and 534 deletions
@@ -89,7 +89,7 @@ export default function BdstReg({ form, type }: { form: any; type?: string }) {
return (
<>
<h1 className={formH1Class}> { type !== "HTB"?"건축물 기본 정보": '발전소 기본 정보'}</h1>
<h1 className={formH1Class}> { type !== "HTB"?"건축물 기본 정보": '시설 기본 정보'}</h1>
<div className="grid grid-cols-6 gap-2 mt-4">
<div className="col-span-3">
<FormField
@@ -140,10 +140,10 @@ export default function BdstReg({ form, type }: { form: any; type?: string }) {
control={form.control}
name="bdstNm"
render={({ field }) => (
<FormUi label={ type !== "HTB"?"건축물명": '발전소명'}>
<FormUi label={ type !== "HTB"?"건축물명": '시설명'}>
<Input
className={selectClass}
placeholder= {type !== "HTB"?"건축물 명 입력하세요":'발전소명 입력하세요' }
placeholder= {type !== "HTB"?"건축물 명 입력하세요":'시설명 입력하세요' }
type="text"
{...field}
/>
@@ -156,7 +156,7 @@ export default function BdstReg({ form, type }: { form: any; type?: string }) {
control={form.control}
name="daddr"
render={({ field }) => (
<FormUi label= { type !== "HTB"?"건축물 주소": '발전소 주소'} >
<FormUi label= { type !== "HTB"?"건축물 주소": '시설 주소'} >
<Input
className={selectClass}
placeholder="위치를 입력해주세요"
File diff suppressed because it is too large Load Diff