QueryPanelController.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Ext.define('saas.view.money.recBalance.QueryPanelController', {
  2. extend: 'saas.view.core.query.QueryPanelController',
  3. alias: 'controller.money-recbalance-querypanel',
  4. init: function (form) {
  5. var me = this;
  6. this.control({
  7. 'customerDbfindTrigger[name=rb_custname]':{
  8. beforerender: function (f) {
  9. Ext.apply(f, {
  10. dbfinds: [{
  11. from: 'cu_code', to: 'cu_code'
  12. },{
  13. from: 'cu_name', to: 'rb_custname'
  14. }],
  15. });
  16. }
  17. },'accountDbfindTrigger[name=creatorName]':{
  18. beforerender: function (f) {
  19. Ext.apply(f, {
  20. dbfinds: [{
  21. from: 'realname', to: 'creatorName'
  22. }],
  23. });
  24. }
  25. },'accountDbfindTrigger[name=rb_auditman]':{
  26. beforerender: function (f) {
  27. Ext.apply(f, {
  28. dbfinds: [{
  29. from: 'realname', to: 'rb_auditman'
  30. }],
  31. });
  32. }
  33. }
  34. });
  35. }
  36. });