Mercurial > lada > lada-client
comparison app/view/messwerte/CreateForm.js @ 443:0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 03 Dec 2013 11:24:13 +0100 |
parents | c3c64920b740 |
children | debfcc7713e3 |
comparison
equal
deleted
inserted
replaced
442:bba7fbcf2f70 | 443:0ab89a3b9090 |
---|---|
4 Ext.define('Lada.view.messwerte.CreateForm', { | 4 Ext.define('Lada.view.messwerte.CreateForm', { |
5 extend: 'Lada.view.widgets.LadaForm', | 5 extend: 'Lada.view.widgets.LadaForm', |
6 model: 'Lada.model.Messwert', | 6 model: 'Lada.model.Messwert', |
7 requires: [ | 7 requires: [ |
8 'Lada.view.widgets.Messgroesse', | 8 'Lada.view.widgets.Messgroesse', |
9 'Lada.view.widgets.Messeinheit' | 9 'Lada.view.widgets.Messeinheit', |
10 'Lada.view.widgets.Nwg' | |
10 ], | 11 ], |
11 initComponent: function() { | 12 initComponent: function() { |
12 this.items = [ | 13 this.items = [ |
13 { | 14 { |
14 xtype: 'numberfield', | 15 xtype: 'numberfield', |
15 name: 'messwert', | 16 name: 'messwert', |
16 fieldLabel: 'Messwert' | 17 fieldLabel: 'Messwert' |
18 }, | |
19 { | |
20 xtype: 'nwg', | |
21 name: 'messwertNwg', | |
22 fieldLabel: 'Messwert zu NWG' | |
23 }, | |
24 { | |
25 xtype: 'numberfield', | |
26 name: 'nwgZuMesswert', | |
27 fieldLabel: 'Nachweisgrenze' | |
17 }, | 28 }, |
18 { | 29 { |
19 xtype: 'numberfield', | 30 xtype: 'numberfield', |
20 name: 'messfehler', | 31 name: 'messfehler', |
21 fieldLabel: 'Messfehler' | 32 fieldLabel: 'Messfehler' |
27 }, | 38 }, |
28 { | 39 { |
29 xtype: 'messeinheit', | 40 xtype: 'messeinheit', |
30 name: 'mehId', | 41 name: 'mehId', |
31 fieldLabel: 'Messeinheit' | 42 fieldLabel: 'Messeinheit' |
32 }, | |
33 { | |
34 xtype: 'numberfield', | |
35 name: 'nwgZuMesswert', | |
36 fieldLabel: 'Nachweisgrenze' | |
37 } | 43 } |
38 ]; | 44 ]; |
39 this.callParent(); | 45 this.callParent(); |
40 } | 46 } |
41 }); | 47 }); |