Mercurial > lada > lada-client
diff app/view/zusatzwerte/CreateForm.js @ 113:70f80c4ef90e
Use new widgets in form for zusatzwerte.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 19 Jun 2013 15:56:17 +0200 |
parents | c4f97a5a9939 |
children | 189a93e31be9 |
line wrap: on
line diff
--- a/app/view/zusatzwerte/CreateForm.js Wed Jun 19 15:55:34 2013 +0200 +++ b/app/view/zusatzwerte/CreateForm.js Wed Jun 19 15:56:17 2013 +0200 @@ -3,21 +3,36 @@ model: 'Lada.model.Zusatzwert', initComponent: function() { this.items = [ - //{ - // xtype: 'textfield', - // name: 'erzeuger', - // fieldLabel: 'Erzeuger' - //}, - //{ - // xtype: 'datefield', - // name: 'kdatum', - // fieldLabel: 'Datum' - //}, - //{ - // xtype: 'textareafield', - // name: 'ktext', - // fieldLabel: 'Text' - //} + { + xtype: 'zusatzwert', + name: 'pzsId', + fieldLabel: 'PWZ-ID' + }, + { + xtype: 'textfield', + name: 'erzeuger', + fieldLabel: 'PWZ-Größe' + }, + { + xtype: 'textfield', + name: 'messwertNwg', + fieldLabel: '<NWG' + }, + { + xtype: 'textfield', + name: 'messwertPzs', + fieldLabel: '<PZW' + }, + { + xtype: 'textfield', + name: 'messfehler', + fieldLabel: 'rel. Unsich.[%]' + }, + { + xtype: 'messeinheit', + name: 'mehId', + fieldLabel: 'Maßeinheit' + } ]; this.callParent(); }