견적서 복사 후 물건 상세 진입시 셋팅 수정

This commit is contained in:
basssy 2025-01-07 17:33:58 +09:00
parent 9288d86365
commit 862c7dc57d
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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',