12345678910111213141516171819202122232425262728293031323334353637 |
- Ext.define('erp.view.pm.mes.Device',{
- extend: 'Ext.Viewport',
- layout: 'fit',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- id:'DeviceViewport',
- layout: 'anchor',
- items: [{
- xtype: 'erpFormPanel',
- anchor: '100% 40%',
- saveUrl: 'pm/mes/saveDevice.action',
- deleteUrl: 'pm/mes/deleteDevice.action',
- updateUrl: 'pm/mes/updateDevice.action',
- getIdUrl: 'common/getId.action?seq=Device_SEQ',
- submitUrl: 'pm/mes/submitDevice.action',
- auditUrl: 'pm/mes/auditDevice.action',
- resAuditUrl: 'pm/mes/resAuditDevice.action',
- resSubmitUrl: 'pm/mes/resSubmitDevice.action',
- keyField: 'de_id',
- codeField: 'de_code',
- statusField: 'de_status',
- statuscodeField: 'de_statuscode'
- },{
- xtype: 'erpGridPanel2',
- anchor: '100% 60%',
- detno: 'dl_detno',
- keyField: 'dl_id',
- mainField: 'dl_deid'
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|