refactor: show field code
This commit is contained in:
parent
5983febe72
commit
644dca2bf7
4 changed files with 25 additions and 2 deletions
|
|
@ -314,7 +314,7 @@ function goToQuotation(
|
|||
customerBranchId: quotation.customerBranchId,
|
||||
agentPrice: quotation.agentPrice,
|
||||
statusDialog: 'info',
|
||||
quotationId: quotation.id,
|
||||
quotationId: opt && opt.id ? opt.id : quotation.id,
|
||||
}),
|
||||
);
|
||||
|
||||
|
|
@ -565,6 +565,21 @@ function goToDebitNote(opt?: { tab?: string; id?: string }) {
|
|||
: goToQuotation(data.quotation, { tab: 'receipt' })
|
||||
"
|
||||
/>
|
||||
|
||||
<DataDisplay
|
||||
v-if="data.quotation.isDebitNote"
|
||||
clickable
|
||||
class="col"
|
||||
icon="mdi-file-document-outline"
|
||||
:label="$t('requestList.referenceNo')"
|
||||
:value="data.quotation.debitNoteQuotation.code || '-'"
|
||||
@label-click="
|
||||
goToQuotation(data.quotation, {
|
||||
id: data.quotation.debitNoteQuotationId,
|
||||
})
|
||||
"
|
||||
/>
|
||||
|
||||
<div v-if="$q.screen.gt.sm" class="col"></div>
|
||||
</div>
|
||||
<FormGroupHead class="col-12">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue