From 928d07a3ba46dcc28969c44da47c2a7a2c960129 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Mon, 23 Dec 2024 11:28:04 +0700 Subject: [PATCH] fix: quotation pay split count --- src/pages/05_quotation/QuotationForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index f34b4e0e..d0a19395 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -753,7 +753,7 @@ function handleChangePayType(type: PayCondition) { } if (type === 'SplitCustom') { - quotationFormData.value.paySplitCount = 1; + quotationFormData.value.paySplitCount = tempPaySplitCount.value || 1; if (tempPaySplit.value.length === 0) { quotationFormData.value.paySplit = []; quotationFormData.value.paySplit.push({ no: Number(1), amount: 0 });