- corretto cancellazione ordine
This commit is contained in:
@@ -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 []
|
||||
|
||||
Reference in New Issue
Block a user