Mercurial > lada > lada-client
view app/view/messungen/CreateForm.js @ 414:5c037d30aaab
Added tag 0.6 for changeset e1af66012ef0
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 27 Sep 2013 14:53:11 +0200 |
parents | eccf58d3b106 |
children | debfcc7713e3 |
line wrap: on
line source
/* * Formular to create a Messung */ Ext.define('Lada.view.messungen.CreateForm', { extend: 'Lada.view.widgets.LadaForm', model: 'Lada.model.Messung', requires: [ 'Lada.view.widgets.Messmethode', 'Lada.view.widgets.Testdatensatz' ], initComponent: function() { this.items = [ { xtype: 'textfield', name: 'nebenprobenNr', maxLength: 10, fieldLabel: 'NPR' }, { xtype: 'messmethode', name: 'mmtId', fieldLabel: 'MMT' }, { xtype: 'datetime', name: 'messzeitpunkt', fieldLabel: 'Messzeitpunkt' }, { xtype: 'numberfield', allowDecimals: false, minValue: 0, name: 'messdauer', fieldLabel: 'Messdauer' }, { xtype: 'testdatensatz', name: 'fertig', fieldLabel: 'Fertig' }, { xtype: 'testdatensatz', name: 'geplant', fieldLabel: 'Geplant' } ]; this.callParent(); } });