물건상세 판매대리점 지우고 설계의뢰 불러오기 팝업 호출 시 수정5
This commit is contained in:
parent
e9d82ae57f
commit
1e7e0ffb64
@ -510,6 +510,8 @@ export default function StuffDetail() {
|
||||
setOtherSelOptions(detailData.saleStoreId)
|
||||
form.setValue('otherSaleStoreId', detailData.saleStoreId)
|
||||
form.setValue('otherSaleStoreLevel', detailData.saleStoreLevel)
|
||||
|
||||
form.setValue('saleStoreLevel', '1')
|
||||
}
|
||||
|
||||
//설계의뢰No.
|
||||
@ -1039,7 +1041,12 @@ export default function StuffDetail() {
|
||||
|
||||
//설계의뢰 팝업 오픈
|
||||
const onSearchDesignRequestPopOpen = () => {
|
||||
setShowDesignRequestButtonValid(true)
|
||||
const saleStoreId = form.watch('saleStoreId')
|
||||
if (saleStoreId === '') {
|
||||
alert(getMessage('stuff.planReqPopup.error.message2'))
|
||||
} else {
|
||||
setShowDesignRequestButtonValid(true)
|
||||
}
|
||||
}
|
||||
|
||||
// 풍속선택 팝업 오픈
|
||||
@ -1862,7 +1869,6 @@ export default function StuffDetail() {
|
||||
></button>
|
||||
) : null}
|
||||
</div>
|
||||
{/* {detailData?.tempFlg === '1' ? ( */}
|
||||
{detailData?.tempFlg === '1' ? (
|
||||
<>
|
||||
<Button className="btn-origin grey" onPress={onSearchDesignRequestPopOpen}>
|
||||
|
||||
@ -694,7 +694,8 @@
|
||||
"stuff.planReqPopup.search.period": "期間検索",
|
||||
"stuff.planReqPopup.search.schDateGbnS": "提出日",
|
||||
"stuff.planReqPopup.search.schDateGbnR": "受付日",
|
||||
"stuff.planReqPopup.error.message1": "設計依頼を選択してください。",
|
||||
"stuff.planReqPopup.error.message1": "設計依頼を選択してください.",
|
||||
"stuff.planReqPopup.error.message2": "販売店を選択してください.",
|
||||
"stuff.search.title": "物件状況",
|
||||
"stuff.search.btn1": "新規 物件 登録",
|
||||
"stuff.search.btn2": "照会",
|
||||
|
||||
@ -705,6 +705,7 @@
|
||||
"stuff.planReqPopup.search.schDateGbnS": "제출일",
|
||||
"stuff.planReqPopup.search.schDateGbnR": "접수일",
|
||||
"stuff.planReqPopup.error.message1": "설계의뢰를 선택해주세요.",
|
||||
"stuff.planReqPopup.error.message2": "판매점을 선택해주세요.",
|
||||
"stuff.search.title": "물건현황",
|
||||
"stuff.search.btn1": "신규 물건 등록",
|
||||
"stuff.search.btn2": "조회",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user