견적서 복사 팝업 담당자명 변경

This commit is contained in:
basssy 2025-01-14 14:23:47 +09:00
parent 37e9105399
commit f420838bb3

View File

@ -282,7 +282,8 @@ export default function EstimateCopyPop({ planNo, setEstimateCopyPopupOpen }) {
type="text" type="text"
className="input-light" className="input-light"
required required
defaultValue={estimateContextState?.charger} // defaultValue={estimateContextState?.charger}
defaultValue={session?.userNm}
onChange={(e) => { onChange={(e) => {
setCopyReceiveUser(e.target.value) setCopyReceiveUser(e.target.value)
}} }}
@ -292,18 +293,18 @@ export default function EstimateCopyPop({ planNo, setEstimateCopyPopupOpen }) {
</div> </div>
</div> </div>
<div className="footer-btn-wrap"> <div className="footer-btn-wrap">
<button type="button" className="btn-origin grey mr5" onClick={() => setEstimateCopyPopupOpen(false)}>
{getMessage('estimate.detail.estimateCopyPopup.close')}
</button>
<button <button
type="button" type="button"
className="btn-origin navy" className="btn-origin navy mr5"
onClick={() => { onClick={() => {
handleEstimateCopy(sendPlanNo, copyReceiveUser, saleStoreId, otherSaleStoreId) handleEstimateCopy(sendPlanNo, copyReceiveUser, saleStoreId, otherSaleStoreId)
}} }}
> >
{getMessage('estimate.detail.estimateCopyPopup.copyBtn')} {getMessage('estimate.detail.estimateCopyPopup.copyBtn')}
</button> </button>
<button type="button" className="btn-origin grey" onClick={() => setEstimateCopyPopupOpen(false)}>
{getMessage('estimate.detail.estimateCopyPopup.close')}
</button>
</div> </div>
</div> </div>
</div> </div>