forked from verdnatura/salix-front
fix: refs #6900 improve logic
This commit is contained in:
parent
65d893e128
commit
3bba5db1b5
|
@ -30,7 +30,7 @@ const cols = computed(() => [
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const daysAgo = ref(0);
|
const daysAgo = ref();
|
||||||
|
|
||||||
onBeforeMount(async () => {
|
onBeforeMount(async () => {
|
||||||
const tableParam = useRoute().query.table;
|
const tableParam = useRoute().query.table;
|
||||||
|
@ -51,7 +51,7 @@ onBeforeMount(async () => {
|
||||||
</template>
|
</template>
|
||||||
</RightMenu>
|
</RightMenu>
|
||||||
<VnTable
|
<VnTable
|
||||||
v-if="daysAgo"
|
v-if="!isNaN(daysAgo)"
|
||||||
data-key="InvoiceInSerial"
|
data-key="InvoiceInSerial"
|
||||||
url="InvoiceIns/getSerial"
|
url="InvoiceIns/getSerial"
|
||||||
:columns="cols"
|
:columns="cols"
|
||||||
|
|
Loading…
Reference in New Issue