| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- Ext.define('erp.view.fa.ars.Voucher',{
- extend: 'Ext.Viewport',
- layout: 'fit',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- layout: 'anchor',
- items: [{
- anchor: '100% 26%',
- xtype: 'erpFormPanel',
- saveUrl: 'fa/ars/saveVoucher.action',
- deleteUrl: 'fa/ars/deleteVoucher.action',
- updateUrl: 'fa/ars/updateVoucher.action',
- submitUrl: 'fa/ars/submitVoucher.action',
- auditUrl: 'fa/ars/auditVoucher.action',
- printUrl: 'fa/ars/printVoucher.action',
- resAuditUrl: 'fa/ars/resAuditVoucher.action',
- resSubmitUrl: 'fa/ars/resSubmitVoucher.action',
- getIdUrl: 'common/getId.action?seq=VOUCHER_SEQ',
- keyField: 'vo_id',
- statusField: 'vo_statuscode',
- codeField: 'vo_code'
- },{
- anchor: '100% 56%',
- xtype: 'erpGridPanel2',
- autoSetSequence: true,
- viewConfig: {
- getRowClass: function(record) {
- return record.get('isass') ? 'custom-ass' : '';
- }
- }
- },{
- anchor: '100% 18%',
- xtype: 'erpFormPanel',
- id: 'form_disable',
- caller: 'Voucher!Disable',
- _noc: 1,
- enableTools: false
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|