|
|
@@ -17,17 +17,17 @@ Ext.define('saas.view.stock.inventory.EditDataList', {
|
|
|
'Ext.selection.CellModel',
|
|
|
'Ext.grid.plugin.Exporter'
|
|
|
],
|
|
|
- plugins: {
|
|
|
- cellediting: {
|
|
|
- clicksToEdit: 1,
|
|
|
- listeners: {
|
|
|
- // edit: function(editor, context, eOpts) {
|
|
|
- // context.column.fireEvent('edit', context.value);
|
|
|
- // }
|
|
|
- }
|
|
|
- },
|
|
|
- gridexporter: true
|
|
|
+ plugins: [
|
|
|
+ {
|
|
|
+ ptype: 'cellediting',
|
|
|
+ clicksToEdit: 1
|
|
|
},
|
|
|
+ {
|
|
|
+ ptype: 'gridexporter',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ ptype: 'menuclipboard'
|
|
|
+ }],
|
|
|
tbar: [{
|
|
|
xtype: 'warehouseDbfindTrigger',
|
|
|
name: 'wh_description',
|
|
|
@@ -44,8 +44,7 @@ Ext.define('saas.view.stock.inventory.EditDataList', {
|
|
|
name : "pr_kind",
|
|
|
bind: '{form.pr_kind}',
|
|
|
emptyText : "类型",
|
|
|
- hiddenBtn:true,
|
|
|
- allowBlank : false,
|
|
|
+ hiddenBtn:true,
|
|
|
width:150
|
|
|
},{
|
|
|
// xtype: 'productDbfindTrigger',
|