ProductWarehouse.js 554 B

123456789101112131415161718192021
  1. Ext.define('erp.view.scm.reserve.ProductWarehouse',{
  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% 100%',
  11. saveUrl: 'scm/reserve/saveProductWarehouse.action',
  12. updateUrl: 'scm/reserve/updateProductWarehouse.action',
  13. getIdUrl: 'common/getId.action?seq=PRODUCT_SEQ',
  14. keyField: 'pr_id',
  15. codeField: 'pr_code',
  16. statusField: 'pr_statuscode'
  17. }]
  18. });
  19. me.callParent(arguments);
  20. }
  21. });