summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/containers/Odipar/Almacen/table/dataAlmacen.js
blob: 685df27017f667d58308e742a375ae4348cfafc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
export const anchorTable = [
  {
    name: 'id',
    label: 'Identificador',
    initialValue: '',
    hidden: false,
    type: 'texto'
  }, {
    name: 'esPrincipal',
    label: 'Tipo de Almacen',
    initialValue: true,
    width: 'auto',
    hidden: false,
    type: 'etiq_alma'
  }, {
    name: 'region',
    label: 'Region',
    initialValue: 'Costa',
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, {
    name: 'provincia',
    label: 'Provincia',
    initialValue: 'Lima',
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, {
    name: 'latitud',
    label: 'Latitud',
    initialValue: 0,
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, {
    name: 'longitud',
    label: 'Longitud',
    initialValue: 0,
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, 
  {
    name: 'action',
    label: 'Acciones',
    initialValue: '',
    hidden: false
  },
];

export const dataApi = [
  {
    id: '1',
    esPrincipal: false,
    region: 'Costa',
    provincia: 'Arequipa',
    latitud: 24,
    longitud: 50,
    estado: 0,
    correo: 'mail@boss.com',
    dni: '123456'
  }, {
    id: '2',
    esPrincipal: true,
    region: 'Costa',
    provincia: 'Lima',
    latitud: 24,
    longitud: 50,
    nombre: 'Juan',
    estado: 1,
    correo: 'mail@boss.com',
    dni: '123456'
  }
];