Browse Source

BUG提交

hy 7 years ago
parent
commit
5089e92b07

+ 1 - 1
frontend/saas-web/app/view/core/base/GridPanel.js

@@ -138,7 +138,7 @@ Ext.define('saas.view.core.base.GridPanel', {
     },
 
     onLoad:function(){
-        this.store.load();
+        this.ownerCt.ownerCt.store.load();
     },
 
     onVastDeal:function(url,type){

+ 16 - 1
frontend/saas-web/app/view/document/bom/BasePanel.js

@@ -5,7 +5,22 @@ Ext.define('saas.view.document.bom.BasePanel', {
     controller: 'document-bom-basepanel',
     viewModel: 'document-bom-basepanel',
 
-    searchField:[],
+    searchField:[{ 
+        xtype : "textfield", 
+        name : "bo_mothercode", 
+        emptyText : "母件编号", 
+        width:120
+    },{
+        xtype : "textfield", 
+        name : "bo_mothername", 
+        emptyText : "母件名称", 
+        width:120
+    },{
+        xtype : "textfield", 
+        name : "bo_status", 
+        emptyText : "BOM状态",    
+        width:100
+    }],
 
     //字段属性
     _formXtype:'document-bom-formpanel',