|
|
@@ -115,30 +115,32 @@ Ext.define('saas.view.money.payBalance.FormPanel', {
|
|
|
text: '资金账户',
|
|
|
dataIndex: 'pd_bankname',
|
|
|
editable:false,
|
|
|
- xtype : "remotecombo",
|
|
|
- storeUrl:'/api/document/bankinformation/getCombo',
|
|
|
- name : "bk_bankname",
|
|
|
- fieldLabel : "资金账户",
|
|
|
- allowBlank : false, //不能为空
|
|
|
- columnWidth : 0.25,//布局
|
|
|
- hiddenBtn:false,//true 则会关闭新增按钮功能
|
|
|
- addHandler:function(b){
|
|
|
- var document = Ext.create('saas.view.document.kind.Kind',{});
|
|
|
- var form = this.ownerCmp.ownerCt;
|
|
|
- this.dialog = form.getController().getView().add({
|
|
|
- xtype: 'document-kind-childwin',
|
|
|
- bind: {
|
|
|
- title: '新增资金账户'
|
|
|
- },
|
|
|
- dataKind:'bankinformation',
|
|
|
- belong:document.etc['bankinformation'],
|
|
|
- _parent:form,
|
|
|
- _combo:this.ownerCmp,
|
|
|
- record:null,
|
|
|
- session: true
|
|
|
- });
|
|
|
- this.dialog.show();
|
|
|
+ editor:{
|
|
|
+ xtype : "remotecombo",
|
|
|
+ storeUrl:'/api/document/bankinformation/getCombo',
|
|
|
+ name : "bk_bankname",
|
|
|
+ allowBlank : false, //不能为空
|
|
|
+ columnWidth : 0.25,//布局
|
|
|
+ hiddenBtn:false,//true 则会关闭新增按钮功能
|
|
|
+ addHandler:function(b){
|
|
|
+ var document = Ext.create('saas.view.document.kind.Kind',{});
|
|
|
+ var form = this.ownerCmp.ownerCt;
|
|
|
+ this.dialog = form.getController().getView().add({
|
|
|
+ xtype: 'document-kind-childwin',
|
|
|
+ bind: {
|
|
|
+ title: '新增资金账户'
|
|
|
+ },
|
|
|
+ dataKind:'bankinformation',
|
|
|
+ belong:document.etc['bankinformation'],
|
|
|
+ _parent:form,
|
|
|
+ _combo:this.ownerCmp,
|
|
|
+ record:null,
|
|
|
+ session: true
|
|
|
+ });
|
|
|
+ this.dialog.show();
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}, {
|
|
|
text: "付款金额",
|
|
|
dataIndex: "pd_amount",
|