VendorBank.js 656 B

123456789101112131415161718192021222324252627
  1. Ext.define('erp.view.scm.purchase.VendorBank', {
  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% 20%',
  11. updateUrl : 'scm/purchase/updateVendorBank.action',
  12. getIdUrl : 'common/getId.action?seq=VENDOR_SEQ',
  13. keyField : 've_id',
  14. codeField : 've_code',
  15. }, {
  16. xtype : 'erpGridPanel2',
  17. anchor : '100% 80%',
  18. keyField : 'vpd_id',
  19. mainField : 'vpd_vpid',
  20. detno : 'vpd_detno',
  21. autoSetSequence : true,
  22. necessaryField : 'vpd_bank'
  23. } ]
  24. });
  25. me.callParent(arguments);
  26. }
  27. });