| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- Ext.define('saas.view.money.verification.QueryPanel', {
- extend: 'saas.view.core.query.QueryPanel',
- xtype: 'money-verification-querypanel',
- controller: 'money-verification-querypanel',
- viewModel: 'money-verification-querypanel',
- viewName: 'money-verification-querypanel',
-
- queryFormItems: [{
- xtype: 'hidden',
- name: 'rb_id',
- fieldLabel: 'ID',
- allowBlank: true,
- getCondition: function(value) {
- return 'rb_id=' + value;
- }
- }, {
- xtype: 'textfield',
- name: 'rb_code',
- fieldLabel: '单据编号'
- }, {
- xtype: 'condatefield',
- name: 'rb_date',
- fieldLabel: '日期',
- columnWidth: 0.5,
- operation: 'between'
- }],
- moreQueryFormItems: [],
- queryGridConfig: {
- idField: 'id',
- codeField: 'rb_code',
- addTitle: '收款单',
- addXtype: 'money-recbalance-formpanel',
- defaultCondition:'',
- baseVastUrl: '/api/money/recbalance/',
- baseColumn: [{
- text: 'id',
- dataIndex: 'id',
- width: 100,
- xtype: 'numbercolumn',
- hidden: true
- }, {
- text: '单据编号',
- dataIndex: 'rb_code',
- width: 200
- }, {
- text: '单据状态',
- dataIndex: 'rb_status',
- width: 120
- }, {
- text: '日期',
- dataIndex: 'rb_date',
- xtype: 'datecolumn',
- width: 200
- }, {
- text: '客户编号',
- dataIndex: 'rb_custcode',
- hidden: true
- }, {
- text: '客户名称',
- dataIndex: 'rb_custname',
- }, {
- text: '收款人',
- dataIndex: 'rb_manname',
- xtype: 'numbercolumn',
- width: 120,
- }, {
- text: '收款金额',
- dataIndex: 'rb_rdamount',
- xtype: 'numbercolumn',
- width: 120,
- flex: 1,
- hidden: true
- }]
- }
- });
|