| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- Ext.define('saas.view.stock.make.QueryPanelController', {
- extend: 'saas.view.core.query.QueryPanelController',
- alias: 'controller.stock-make-querypanel',
-
- init: function (form) {
- var me = this;
- this.control({
- //放大镜赋值关系 以及 tpl模板
- 'bomDbfindTrigger[name=ma_prodcode]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from: 'bo_mothercode',
- to: 'bo_mothercode'
- }, {
- from: 'bo_mothername',
- to: 'ma_proddetail'
- }, {
- from: 'pr_orispeccode', to: 'pr_orispeccode',ignore:ture
- }],
- }) ;
- }
- },'accountDbfindTrigger[name=creatorName]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'realname',to:'creatorName'
- }],
- }) ;
- }
- },'accountDbfindTrigger[name=ma_auditman]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'realname',to:'ma_auditman'
- }],
- }) ;
- }
- }
- });
- }
- });
|