Customer.js 492 B

1234567891011121314151617181920
  1. Ext.define('erp.view.scm.sale.Customer', {
  2. extend : 'Ext.Viewport',
  3. layout : 'anchor',
  4. hideBorders : true,
  5. initComponent : function() {
  6. var me = this;
  7. Ext.apply(me, {
  8. items : [ {
  9. xtype : 'erpFormPanel',
  10. anchor : '100% 100%',
  11. saveUrl : 'scm/sale/saveCustomer.action',
  12. updateUrl : 'scm/sale/updateCustomer.action',
  13. getIdUrl : 'common/getId.action?seq=CUSTOMER_SEQ',
  14. keyField : 'cu_id',
  15. codeField : 'cu_code'
  16. } ]
  17. });
  18. me.callParent(arguments);
  19. }
  20. });