시설명 작업중

This commit is contained in:
leedj312
2025-07-09 09:44:19 +09:00
parent eb5cdf4912
commit 779cc442e8
3 changed files with 10 additions and 3 deletions
@@ -118,7 +118,8 @@ export default function Home() {
className=""
size={"sm"}
onClick={(e) => {
rainSearch(searchTxt || "", pageNation, "41");
rainSearch(searchTxt || "", 1, "41");
//rainSearch(searchTxt || "", pageNation, "41");
}}
>
조회
@@ -3,7 +3,7 @@ import type { TableUpperProps } from "@/app/store/common/type/header";
export const htdTableHeadList: TableUpperProps[] = [
{ id: "cityText", title: "시도" },
{ id: "sggText", title: "시군구" },
{ id: "bdstNm", title: "발전소명" },
{ id: "bdstNm", title: "시설명" },
{ id: "daddr", title: "위치" },
{ id: "frstArchPrmsnDt", title: "준공년도" },
{ id: "archArea", title: "건축면적" },
@@ -180,7 +180,10 @@ export default function BdstReg({ form, type }: { form: any; type?: string }) {
className={selectClass}
placeholder= {type !== "HTB"?"건축물 명 입력하세요":'시설명 입력하세요' }
type="text"
{...field}
onChange={(e) => {
field.onChange(e.target.value)
}}
value={field.value}
/>
</FormUi>
)}
@@ -215,6 +218,9 @@ export default function BdstReg({ form, type }: { form: any; type?: string }) {
value: field.value ?? new Date(),
onChange: (date: Date | undefined) => field.onChange(date),
}}
// modifiers={{
// disabled: { after: new Date() }
// }}
selectClass={"w-full"}
></DatePicker>
</FormUi>