수요신청현황 수정일자, 등록일자 추출

This commit is contained in:
jsyang
2026-04-03 13:29:20 +09:00
parent f528c0e893
commit 049ea098d0
3 changed files with 9 additions and 3 deletions
@@ -689,6 +689,7 @@ export default function DemandRegisterPage() {
const code = getCriterionCode(criterion);
if (!code) return;
// 값은 상황에 맞게 (예시: usePurpose)
console.log(code+' req: '+reqQty+' purpose :'+usePurpose);
await getSimilarCaseList(code, code == 'S' ? reqQty : code == 'U' ? usePurpose : '');
}}
/>
@@ -354,7 +354,9 @@ export default function DemandStatusPage() {
<th className="w-[180px] px-3 py-3 text-center">회사명</th>
<th className="px-3 py-3 text-center">공장주소</th>
<th className="w-[140px] px-3 py-3 text-center">전화번호</th>
<th className="w-[120px] px-3 py-3 text-center">신청일자</th>
<th className="w-[120px] px-3 py-3 text-center">요구시기</th>
<th className="w-[120px] px-3 py-3 text-center">등록일자</th>
<th className="w-[120px] px-3 py-3 text-center">수정일자</th>
<th className="w-[110px] px-3 py-3 text-center">진행상태</th>
</tr>
</thead>
@@ -395,6 +397,8 @@ export default function DemandStatusPage() {
<td className="px-3 py-3 text-center">{formatValue(sdmInfoStatus.daddr)}</td>
<td className="px-3 py-3 text-center">{formatValue(sdmInfoStatus.telno)}</td>
<td className="px-3 py-3 text-center">{formatDate(sdmInfoStatus.dmndTmng)}</td>
<td className="px-3 py-3 text-center">{formatDate(sdmInfoStatus.regDt)}</td>
<td className="px-3 py-3 text-center">{formatDate(sdmInfoStatus.mdfcnDt)}</td>
<td className="px-3 py-3 text-center">
<StatusBadge v={formatValue(sdmInfoStatus.status)} />
</td>
+3 -2
View File
@@ -77,8 +77,9 @@ export type DemandCompBizType = {
dmdInfoSn: number | '';
status: string | '';
splyCndtList: SupplyCandidate[] | [],
ruseUtztnFcltNm?: string | ''
ruseUtztnFcltNm?: string | '';
regDt: string | '';
mdfcnDt : string | '';
}
// 공급 후보자 타입 정의