comparison app/view/form/Probe.js @ 1116:92c0fa2f29b0

complete some comboboxes in probe form and messprogramm form
author Michael Stanko <mstanko@bfs.de>
date Thu, 19 May 2016 14:56:43 +0200
parents 9bcd17f7a0ae
children 1be581a403b5
comparison
equal deleted inserted replaced
1115:6866be10e40c 1116:92c0fa2f29b0
187 }, 187 },
188 border: 0, 188 border: 0,
189 width: '100%', 189 width: '100%',
190 items: [{ 190 items: [{
191 xtype: 'probenehmer', 191 xtype: 'probenehmer',
192 allowDecimals: false,
193 name: 'probeNehmerId', 192 name: 'probeNehmerId',
194 fieldLabel: 'Probennehmer', 193 fieldLabel: 'Probennehmer',
195 margin: '0, 5, 5, 5', 194 margin: '0, 5, 5, 5',
196 width: '50%', 195 width: '50%',
197 minValue: 0, 196 minValue: 0,
209 },{ 208 },{
210 xtype: 'messprogrammland', 209 xtype: 'messprogrammland',
211 name: 'mplId', 210 name: 'mplId',
212 fieldLabel: 'Messprogramm-Land', 211 fieldLabel: 'Messprogramm-Land',
213 margin: '0, 5, 5, 5', 212 margin: '0, 5, 5, 5',
214 width: '50%', 213 width: '100%',
215 anchor: '100%', 214 anchor: '100%',
216 labelWidth: 110 215 labelWidth: 110
217 }] 216 }]
218 }, { 217 }, {
219 // Zeit 218 // Zeit
496 this.down('cbox[name=erzeugerId]').setReadOnly(value); 495 this.down('cbox[name=erzeugerId]').setReadOnly(value);
497 this.down('cbox[name=umwId]').setReadOnly(value); 496 this.down('cbox[name=umwId]').setReadOnly(value);
498 this.down('datetime[name=probeentnahmeBeginn]').setReadOnly(value); 497 this.down('datetime[name=probeentnahmeBeginn]').setReadOnly(value);
499 this.down('datetime[name=probeentnahmeEnde]').setReadOnly(value); 498 this.down('datetime[name=probeentnahmeEnde]').setReadOnly(value);
500 this.down('cbox[name=probeNehmerId]').setReadOnly(value); 499 this.down('cbox[name=probeNehmerId]').setReadOnly(value);
500 this.down('cbox[name=mplId]').setReadOnly(value);
501 501
502 //Deskriptoren 502 //Deskriptoren
503 for (var i = 0; i < 12; i++) { 503 for (var i = 0; i < 12; i++) {
504 this.down('deskriptor[layer='+i+']').setReadOnly(value); 504 this.down('deskriptor[layer='+i+']').setReadOnly(value);
505 } 505 }

http://lada.wald.intevation.org