fix: get quotation attachment on edit mode
This commit is contained in:
parent
9655597679
commit
44f27bf2ea
1 changed files with 5 additions and 1 deletions
|
|
@ -848,7 +848,10 @@ onMounted(async () => {
|
|||
if (locale.value === 'tha') optionStore.globalOption = rawOption.tha;
|
||||
|
||||
await fetchStatus();
|
||||
await getAttachment();
|
||||
|
||||
if (quotationFormState.value.mode === 'edit') {
|
||||
await getAttachment();
|
||||
}
|
||||
|
||||
pageState.isLoaded = true;
|
||||
});
|
||||
|
|
@ -1369,6 +1372,7 @@ const view = ref<View>(View.Quotation);
|
|||
</q-expansion-item>
|
||||
|
||||
<q-expansion-item
|
||||
v-if="quotationFormState.mode !== 'create'"
|
||||
for="item-up"
|
||||
id="item-up"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue