refactor: handle selectedinstallment is null
This commit is contained in:
parent
46f4ac4184
commit
c25d1b80ab
1 changed files with 6 additions and 1 deletions
|
|
@ -300,7 +300,12 @@ async function fetchStatus() {
|
||||||
title: 'Issued',
|
title: 'Issued',
|
||||||
status: getStatus(quotationFormData.value.quotationStatus, 0, -1),
|
status: getStatus(quotationFormData.value.quotationStatus, 0, -1),
|
||||||
active: () => view.value === View.Quotation,
|
active: () => view.value === View.Quotation,
|
||||||
handler: () => ((view.value = View.Quotation), (code.value = '')),
|
handler: () => (
|
||||||
|
(view.value = View.Quotation),
|
||||||
|
(code.value = ''),
|
||||||
|
(selectedInstallmentNo.value = []),
|
||||||
|
(selectedInstallment.value = [])
|
||||||
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Accepted',
|
title: 'Accepted',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue