mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 01:22:33 +09:00
fix: 사업자번호 가져오기 기능 보강
This commit is contained in:
@@ -305,12 +305,20 @@ const showReasonError = computed(() =>
|
||||
(!completedPriceDataParams.reason || !completedPriceDataParams.reason.trim())
|
||||
)
|
||||
|
||||
const estimateBizNoOptions = computed(() =>
|
||||
completedPriceDataParams.estimates.map(est => ({
|
||||
value: est.bizNo,
|
||||
text: est.bizNo
|
||||
}))
|
||||
)
|
||||
|
||||
const estimateBizNoOptions = computed(() => {
|
||||
if (completedPriceDataParams.compNm) {
|
||||
return [{
|
||||
value: completedPriceDataParams.bizNo,
|
||||
text: completedPriceDataParams.bizNo
|
||||
}]
|
||||
}
|
||||
|
||||
return completedPriceDataParams.estimates.map(est => ({
|
||||
value: est.bizNo,
|
||||
text: est.bizNo
|
||||
}))
|
||||
})
|
||||
|
||||
function onBizNoChange() {
|
||||
const selected = completedPriceDataParams.estimates.find(est => est.bizNo === completedPriceDataParams.bizNo)
|
||||
|
||||
Reference in New Issue
Block a user