Browse Source

销售退货单物料放大镜赋值问题

rainco 7 years ago
parent
commit
f3330cbd6b
1 changed files with 2 additions and 20 deletions
  1. 2 20
      frontend/saas-web/app/view/sale/saleIn/QueryPanelController.js

+ 2 - 20
frontend/saas-web/app/view/sale/saleIn/QueryPanelController.js

@@ -4,29 +4,12 @@ Ext.define('saas.view.sale.saleIn.QueryPanelController', {
     init: function (form) {
     init: function (form) {
         var me = this;
         var me = this;
         this.control({
         this.control({
-            // 客户名称
-            'dbfindtrigger[name=pi_custname]':{
-                beforerender:function(f){
-                    Ext.apply(f,{
-                        dbfinds:[
-                        {
-                            from:'id',to:'pi_custid',ignore:true
-                        },{
-                            from:'cu_code',to:'pi_custcode'
-                        },{
-                            from:'cu_name',to:'pi_custname'
-                        }],
-                    }) ;
-
-                }
-            },
-
             // 物料编号
             // 物料编号
-            'dbfindtrigger[name=pd_prodcode]':{
+            'dbfindtrigger[name=pr_detail]':{
                 beforerender:function(f){
                 beforerender:function(f){
                     Ext.apply(f,{
                     Ext.apply(f,{
                         dbfinds:[{
                         dbfinds:[{
-                            from:'pr_code',to:'pd_prodcode',ignore:true
+                            from:'pr_code',to:'pd_prodcode'
                         }, {
                         }, {
                             from:'pr_detail',to:'pr_detail'
                             from:'pr_detail',to:'pr_detail'
                         }],
                         }],
@@ -35,6 +18,5 @@ Ext.define('saas.view.sale.saleIn.QueryPanelController', {
                 }
                 }
             }
             }
         });
         });
-
     }
     }
 });
 });