| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- Ext.define('saas.view.stock.appropriationInOut.QueryPanelController', {
- extend: 'saas.view.core.query.QueryPanelController',
- alias: 'controller.stock-appropriationinout-querypanel',
-
- init: function (form) {
- var me = this;
- this.control({
- //放大镜赋值关系 以及 tpl模板
- 'dbfindtrigger[name=pr_detail]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'pr_code',to:'pd_prodcode'
- },{
- from:'pr_detail',to:'pr_detail'
- }]
- }) ;
- }
- },
- 'warehouseDbfindTrigger[name=pd_whname]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'wh_code',to:'wh_code'
- },{
- from:'wh_description',to:'pd_whname'
- }]
- }) ;
- }
- },
- 'warehouseDbfindTrigger[name=pd_inwhname]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'wh_code',to:'wh_code'
- },{
- from:'wh_description',to:'pd_inwhname'
- }]
- }) ;
- }
- },'employeeDbfindTrigger[name=creatorName]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'em_code',to:'em_code'
- },{
- from:'em_name',to:'creatorName'
- }],
- }) ;
- }
- },'employeeDbfindTrigger[name=pi_auditman]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'em_code',to:'em_code'
- },{
- from:'em_name',to:'pi_auditman',
- }],
- }) ;
- }
- }
- });
- }
- });
|