| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- Ext.define('saas.view.document.bom.BasePanel', {
- extend: 'saas.view.core.base.BasePanel',
- xtype: 'document-bom-basepanel',
- controller: 'document-bom-basepanel',
- viewModel: 'document-bom-basepanel',
- searchField:[],
- //字段属性
- _formXtype:'document-bom-formpanel',
- _title:'BOM资料',
- _deleteUrl:'/api/document/bom/delete/',
- // _dataUrl:'/api/ducument/customer/list',
- _batchOpenUrl:'/api/document/bom/batchOpen',
- _batchCloseUrl:'/api/document/bom/batchClose',
- _batchDeleteUrl:'/api/document/bom/batchDelete',
- gridConfig: {
- idField: 'id',
- codeField: 'bo_mothercode',
- statusCodeField:'bo_statuscode',
- dataUrl: '/api/document/bom/list',
- columns : [{
- text : "id",
- width : 0,
- dataIndex : "id",
- xtype : "numbercolumn",
- },{
- text : "母件id",
- width : 0,
- dataIndex : "bo_motherid",
- xtype : "numbercolumn",
- },{
- text : "母件编号",
- width : 200.0,
- dataIndex : "bo_mothercode",
- },
- {
- text : "母件名称",
- dataIndex : "bo_mothername",
- width : 120.0,
- },
- {
- text : "BOM状态",
- dataIndex : "bo_status",
- width : 120.0,
- },
- {
- text : "BOM状态码",
- dataIndex : "bo_statuscode",
- width : 0,
- },
- {
- text : "BOM版本",
- dataIndex : "bo_version",
- width : 120.0,
- }]
- },
- refresh:function(){
- this.items.items[0].store.load()
- }
- });
|