| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- Ext.define('saas.view.document.vendor.BasePanel', {
- extend: 'saas.view.core.base.BasePanel',
- xtype: 'document-vendor-basepanel',
- controller: 'document-vendor-basepanel',
- viewModel: 'document-vendor-basepanel',
- searchField:[{
- xtype : "remotecombo",
- storeUrl:'/api/document/vendorkind/getCombo',
- name : "ve_type",
- emptyText : "请选择供应商类型",
- columnWidth : 0.25,
- hiddenBtn:true
- },{
- xtype : "textfield",
- name : "ve_name",
- emptyText : "供应商名称",
- columnWidth : 0.25,
- },{
- xtype : "textfield",
- name : "ve_code",
- emptyText : "供应商编号",
- columnWidth : 0.25,
- }],
- //字段属性
- _formXtype:'document-vendor-formpanel',
- _title:'供应商资料',
- // _dataUrl:'/api/ducument/vendor/list',
- _deleteUrl:'/api/document/vendor/delete/',
- _batchOpenUrl:'/api/document/vendor/batchOpen',
- _batchCloseUrl:'/api/document/vendor/batchClose',
- _batchDeleteUrl:'/api/document/vendor/batchDelete',
- gridConfig: {
- idField: 'id',
- codeField: 've_code',
- statusCodeField:'ve_statuscode',
- dataUrl: '/api/document/vendor/list',
- columns : [{
- text : "供应商id",
- width : 0,
- dataIndex : "id",
- xtype : "numbercolumn",
- },{
- text : "供应商编号",
- width : 200.0,
- dataIndex : "ve_code",
- xtype : "",
- },
- {
- text : "供应商名称",
- dataIndex : "ve_name",
- width : 120.0,
- xtype : "",
- },
- {
- text : "供应商类型",
- dataIndex : "ve_type",
- width : 120.0,
- xtype : "",
- },
- {
- text : "供应商状态",
- dataIndex : "ve_status",
- width : 120.0,
- xtype : ""
- },
- {
- text : "供应商状态码",
- dataIndex : "ve_statuscode",
- width : 0,
- xtype : ""
- },
- {
- text : "供应商UU",
- dataIndex : "ve_uu",
- width : 120.0,
- xtype : "",
- },
- {
- text : "默认供应商联系人",
- dataIndex : "vc_name",
- flex : 1.0,
- xtype : "",
- }]
- },
- refresh:function(){
- this.items.items[0].store.load()
- }
- });
|