wr: 지도 팝업 제목 style 통일

This commit is contained in:
2026-06-29 16:53:43 +09:00
parent 9a6cc1779f
commit 951e2c1f89
5 changed files with 24 additions and 19 deletions
@@ -8,7 +8,7 @@ import { toast, Toaster } from "sonner";
import * as z from "zod";
import type { SelectDataType } from "../search_input_select";
import { getCookie } from "@common/components/lib";
import { Title } from "@common/business_components/ui";
type thisProps = {
selectSidoData: SelectDataType[];
@@ -19,7 +19,7 @@ type thisProps = {
bodyClassNm?: string;
updateList?:DemandCompType;
readOnly?:boolean;
openNetwork:boolean
openNetwork:boolean;
}
const createFormSchema = (isBznmTotNoDisabled: boolean, isDuplicate: boolean ,updateList?:DemandCompType) => z.object({
@@ -161,10 +161,11 @@ export default function SdmInsertForm({selectSidoData, selectSigunData, dataList
return (
<>
<div className="text-center mb-8">
<h1 className="text-4xl font-bold text-gray-900 underline">
{!updateList? '수요처 등록' :readOnly==true? '수요처 정보':'수요처 수정'}
</h1>
<div className="mb-8">
<Title
title={!updateList ? '수요처 등록' : readOnly == true ? '수요처 상세정보' : '수요처 수정'}
></Title>
</div>
<div className= {bodyClassNm?bodyClassNm:"!max-w-3xl mx-auto bg-white rounded-lg shadow-md p-6"}>