feat: refs #8406 add empty row on loading InvoiceInVat
This commit is contained in:
parent
aedcda4799
commit
8e08f65173
|
@ -194,6 +194,10 @@ async function onSubmitAndGo() {
|
|||
}
|
||||
|
||||
async function saveChanges(data) {
|
||||
formData.value = formData.value.filter(row =>
|
||||
row[$props.primaryKey] || !isRowEmpty(row)
|
||||
);
|
||||
|
||||
if ($props.saveFn) {
|
||||
$props.saveFn(data, getChanges);
|
||||
isLoading.value = false;
|
||||
|
|
|
@ -187,6 +187,7 @@ function setCursor(ref) {
|
|||
url="InvoiceInTaxes"
|
||||
:filter="filter"
|
||||
:data-required="{ invoiceInFk: $route.params.id }"
|
||||
:insert-on-load="true"
|
||||
auto-load
|
||||
v-model:selected="rowsSelected"
|
||||
:go-to="`/invoice-in/${$route.params.id}/due-day`"
|
||||
|
|
Loading…
Reference in New Issue