- corretto cancellazione ordine

This commit is contained in:
Surya Paolo
2024-02-15 18:59:13 +01:00
parent c6e0caa3f4
commit a82e07b4ce
5 changed files with 58 additions and 8 deletions

View File

@@ -55,6 +55,14 @@ export default defineComponent({
const statusnow = ref(0)
const arrnumstatus = ref(<any[]>[])
const columns = ref(<any>[
{
name: 'ind',
required: true,
align: 'left',
label: 'Ind',
field: 'ind',
sortable: true
},
{
name: 'apri',
align: 'center',
@@ -104,6 +112,14 @@ export default defineComponent({
])
const columns_Admin = ref(<any>[
{
name: 'ind',
required: true,
align: 'left',
label: 'Ind',
field: 'ind',
sortable: true
},
{
name: 'apri',
align: 'center',
@@ -220,6 +236,11 @@ export default defineComponent({
rowsWithTotals.push(totals);
}
// Supponendo che rowsWithTotals sia il tuo array di record
rowsWithTotals.forEach((record: any, index: number) => {
record.ind = index;
});
return rowsWithTotals;
} else {
return []