| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- Ext.define('saas.view.money.recBalance.QueryPanel', {
- extend: 'saas.view.core.query.QueryPanel',
- xtype: 'money-recbalance-querypanel',
- controller: 'money-recbalance-querypanel',
- viewModel: 'money-recbalance-querypanel',
- viewName: 'money-recbalance-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'
- },{
- xtype: 'multicombo',
- name: 'rb_status',
- fieldLabel: '审核状态',
- columnWidth: 0.2,
- datas: [
- ["已审核", "已审核"],
- ["未审核", "未审核"]
- ]
- }],
- 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,
- hidden: true
- }]
- }
- });
|