|
|
@@ -10,7 +10,7 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
|
|
|
Ext.apply(f,{
|
|
|
dataUrl:'/api/document/bankinformation/list',
|
|
|
addXtype: 'other-bankinformation',
|
|
|
- addTitle:'账户资料',
|
|
|
+ addTitle:'资金账户',
|
|
|
dbfinds:[
|
|
|
{
|
|
|
from:'bk_bankcode',to:'ftd_bankcode'
|
|
|
@@ -24,23 +24,24 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
|
|
|
},{
|
|
|
field:'bk_bankname',width:100
|
|
|
}],
|
|
|
- dbSearchFields:[{
|
|
|
- xtype : "textfield",
|
|
|
- name: 'name',
|
|
|
- getCondition: function(v) {
|
|
|
+ dbSearchFields: [{
|
|
|
+ emptyText: '查找资金账户',
|
|
|
+ xtype: "textfield",
|
|
|
+ name: "search",
|
|
|
+ getCondition: function (v) {
|
|
|
return "(upper(bk_bankcode) like '%"+v.toUpperCase()+"%' or upper(bk_bankname) like '%"+v.toUpperCase()+"%')";
|
|
|
},
|
|
|
- emptyText : "请输入账户编号或名称",
|
|
|
- columnWidth : 0.25
|
|
|
+ allowBlank: true,
|
|
|
+ columnWidth: 0.25
|
|
|
}],
|
|
|
- dbColumns:[{
|
|
|
+ dbColumns: [{
|
|
|
"text": "账户ID",
|
|
|
"flex": 0,
|
|
|
"dataIndex": "id",
|
|
|
"width": 0,
|
|
|
"xtype": ""
|
|
|
- },{
|
|
|
- "text": "账户编号",
|
|
|
+ }, {
|
|
|
+ "text": "资金账户",
|
|
|
"flex": 1,
|
|
|
"dataIndex": "bk_bankcode",
|
|
|
"width": 120,
|
|
|
@@ -58,12 +59,11 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
|
|
|
"width": 120,
|
|
|
"xtype": ""
|
|
|
}, {
|
|
|
- "text": "当前余额",
|
|
|
+ "text": "账户余额",
|
|
|
"flex": 1,
|
|
|
"dataIndex": "bk_thisamount",
|
|
|
"width": 120,
|
|
|
xtype: 'numbercolumn',
|
|
|
- align:'end',
|
|
|
}, {
|
|
|
"text": "建帐日期",
|
|
|
"flex": 1,
|
|
|
@@ -79,7 +79,7 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
|
|
|
Ext.apply(f,{
|
|
|
dataUrl:'/api/document/bankinformation/list',
|
|
|
addXtype: 'other-bankinformation',
|
|
|
- addTitle:'账户资料',
|
|
|
+ addTitle:'资金账户',
|
|
|
dbfinds:[
|
|
|
{
|
|
|
from:'bk_bankcode',to:'ftd_inbankcode'
|
|
|
@@ -93,23 +93,24 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
|
|
|
},{
|
|
|
field:'bk_bankname',width:100
|
|
|
}],
|
|
|
- dbSearchFields:[{
|
|
|
- xtype : "textfield",
|
|
|
- name: 'name',
|
|
|
- getCondition: function(v) {
|
|
|
+ dbSearchFields: [{
|
|
|
+ emptyText: '查找资金账户',
|
|
|
+ xtype: "textfield",
|
|
|
+ name: "search",
|
|
|
+ getCondition: function (v) {
|
|
|
return "(upper(bk_bankcode) like '%"+v.toUpperCase()+"%' or upper(bk_bankname) like '%"+v.toUpperCase()+"%')";
|
|
|
},
|
|
|
- emptyText:'输入账户编号或名称',
|
|
|
- columnWidth : 0.25
|
|
|
+ allowBlank: true,
|
|
|
+ columnWidth: 0.25
|
|
|
}],
|
|
|
- dbColumns:[{
|
|
|
+ dbColumns: [{
|
|
|
"text": "账户ID",
|
|
|
"flex": 0,
|
|
|
"dataIndex": "id",
|
|
|
"width": 0,
|
|
|
"xtype": ""
|
|
|
- },{
|
|
|
- "text": "账户编号",
|
|
|
+ }, {
|
|
|
+ "text": "资金账户",
|
|
|
"flex": 1,
|
|
|
"dataIndex": "bk_bankcode",
|
|
|
"width": 120,
|
|
|
@@ -121,7 +122,7 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
|
|
|
"width": 150,
|
|
|
"xtype": ""
|
|
|
}, {
|
|
|
- "text": "账户类型",
|
|
|
+ "text": "账户类别",
|
|
|
"flex": 1,
|
|
|
"dataIndex": "bk_type",
|
|
|
"width": 120,
|
|
|
@@ -132,7 +133,6 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
|
|
|
"dataIndex": "bk_thisamount",
|
|
|
"width": 120,
|
|
|
xtype: 'numbercolumn',
|
|
|
- align:'end',
|
|
|
}, {
|
|
|
"text": "建帐日期",
|
|
|
"flex": 1,
|