feat: enhance SEP entry form
This commit is contained in:
@@ -16,7 +16,7 @@ const recSepId = inject('rec_sep_id') as Ref<string>
|
||||
function handleSelection() {
|
||||
recSepId.value = record.sepNumber || ''
|
||||
const pathUrl = `/integration/bpjs-vclaim/sep/${record.sepNumber || ''}/link?source-path=${route.path}`
|
||||
router.push({ path: pathUrl })
|
||||
router.push(pathUrl)
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@ const props = defineProps<{
|
||||
cities: any[]
|
||||
districts: any[]
|
||||
specialists?: TreeItem[]
|
||||
sepNumber?: string
|
||||
objects?: any
|
||||
values?: any
|
||||
}>()
|
||||
@@ -135,7 +134,7 @@ const onBack = () => {
|
||||
}
|
||||
|
||||
const onSaveNumber = () => {
|
||||
emit('event', 'save-sep-number', { sepNumber: props.sepNumber })
|
||||
emit('event', 'save-sep-number', { sepNumber: props?.objects?.sepNumber || '' })
|
||||
}
|
||||
|
||||
// Submit handler
|
||||
@@ -311,6 +310,7 @@ onMounted(() => {
|
||||
</Label>
|
||||
<Field :errMessage="errors.sepDate">
|
||||
<DatepickerSingle
|
||||
v-if="!isDateReload"
|
||||
id="sepDate"
|
||||
v-model="sepDate"
|
||||
v-bind="sepDateAttrs"
|
||||
@@ -773,7 +773,7 @@ onMounted(() => {
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
<RadioGroupItem
|
||||
value="Tidak"
|
||||
value="no"
|
||||
id="cob-no"
|
||||
/>
|
||||
<Label for="cob-no">Tidak</Label>
|
||||
|
||||
Reference in New Issue
Block a user