| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- Ext.define('erp.view.scm.product.BOMDetailPanel.BOMDetailPanelForm',{
- extend: 'Ext.form.Panel',
- alias: 'widget.erpBOMDetailPanelForm',
- id: 'from',
- region: 'north',
- columnWidth:1,
- frame : true,
- layout : 'column',
- autoScroll : true,
- defaultType : 'textfield',
- labelSeparator : ':',
- buttonAlign : 'center',
- fieldDefaults : {
- margin : '2 2 2 2',
- fieldStyle : "background:#FFFAFA;color:#515151;",
- focusCls: 'x-form-field-cir-focus',
- labelAlign : "right",
- msgTarget: 'side',
- blankText : $I18N.common.form.blankText
- },
- FormUtil: Ext.create('erp.util.FormUtil'),
- BaseUtil: Ext.create('erp.util.BaseUtil'),
- tbar: [{
- name: 'BOMDetailPanelImp',
- text: 'BOM版面位号匹配',
- iconCls: 'x-button-icon-query',
- cls: 'x-btn-gray',
- handler: function(){
- console.log("BOM版面位号匹配");
- }
- },{
- name: 'BOMDetailPanelExcel',
- text: '模板下载',
- iconCls: 'x-button-icon-excel',
- cls: 'x-btn-gray',
- handler: function(){
- console.log("BOM版面位号匹配模板下载");
- }
- }],
- initComponent : function(){
- this.callParent(arguments);
- }
- });
|