StockTaking.js 938 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.scm.reserve.StockTaking',{
  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. deleteUrl: 'scm/reserve/deleteStockTaking.action',
  12. updateUrl: 'scm/reserve/updateStockTaking.action',
  13. auditUrl: 'scm/reserve/auditStockTaking.action',
  14. resAuditUrl: 'scm/reserve/resAuditStockTaking.action',
  15. postUrl: 'scm/reserve/postStockTaking.action',
  16. resPostUrl: 'scm/reserve/resPostStockTaking.action',
  17. getIdUrl: 'common/getId.action?seq=STOCKTAKING_SEQ',
  18. keyField: 'st_id',
  19. codeField: 'st_code',
  20. statuscodeField: 'st_statuscode'
  21. },{
  22. xtype: 'erpGridPanel2',
  23. anchor: '100% 70%',
  24. detno: 'std_detno',
  25. necessaryField: 'std_prodcode',
  26. keyField: 'std_id',
  27. mainField: 'std_stid'
  28. }]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });