CustomerBaseFP.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Ext.define('erp.view.fa.fp.CustomerBaseFP',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. xtype: 'erpFormPanel',
  12. anchor: '100% 80%',
  13. saveUrl: 'fa/fp/saveCustomerBaseFP.action',
  14. deleteUrl: 'fa/fp/deleteCustomerBaseFP.action',
  15. updateUrl: 'fa/fp/updateCustomerBaseFP.action',
  16. auditUrl: 'fa/fp/auditCustomerBaseFP.action',
  17. resAuditUrl: 'fa/fp/resAuditCustomerBaseFP.action',
  18. submitUrl: 'fa/fp/submitCustomerBaseFP.action',
  19. resSubmitUrl: 'fa/fp/resSubmitCustomerBaseFP.action',
  20. bannedUrl: 'fa/fp/bannedCustomerBaseFP.action',
  21. resBannedUrl: 'fa/fp/resBannedCustomerBaseFP.action',
  22. HandleHangCustomerBaseUrl: 'fa/fp/submitHandleHangCustomerBaseFP.action',
  23. getIdUrl: 'common/getId.action?seq=CUSTOMER_SEQ',
  24. keyField: 'cu_id',
  25. codeField: 'cu_code',
  26. statusField: 'cu_auditstatuscode'
  27. },{
  28. xtype: 'erpGridPanel2',
  29. anchor: '100% 20%',
  30. detno: 'shi_detno',
  31. keyField: 'shi_id',
  32. mainField: 'shi_cuid'
  33. }]
  34. }]
  35. });
  36. me.callParent(arguments);
  37. }
  38. });