123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- Ext.define('make.view.osmake.osMakePick.QueryPanelController', {
- extend: 'saas.view.core.query.QueryPanelController',
- alias: 'controller.osmake-osmakepick-querypanel',
-
- init: function (form) {
- var me = this;
- this.control({
- // 物料编号
- 'dbfindtrigger[name=pr_detail]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'pr_code',to:'pd_prodcode'
- }, {
- from:'pr_detail',to:'pr_detail'
- }, {
- from:'pr_orispeccode',to:'pr_orispeccode'
- }],
- }) ;
- }
- },'dbfindtrigger[name=creatorName]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'em_code',to:'em_code'
- },{
- from:'em_name',to:'creatorName'
- }],
- }) ;
- }
- },'dbfindtrigger[name=pi_auditman]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'em_code',to:'em_code'
- },{
- from:'em_name',to:'pi_auditman',
- }],
- }) ;
- }
- },'dbfindtrigger[name=prodiodetail.pd_prodcode]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'pr_code',to:'prodiodetail.pd_prodcode',
- }, {
- from:'pr_detail',to:'pr_detail'
- }, {
- from:'pr_orispeccode',to:'pr_orispeccode'
- }, {
- from:'pr_brand',to:'pr_brand'
- }],
- }) ;
- }
- },'dbfindtrigger[name=pi_vendname]':{
- beforerender:function(f){
- Ext.apply(f,{
- dbfinds:[{
- from:'ve_code',to:'pi_vendcode',
- },{
- from:'ve_name',to:'pi_vendname',
- }],
- }) ;
- }
- },'dbfindtrigger[name=prodiodetail.pd_whname]': {
- beforerender: function (f) {
- Ext.apply(f, {
- dbfinds: [{
- from: 'wh_code', to: 'wh_code'
- }, {
- from: 'wh_description', to: 'prodiodetail.pd_whname'
- }]
- });
- },
- }
- });
- },
- });
|