Browse Source

【漳州万利达MES】【SN批量查询】【bug】【导出从表中加上sn_emid的条件】

wub 6 years ago
parent
commit
0232a940d4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      WebContent/app/controller/pm/mes/SNBatch.js

+ 2 - 2
WebContent/app/controller/pm/mes/SNBatch.js

@@ -111,11 +111,11 @@ Ext.define('erp.controller.pm.mes.SNBatch', {
     			if(localJson.success){
     				showMessage('提示', '操作成功!', 1000);    	
     				//导出
-    				 var con=" sb_emid="+Ext.getCmp('em_id').value;
+    				 var con=" sn_emid="+Ext.getCmp('em_id').value+" and sb_emid="+Ext.getCmp('em_id').value;
 					 me.createExcel('SNBatch!ManyQuery', 'detailgrid', con);
 					 grid.GridUtil.loadNewStore(grid, {
                             caller: caller,
-                            condition: 'sb_emid ='+Ext.getCmp('em_id').value
+                            condition: " sb_emid="+Ext.getCmp('em_id').value
                      });   			  								 
 	   			} else if(localJson.exceptionInfo){
 	   				var str = localJson.exceptionInfo;