VendorRemark.js 860 B

123456789101112131415161718192021222324252627282930
  1. Ext.define('erp.view.scm.purchase.VendorRemark',{
  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. saveUrl: 'scm/purchase/saveVendorRemark.action',
  12. deleteUrl: 'scm/purchase/deleteVendorRemark.action',
  13. updateUrl: 'scm/purchase/updateVendorRemark.action',
  14. bannedUrl: 'scm/purchase/bannedVendorRemark.action',
  15. resBannedUrl: 'scm/purchase/resBannedVendorRemark.action',
  16. getIdUrl: 'common/getId.action?seq=VENDORREMARK_SEQ',
  17. keyField: 'vr_id',
  18. codeField: 'vr_code'
  19. },{
  20. xtype: 'erpGridPanel2',
  21. anchor: '100% 80%',
  22. detno: 'vrd_detno',
  23. keyField: 'vrd_id',
  24. mainField: 'vrd_vrid',
  25. necessaryField: 'vrd_remark'
  26. }]
  27. });
  28. me.callParent(arguments);
  29. }
  30. });