1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- Ext.define('uas.view.trigger.define.ProductTrigger', {
- extend: 'uas.view.trigger.DbfindTrigger',
- xtype: 'producttrigger',
- dbtpls: [{
- field: 'code',width: 200
- }, {
- field: 'price',width: 80
- }],
- dbColumns:[{
- text: "物料ID",
- hidden: true,
- dataIndex: "id"
- }, {
- text: "物料编号",
- dataIndex: "code",
- width: 250,
- filter:{
- type:'string'
- }
- },{
- text: "供应商",
- width: 190,
- dataIndex: "vendor",
- filter:{
- type:'string'
- }
- }, {
- text : "型号",
- dataIndex : "currency",
- width : 200.0,
- filter:{
- type:'string'
- }
- }, {
- text : "规格",
- dataIndex : "currency",
- width : 200.0,
- filter:{
- type:'string'
- }
- },{
- text: "单位",
- dataIndex: "currency",
- width: 65
- },{
- text: "类型",
- dataIndex: "currency",
- width: 100
- },{
- text: "库存",
- dataIndex: "price",
- width: 100,
- xtype: 'numbercolumn',
- filter:{
- type:'number'
- }
- }, {
- dataIndex: '',
- flex: 1
- }]
- });
|