|
|
@@ -38,17 +38,18 @@ Ext.define('saas.view.money.othspendings.QueryPanel', {
|
|
|
columnWidth: 0.5,
|
|
|
fieldLabel: '日期'
|
|
|
},{
|
|
|
- name: 'ord_type',
|
|
|
+ name: 'osd_type',
|
|
|
fieldLabel: '支出类别',
|
|
|
xtype : "remotecombo",
|
|
|
emptyText :'全部',
|
|
|
+ showDetail: true,
|
|
|
storeUrl:'/api/document/fundinouttype/getCombo?condition=支出',
|
|
|
hiddenBtn:true,//true 则会关闭新增按钮功能
|
|
|
getCondition: function(value) {
|
|
|
if(!value) {
|
|
|
return '1=1';
|
|
|
}else {
|
|
|
- return 'ord_type like \'%' + value + '%\'';
|
|
|
+ return 'osd_type like \'%' + value + '%\'';
|
|
|
}
|
|
|
}
|
|
|
},{
|
|
|
@@ -133,6 +134,62 @@ Ext.define('saas.view.money.othspendings.QueryPanel', {
|
|
|
dataIndex: 'os_remark',
|
|
|
width: 250
|
|
|
}],
|
|
|
- relativeColumn: []
|
|
|
+ relativeColumn: [{
|
|
|
+ text: 'id',
|
|
|
+ dataIndex: 'id',
|
|
|
+ hidden:true,
|
|
|
+ xtype: 'numbercolumn'
|
|
|
+ }, {
|
|
|
+ text: '单据编号',
|
|
|
+ dataIndex: 'os_code',
|
|
|
+ width: 150
|
|
|
+ }, {
|
|
|
+ text: '日期',
|
|
|
+ dataIndex: 'os_date',
|
|
|
+ xtype: 'datecolumn',
|
|
|
+ width: 110
|
|
|
+ }, {
|
|
|
+ text: '供应商名称',
|
|
|
+ dataIndex: 'os_vendname',
|
|
|
+ width:250
|
|
|
+ },{
|
|
|
+ text: '结算账户',
|
|
|
+ dataIndex: 'os_bankname',
|
|
|
+ width: 150
|
|
|
+ },{
|
|
|
+ text: '付款金额',
|
|
|
+ dataIndex: 'os_amount',
|
|
|
+ width: 110,
|
|
|
+ renderer : function(v) {
|
|
|
+ var arr = (v + '.').split('.');
|
|
|
+ var xr = (new Array(arr[1].length > 2 ? 2 : arr[1].length)).fill('0');
|
|
|
+ var format = '0,000.' + xr.join();
|
|
|
+ return Ext.util.Format.number(v, format);
|
|
|
+ }
|
|
|
+ }, {
|
|
|
+ text: '单据状态',
|
|
|
+ dataIndex: 'os_status',
|
|
|
+ width: 90
|
|
|
+ },{
|
|
|
+ text: '录入人',
|
|
|
+ dataIndex: 'creatorName',
|
|
|
+ width: 110
|
|
|
+ }, {
|
|
|
+ text: '审核人',
|
|
|
+ dataIndex: 'os_auditman',
|
|
|
+ width: 110
|
|
|
+ }, {
|
|
|
+ text: '支出类别',
|
|
|
+ dataIndex: 'osd_type',
|
|
|
+ width: 110
|
|
|
+ }, {
|
|
|
+ text: '明细金额',
|
|
|
+ dataIndex: 'osd_nowbalance',
|
|
|
+ width: 110
|
|
|
+ },{
|
|
|
+ text: '备注',
|
|
|
+ dataIndex: 'osd_remark',
|
|
|
+ width: 250
|
|
|
+ }]
|
|
|
}
|
|
|
});
|