MouldSale.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.pm.mould.MouldSale',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'MouldSaleViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 50%',
  14. saveUrl: 'pm/mould/saveMouldSale.action',
  15. deleteUrl: 'pm/mould/deleteMouldSale.action',
  16. updateUrl: 'pm/mould/updateMouldSale.action',
  17. auditUrl: 'pm/mould/auditMouldSale.action',
  18. resAuditUrl: 'pm/mould/resAuditMouldSale.action',
  19. submitUrl: 'pm/mould/submitMouldSale.action',
  20. resSubmitUrl: 'pm/mould/resSubmitMouldSale.action',
  21. getIdUrl: 'common/getId.action?seq=MOD_SALE_SEQ',
  22. keyField: 'msa_id',
  23. codeField: 'msa_code',
  24. statusField: 'msa_statuscode'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 50%',
  28. detno: 'msd_detno',
  29. necessaryField: 'msd_pscode',
  30. keyField: 'msd_id',
  31. mainField: 'msd_msaid'
  32. }]
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });