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