fix: quotation card status display and i18n
This commit is contained in:
parent
44f27bf2ea
commit
72fa68462e
4 changed files with 23 additions and 17 deletions
|
|
@ -559,21 +559,11 @@ async function storeDataLocal(id: string) {
|
|||
>
|
||||
<QuotationCard
|
||||
:urgent="v.urgent"
|
||||
:type="
|
||||
pageState.currentTab !== 'all'
|
||||
? pageState.currentTab
|
||||
: {
|
||||
Full: 'fullAmountCash',
|
||||
Split: 'installmentsCash',
|
||||
BillFull: 'fullAmountBill',
|
||||
BillSplit: 'installmentsBill',
|
||||
}[v.payCondition]
|
||||
"
|
||||
:code="v.code"
|
||||
:title="v.workName"
|
||||
:created-at="new Date(v.createdAt).toLocaleString()"
|
||||
:valid-until="new Date(v.dueDate).toLocaleString()"
|
||||
:status="v.quotationStatus"
|
||||
:status="$t(`quotation.status.${v.quotationStatus}`)"
|
||||
:worker-count="v._count.worker"
|
||||
:worker-max="v.workerMax || v._count.worker"
|
||||
:customer-name="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue