fix: quotation pay split count
This commit is contained in:
parent
d166f91e09
commit
928d07a3ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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 });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue