QuaProject.js 938 B

123456789101112131415161718192021222324252627282930313233
  1. Ext.define('erp.view.scm.qc.QuaProject',{
  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% 30%',
  11. saveUrl: 'scm/qc/saveQuaProject.action',
  12. deleteUrl: 'scm/qc/deleteQuaProject.action',
  13. updateUrl: 'scm/qc/updateQuaProject.action',
  14. auditUrl: 'scm/qc/auditQuaProject.action',
  15. resAuditUrl: 'scm/qc/resAuditQuaProject.action',
  16. submitUrl: 'scm/qc/submitQuaProject.action',
  17. resSubmitUrl: 'scm/qc/resSubmitQuaProject.action',
  18. getIdUrl: 'common/getId.action?seq=QUA_PROJECT_SEQ',
  19. codeField: 'pr_code',
  20. keyField: 'pr_id',
  21. statusField: 'pr_status'
  22. },{
  23. xtype: 'erpGridPanel2',
  24. anchor: '100% 70%',
  25. detno: 'pd_detno',
  26. necessaryField: 'pd_itemcode',
  27. keyField: 'pd_id',
  28. mainField: 'pd_prid'
  29. }]
  30. });
  31. me.callParent(arguments);
  32. }
  33. });