| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- Ext.define('saas.view.money.report.AccountDetailsController', {
- extend: 'saas.view.core.base.BasePanelController',
- alias: 'controller.money-report-accountdetails',
- // init: function (form) {
- // this.control({
- // // 供应商编号
- // 'dbfindtrigger[name=ve_name]':{
- // beforerender:function(f){
- // Ext.apply(f,{
- // dbfinds:[{
- // from:'ve_name',to:'ve_name'
- // }],
- // }) ;
- // }
- // },
- // // 客户编号
- // 'dbfindtrigger[name=cu_name]':{
- // beforerender:function(f){
- // Ext.apply(f,{
- // dbfinds:[{
- // from:'cu_name',to:'cu_name'
- // }],
- // }) ;
- // }
- // }
- // });
- // }
- init: function (form) {
- var me = this;
- this.control({
- 'customerDbfindTrigger[name=cu_name]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'cu_code',to:'cu_code'
- },{
- from:'cu_name',to:'cu_name'
- }]
- }) ;
- }
- },
- 'vendorDbfindTrigger[name=ve_name]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'ve_code',to:'ve_code'
- },{
- from:'ve_name',to:'ve_name'
- }]
- }) ;
- }
- }
- });
- }
- });
|