| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- Ext.define('erp.view.pm.mould.AppMould',{
- extend: 'Ext.Viewport',
- layout: 'fit',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- id:'AppMouldViewport',
- layout: 'anchor',
- items: [{
- xtype: 'erpFormPanel',
- anchor: '100% 50%',
- saveUrl: 'pm/mould/saveAppMould.action',
- deleteUrl: 'pm/mould/deleteAppMould.action',
- updateUrl: 'pm/mould/updateAppMould.action',
- auditUrl: 'pm/mould/auditAppMould.action',
- resAuditUrl: 'pm/mould/resAuditAppMould.action',
- submitUrl: 'pm/mould/submitAppMould.action',
- resSubmitUrl: 'pm/mould/resSubmitAppMould.action',
- bannedUrl: 'pm/mould/bannedAppMould.action',
- resBannedUrl: 'pm/mould/resBannedAppMould.action',
- getIdUrl: 'common/getId.action?seq=AppMould_SEQ',
- keyField: 'app_id',
- codeField: 'app_code',
- statusField: 'app_statuscode'
- },{
- xtype: 'erpGridPanel2',
- anchor: '100% 50%',
- detno: 'ad_detno',
- necessaryField: 'ad_pscode',
- keyField: 'ad_id',
- mainField: 'ad_appid',
- allowExtraButtons : true
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|