fix: split date
This commit is contained in:
parent
d91189e193
commit
153542ae16
1 changed files with 3 additions and 0 deletions
|
|
@ -203,6 +203,8 @@ watch(
|
|||
)
|
||||
return;
|
||||
calculateInstallments({ newCount: newCount || 0, oldCount: oldCount || 0 });
|
||||
if (paySplit.value.length > 0 && !paySplit.value[0].date)
|
||||
paySplit.value[0].date = new Date();
|
||||
if (newCount !== oldCount) {
|
||||
paySplit.value[0].date && installmentsDate(paySplit.value[0].date);
|
||||
}
|
||||
|
|
@ -432,6 +434,7 @@ watch(
|
|||
|
||||
<DatePicker
|
||||
v-if="payType === 'BillFull'"
|
||||
:readonly
|
||||
class="col-12"
|
||||
:label="$t('quotation.callDueDate')"
|
||||
v-model="payBillDate"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue