fix: installment split

This commit is contained in:
puriphatt 2024-10-15 09:42:37 +07:00
parent 0b83c943c0
commit 3ff4c9d4f4

View file

@ -132,8 +132,8 @@ watch(
); );
watch( watch(
() => paySplitCount.value, () => [paySplitCount.value, summaryPrice.value.finalPrice],
(newCount, oldCount) => { ([newCount, _newF], [oldCount, _oldF]) => {
if (newCount !== null && oldCount !== null) { if (newCount !== null && oldCount !== null) {
const totalAmount = summaryPrice.value.finalPrice; const totalAmount = summaryPrice.value.finalPrice;
@ -342,7 +342,6 @@ watch(
:label="$t('quotation.amount')" :label="$t('quotation.amount')"
:model-value="formatNumberDecimal(period.amount, 2)" :model-value="formatNumberDecimal(period.amount, 2)"
dense dense
readonly
outlined outlined
bg-color="input-border" bg-color="input-border"
> >