| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- Ext.define('saas.view.stock.make.QueryPanel', {
- extend: 'saas.view.core.query.QueryPanel',
- xtype: 'stock-make-querypanel',
- controller: 'stock-make-querypanel',
- viewModel: 'stock-make-querypanel',
- viewName: 'stock-make-querypanel',
-
- queryFormItems: [{
- xtype: 'hidden',
- name: 'ma_id',
- bind: '{ma_id}',
- fieldLabel: 'ID',
- allowBlank: true,
- getCondition: function(value) {
- return 'ma_id=' + value;
- }
- },{
- xtype: 'textfield',
- name: 'ma_code',
- bind: '{ma_code}',
- fieldLabel: '单据编号'
- },{
- xtype: 'textfield',
- name: 'ma_type',
- bind: '{ma_type}',
- fieldLabel: '类型'
- },{
- xtype: 'textfield',
- name: 'ma_prodcode',
- bind: '{ma_prodcode}',
- fieldLabel: '产品编号'
- }],
- moreQueryFormItems: [],
- queryGridConfig: {
- idField: 'id',
- codeField: 'ma_code',
- addTitle: '制造单',
- addXtype: 'stock-make-formpanel',
- defaultCondition:'',
- baseVastUrl: '/api/storage/make/',
- baseColumn: [{
- text: 'id',
- dataIndex: 'id',
- width: 100,
- xtype: 'numbercolumn'
- }, {
- text: '单据编号',
- dataIndex: 'ma_code',
- width: 200
- }, {
- text: '类型',
- dataIndex: 'ma_type',
- width: 120
- }, {
- text: '产品编号',
- dataIndex: 'ma_prodcode',
- width: 200
- }, {
- text: '产品名称',
- dataIndex: 'ma_proddetail',
- width: 120
- }, {
- text: '版本号',
- dataIndex: 'ma_version',
- width: 120
- }, {
- text: '数量',
- dataIndex: 'ma_qty',
- xtype: 'numbercolumn',
- width: 120,
- flex: 1
- },{
- text: '单位',
- dataIndex: 'ma_produnit',
- width: 120,
- flex: 1
- },{
- text: '单位成本',
- dataIndex: 'ma_total',
- xtype: 'numbercolumn',
- width: 120,
- flex: 1
- },{
- text: '状态',
- dataIndex: 'ma_status',
- width: 120,
- flex: 1
- }],
- relativeColumn: []
- }
- });
|