1234567891011121314151617181920212223242526 |
- /**
- * 导出矩阵bOM
- */
- Ext.define('erp.view.core.button.ExportBomCheckMsg',{
- extend: 'Ext.Button',
- alias: 'widget.erpExportBomCheckMsgButton',
- iconCls: 'x-button-icon-check',
- cls: 'x-btn-gray',
- id: 'ExportBomCheckMsg',
- text: '导出全部详情',
- style: {
- marginLeft: '10px'
- },
- width: 150,
-
- handler :function(){
- var form =Ext.getCmp('formPanel');
- var caller='BomCheck';
- var bomId=Ext.getCmp(form.keyField).value;
- window.location.href=basePath+"excel/exportBOMCheckMessageExcel.action?caller="+caller+"&bomId="+bomId;
- },
- initComponent : function(){
- this.callParent(arguments);
- }
- });
|