VendorCheckController.js 765 B

1234567891011121314151617181920212223242526
  1. Ext.define('saas.view.money.report.VendorCheckController', {
  2. extend: 'saas.view.core.report.ReportPanelController',
  3. alias: 'controller.money-report-vendorcheck',
  4. init: function (form) {
  5. this.control({
  6. // 供应商编号
  7. 'dbfindtrigger[name=pi_vendname]':{
  8. beforerender:function(f){
  9. Ext.apply(f,{
  10. dbfinds:[{
  11. from:'ve_name',to:'pi_vendname'
  12. }],
  13. }) ;
  14. }
  15. }
  16. });
  17. },
  18. pi_vendname_change: function(field, value) {
  19. var me = this,
  20. reportPanel = me.getView();
  21. reportPanel.reportTitle = '供应商对账单(' + value + ')'
  22. }
  23. });