PurcRemark.js 846 B

123456789101112131415161718192021222324252627282930
  1. Ext.define('erp.view.scm.purchase.PurcRemark',{
  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/savePurcRemark.action',
  12. deleteUrl: 'scm/purchase/deletePurcRemark.action',
  13. updateUrl: 'scm/purchase/updatePurcRemark.action',
  14. getIdUrl: 'common/getId.action?seq=PURCREMARK_SEQ',
  15. bannedUrl: 'scm/purchase/bannedPurcRemark.action',
  16. resBannedUrl: 'scm/purchase/resBannedPurcRemark.action',
  17. keyField: 'pr_id',
  18. codeField: 'pr_code'
  19. },{
  20. xtype: 'erpGridPanel2',
  21. anchor: '100% 80%',
  22. detno: 'prd_detno',
  23. keyField: 'prd_id',
  24. mainField: 'prd_prid',
  25. necessaryField:'prd_remark'
  26. }]
  27. });
  28. me.callParent(arguments);
  29. }
  30. });