QueryPanelController.js 897 B

12345678910111213141516171819202122232425262728
  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. 'dbfindtrigger[name=rb_custname]':{
  8. beforerender:function(f){
  9. Ext.apply(f,{
  10. //赋值
  11. dbfinds:[{
  12. from: 'id', to: 'rb_custid',ignore:true
  13. }, {
  14. from:'cu_code', to:'rb_custcode'
  15. },{
  16. from:'cu_name', to:'rb_custname'
  17. },{
  18. from:'cu_leftamount', to:'cu_leftamount'
  19. }]
  20. }) ;
  21. }
  22. },
  23. });
  24. }
  25. });