물건 3-4등 하위 있는 2차점 로그인해서 물건 임시저장 / 저장시 2차점 없으면 알럿
This commit is contained in:
parent
3aa20d6cf1
commit
28b0a5a65a
@ -1185,7 +1185,6 @@ export default function Estimate({}) {
|
||||
</th>
|
||||
<td>
|
||||
<div className="input-wrap" style={{ width: '350px' }}>
|
||||
{/* <input type="text" className="input-light" defaultValue={estimateContextState?.charger} onBlur={handleBlurCharger} /> */}
|
||||
<input
|
||||
type="text"
|
||||
className="input-light"
|
||||
@ -1204,7 +1203,6 @@ export default function Estimate({}) {
|
||||
<td colSpan={3}>
|
||||
<div className="form-flex-wrap">
|
||||
<div className="input-wrap mr5" style={{ width: '610px' }}>
|
||||
{/* <input type="text" className="input-light" defaultValue={estimateContextState?.objectName} onBlur={handleBlurObjectName} /> */}
|
||||
<input
|
||||
type="text"
|
||||
className="input-light"
|
||||
|
||||
@ -1358,7 +1358,7 @@ export default function StuffDetail() {
|
||||
//로그인이 2차점인데 otherSaleStoreId가 없으면 알럿
|
||||
if (session.storeLvl !== '1') {
|
||||
if (params.saleStoreLevel === '1') {
|
||||
return swalFire({ text: getMessage('stuff.detail.tempSave.message4'), type: 'alert' })
|
||||
return swalFire({ text: getMessage('stuff.detail.tempSave.message3'), type: 'alert' })
|
||||
}
|
||||
}
|
||||
|
||||
@ -1448,6 +1448,13 @@ export default function StuffDetail() {
|
||||
params.saleStoreLevel = session.storeLvl
|
||||
}
|
||||
|
||||
if (session.storeLvl !== '1') {
|
||||
//로그인이 1차점이 아닌데 2차점을 안골라서 saleStoreLevel = 1로 셋팅되어있으면 알럿
|
||||
if (params.saleStoreLevel === '1') {
|
||||
return swalFire({ text: getMessage('stuff.detail.tempSave.message3'), type: 'alert' })
|
||||
}
|
||||
}
|
||||
|
||||
// 담당자 자리수 체크
|
||||
if (params?.receiveUser !== '') {
|
||||
if (params?.receiveUser.trim().length > 10) {
|
||||
|
||||
@ -673,6 +673,7 @@
|
||||
"stuff.detail.tooltip.surfaceType": "塩害地域の定義は各メーカーの設置マニュアルをご確認ください",
|
||||
"stuff.detail.tempSave.message1": "一時保存されました。商品番号を取得するには、必須項目をすべて入力してください。",
|
||||
"stuff.detail.tempSave.message2": "担当者は10桁以下で入力してください.",
|
||||
"stuff.detail.tempSave.message3": "二次販売店を選択してください.",
|
||||
"stuff.detail.confirm.message1": "販売店情報を変更すると、設計依頼文書番号が削除されます。変更しますか?",
|
||||
"stuff.detail.delete.message1": "仕様が確定したものは削除できません。",
|
||||
"stuff.detail.planList.title": "プランリスト",
|
||||
|
||||
@ -682,6 +682,7 @@
|
||||
"stuff.detail.tooltip.surfaceType": "염해지역 정의는 각 메이커의 설치 메뉴얼을 확인해주십시오",
|
||||
"stuff.detail.tempSave.message1": "임시저장 되었습니다. 물건번호를 획득하려면 필수 항목을 모두 입력해 주십시오.",
|
||||
"stuff.detail.tempSave.message2": "담당자는 10자리 이하로 입력해 주십시오.",
|
||||
"stuff.detail.tempSave.message3": "2차 판매점을 선택해주세요.",
|
||||
"stuff.detail.confirm.message1": "판매점 정보를 변경하면, 설계의뢰 문서번호가 삭제됩니다. 변경하시겠습니까?",
|
||||
"stuff.detail.delete.message1": "사양이 확정된 물건은 삭제할 수 없습니다.",
|
||||
"stuff.detail.planList.title": "플랜리스트",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user