diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx index 4cdffbed..a8f5f148 100644 --- a/src/components/estimate/Estimate.jsx +++ b/src/components/estimate/Estimate.jsx @@ -24,6 +24,7 @@ import { useSwal } from '@/hooks/useSwal' import { QcastContext } from '@/app/QcastProvider' import { useCanvasMenu } from '@/hooks/common/useCanvasMenu' import {normalizeDigits, normalizeDecimal} from '@/util/input-utils' +import { CalculatorInput } from '@/components/common/input/CalcInput' export default function Estimate({}) { const [uniqueData, setUniqueData] = useState([]) const [handlePricingFlag, setHandlePricingFlag] = useState(false) @@ -2106,25 +2107,60 @@ export default function Estimate({}) {
- {*/} + {/* onChangeAmount(e.target.value, item.dispOrder, index)*/} + {/* }}*/} + {/* maxLength={6}*/} + {/*/>*/} + { - onChangeAmount(e.target.value, item.dispOrder, index) + onChange={(value) =>{ + onChangeAmount(value, item.dispOrder, index) }} - maxLength={6} - /> + options={{ + allowNegative: false, + allowDecimal: false + }} + />
{item.unit}
- {*/} + {/* onChangeSalePrice(e.target.value, item.dispOrder, index)*/} + {/* }}*/} + {/* maxLength={12}*/} + {/*/>*/} + { - onChangeSalePrice(e.target.value, item.dispOrder, index) + onChange={(value) =>{ + onChangeSalePrice(value, item.dispOrder, index) }} maxLength={12} + options={{ + allowNegative: false, + allowDecimal: false + }} />
{item.openFlg === '1' && (