)
diff --git a/src/components/management/popup/PlanRequestPop.jsx b/src/components/management/popup/PlanRequestPop.jsx
index cde86d6b..bbe0f6c9 100644
--- a/src/components/management/popup/PlanRequestPop.jsx
+++ b/src/components/management/popup/PlanRequestPop.jsx
@@ -253,6 +253,12 @@ export default function PlanRequestPop(props) {
}
}, [commonCode])
+ // 숫자만 입력 가능
+ const handleKeyUp = (e) => {
+ let input = e.target
+ input.value = input.value.replace(/[^0-9]/g, '')
+ }
+
return (
@@ -301,6 +307,7 @@ export default function PlanRequestPop(props) {
type="text"
className="input-light"
value={schPlanReqNo}
+ onKeyUp={handleKeyUp}
onChange={(e) => {
setSchPlanReqNo(e.target.value)
}}
diff --git a/src/components/management/popup/PlanRequestPopQGrid.jsx b/src/components/management/popup/PlanRequestPopQGrid.jsx
index e610a138..6e3a8467 100644
--- a/src/components/management/popup/PlanRequestPopQGrid.jsx
+++ b/src/components/management/popup/PlanRequestPopQGrid.jsx
@@ -1,11 +1,14 @@
import React from 'react'
import { useCallback, useEffect, useMemo, useState } from 'react'
import { AgGridReact } from 'ag-grid-react'
+import { useMessage } from '@/hooks/useMessage'
import 'ag-grid-community/styles/ag-grid.css'
import 'ag-grid-community/styles/ag-theme-quartz.css'
export default function PlanRequestPopQGrid(props) {
+ const { getMessage } = useMessage()
+
const { gridData, gridColumns, isPageable = true } = props
const [rowData, setRowData] = useState(null)
@@ -56,6 +59,7 @@ export default function PlanRequestPopQGrid(props) {
rowSelection={'singleRow'}
pagination={isPageable}
onSelectionChanged={onSelectionChanged}
+ overlayNoRowsTemplate={`${getMessage('stuff.grid.noData')}`}
/>
)
diff --git a/src/components/ui/MainSkeleton.jsx b/src/components/ui/MainSkeleton.jsx
index fa0a48c2..e8b64e17 100644
--- a/src/components/ui/MainSkeleton.jsx
+++ b/src/components/ui/MainSkeleton.jsx
@@ -1,13 +1,13 @@
import Skeleton from 'react-loading-skeleton'
import 'react-loading-skeleton/dist/skeleton.css'
-export default function MainSkeleton() {
+export default function MainSkeleton({ count }) {
return (
<>
-
+
>
)
}
diff --git a/src/locales/ja.json b/src/locales/ja.json
index baa74f41..91b6df42 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -587,6 +587,7 @@
"stuff.detail.planGridHeader.management": "管理",
"stuff.detail.planGrid.btn1": "見積書の照会",
"stuff.detail.planGrid.btn2": "Excel",
+ "stuff.grid.noData": "照会されたデータがありません",
"length": "長さ",
"height": "高さ",
"output": "出力",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index d46e7726..f21c282e 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -592,6 +592,7 @@
"stuff.detail.planGridHeader.management": "관리",
"stuff.detail.planGrid.btn1": "견적서 조회",
"stuff.detail.planGrid.btn2": "Excel",
+ "stuff.grid.noData": "조회된 데이터가 없습니다",
"length": "길이",
"height": "높이",
"output": "출력",