ProductWHMonthAdjust.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Ext.define('erp.view.co.inventory.ProductWHMonthAdjust',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. initComponent : function(){
  5. var me = this;
  6. Ext.apply(me, {
  7. items: [{
  8. xtype: 'erpFormPanel',
  9. anchor: '100% 40%',
  10. saveUrl: 'co/inventory/saveProductWHMonthAdjust.action',
  11. deleteUrl: 'co/inventory/deleteProductWHMonthAdjust.action',
  12. updateUrl: 'co/inventory/updateProductWHMonthAdjust.action',
  13. auditUrl: 'co/inventory/auditProductWHMonthAdjust.action',
  14. resAuditUrl: 'co/inventory/resAuditProductWHMonthAdjust.action',
  15. submitUrl: 'co/inventory/submitProductWHMonthAdjust.action',
  16. resSubmitUrl: 'co/inventory/resSubmitProductWHMonthAdjust.action',
  17. postUrl: 'co/inventory/postProductWHMonthAdjust.action',
  18. resPostUrl: 'co/inventory/resPostProductWHMonthAdjust.action',
  19. getIdUrl: 'common/getId.action?seq=PRODUCTWHMONTHADJUST_SEQ',
  20. keyField: 'pwa_id',
  21. codeField: 'pwa_code',
  22. statusField: 'pwa_status',
  23. statuscodeField: 'pwa_statuscode',
  24. voucherConfig: {
  25. voucherField: 'pwa_vouchercode',
  26. vs_code: 'ProductWHMonthAdjust',
  27. yearmonth: 'pwa_date',
  28. datas: 'pwa_code',
  29. status: 'pwa_statuscode',
  30. mode: 'single',
  31. kind: null,
  32. vomode: 'ST'
  33. }
  34. },{
  35. xtype: 'erpGridPanel2',
  36. anchor: '100% 60%',
  37. detno: 'pwd_detno',
  38. necessaryField: 'pwd_prodcode',
  39. keyField: 'pwd_id',
  40. mainField: 'pwd_pwaid'
  41. }]
  42. });
  43. me.callParent(arguments);
  44. }
  45. });