|
|
@@ -33,6 +33,7 @@ Ext.define('saas.view.money.paybalance.QueryPanel', {
|
|
|
xtype: 'bandinfoDbfindTrigger',
|
|
|
name: 'pd_bankname',
|
|
|
fieldLabel: '资金账户',
|
|
|
+ showDetail: true
|
|
|
},{
|
|
|
xtype: 'condatefield',
|
|
|
name: 'pb_date',
|
|
|
@@ -70,15 +71,47 @@ Ext.define('saas.view.money.paybalance.QueryPanel', {
|
|
|
codeField: 'pb_code',
|
|
|
addTitle: '付款单',
|
|
|
addXtype: 'money-paybalance-formpanel',
|
|
|
- defaultCondition:'',
|
|
|
+ defaultCondition: '',
|
|
|
baseVastUrl: '/api/money/paybalance/',
|
|
|
baseColumn: [
|
|
|
- {
|
|
|
+ {
|
|
|
+ text: 'id',
|
|
|
+ dataIndex: 'id',
|
|
|
+ width: 0,
|
|
|
+ xtype: 'numbercolumn',
|
|
|
+ hidden: true
|
|
|
+ }, {
|
|
|
+ text: '付款单号',
|
|
|
+ dataIndex: 'pb_code',
|
|
|
+ width: 150
|
|
|
+ }, {
|
|
|
+ text: '日期',
|
|
|
+ dataIndex: 'pb_date',
|
|
|
+ xtype: 'datecolumn',
|
|
|
+ width: 110
|
|
|
+ }, {
|
|
|
+ text: '供应商名称',
|
|
|
+ dataIndex: 'pb_vendname',
|
|
|
+ width: 250,
|
|
|
+ }, {
|
|
|
+ text: '单据状态',
|
|
|
+ dataIndex: 'pb_status',
|
|
|
+ width: 90
|
|
|
+ }, {
|
|
|
+ text: '付款人',
|
|
|
+ dataIndex: 'pb_manname',
|
|
|
+ width: 110
|
|
|
+ }, {
|
|
|
+ text: '备注',
|
|
|
+ dataIndex: 'pb_remark',
|
|
|
+ width: 250
|
|
|
+ }],
|
|
|
+ relativeColumn: [{
|
|
|
text: 'id',
|
|
|
dataIndex: 'id',
|
|
|
width: 0,
|
|
|
xtype: 'numbercolumn',
|
|
|
- hidden:true
|
|
|
+ hidden: true
|
|
|
}, {
|
|
|
text: '付款单号',
|
|
|
dataIndex: 'pb_code',
|
|
|
@@ -92,35 +125,41 @@ Ext.define('saas.view.money.paybalance.QueryPanel', {
|
|
|
text: '供应商名称',
|
|
|
dataIndex: 'pb_vendname',
|
|
|
width: 250,
|
|
|
+ }, {
|
|
|
+ text: '单据状态',
|
|
|
+ dataIndex: 'pb_status',
|
|
|
+ width: 90
|
|
|
+ }, {
|
|
|
+ text: '付款人',
|
|
|
+ dataIndex: 'pb_manname',
|
|
|
+ width: 110
|
|
|
+ },{
|
|
|
+ text: '资金账户',
|
|
|
+ dataIndex: 'pd_bankname',
|
|
|
+ width: 110
|
|
|
},{
|
|
|
text: '付款金额',
|
|
|
xtype: 'numbercolumn',
|
|
|
dataIndex: 'pd_amount',
|
|
|
width: 120,
|
|
|
- renderer : function(v) {
|
|
|
+ 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: 'pb_status',
|
|
|
- width: 90
|
|
|
- }, {
|
|
|
- text: '付款人',
|
|
|
- dataIndex: 'pb_manname',
|
|
|
- width: 110
|
|
|
- }, {
|
|
|
+ } ,{
|
|
|
+ text: '结算方式',
|
|
|
+ dataIndex: 'pd_paymethod',
|
|
|
+ width: 250
|
|
|
+ },{
|
|
|
+ text: '结算号',
|
|
|
+ dataIndex: 'pd_paycode',
|
|
|
+ width: 250
|
|
|
+ },{
|
|
|
text: '备注',
|
|
|
- dataIndex: 'pb_remark',
|
|
|
+ dataIndex: 'pd_remark',
|
|
|
width: 250
|
|
|
- }],
|
|
|
- relativeColumn: []
|
|
|
- },
|
|
|
-
|
|
|
- // override
|
|
|
- getQueryMode: function() {
|
|
|
- return 'MAIN';
|
|
|
+ }]
|
|
|
}
|
|
|
});
|