견적서 복사 후 물건 상세 진입시 셋팅 수정
This commit is contained in:
parent
9288d86365
commit
862c7dc57d
@ -563,6 +563,11 @@ export default function StuffDetail() {
|
|||||||
setSelOptions(managementState.saleStoreId)
|
setSelOptions(managementState.saleStoreId)
|
||||||
form.setValue('saleStoreId', managementState.saleStoreId)
|
form.setValue('saleStoreId', managementState.saleStoreId)
|
||||||
form.setValue('saleStoreLevel', managementState.saleStoreLevel)
|
form.setValue('saleStoreLevel', managementState.saleStoreLevel)
|
||||||
|
//#435
|
||||||
|
setOtherSelOptions('')
|
||||||
|
form.setValue('otherSaleStoreId', '')
|
||||||
|
form.setValue('otherSaleStoreLevel', '')
|
||||||
|
form.setValue('otherSaleStoreName', '')
|
||||||
} else {
|
} else {
|
||||||
setOtherSelOptions(managementState.saleStoreId)
|
setOtherSelOptions(managementState.saleStoreId)
|
||||||
form.setValue('otherSaleStoreId', managementState.saleStoreId)
|
form.setValue('otherSaleStoreId', managementState.saleStoreId)
|
||||||
|
|||||||
@ -401,7 +401,6 @@ export const useEstimateController = (planNo) => {
|
|||||||
if (res.status === 201) {
|
if (res.status === 201) {
|
||||||
if (isObjectNotEmpty(res.data)) {
|
if (isObjectNotEmpty(res.data)) {
|
||||||
let newObjectNo = res.data.objectNo
|
let newObjectNo = res.data.objectNo
|
||||||
console.log('newObjectNo::', newObjectNo)
|
|
||||||
swalFire({
|
swalFire({
|
||||||
text: getMessage('estimate.detail.estimateCopyPopup.copy.alertMessage'),
|
text: getMessage('estimate.detail.estimateCopyPopup.copy.alertMessage'),
|
||||||
type: 'alert',
|
type: 'alert',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user