|
@@ -6,7 +6,7 @@ Ext.define('saas.view.money.othreceipts.FormPanel', {
|
|
|
viewModel: 'money-othreceipts-formpanel',
|
|
viewModel: 'money-othreceipts-formpanel',
|
|
|
|
|
|
|
|
viewName: 'money-othreceipts-formpanel',
|
|
viewName: 'money-othreceipts-formpanel',
|
|
|
- caller:'Othreceipts',
|
|
|
|
|
|
|
+ caller:'OthReceipts',
|
|
|
|
|
|
|
|
//字段属性
|
|
//字段属性
|
|
|
_title:'其它收入单',
|
|
_title:'其它收入单',
|
|
@@ -14,11 +14,10 @@ Ext.define('saas.view.money.othreceipts.FormPanel', {
|
|
|
_codeField: 'or_code',
|
|
_codeField: 'or_code',
|
|
|
_statusField: 'or_status',
|
|
_statusField: 'or_status',
|
|
|
_statusCodeField: 'or_statuscode',
|
|
_statusCodeField: 'or_statuscode',
|
|
|
-
|
|
|
|
|
_relationColumn: 'ord_orid',
|
|
_relationColumn: 'ord_orid',
|
|
|
_readUrl:basePath+'money/othreceipts/read/',
|
|
_readUrl:basePath+'money/othreceipts/read/',
|
|
|
_saveUrl:basePath+'money/othreceipts/save',
|
|
_saveUrl:basePath+'money/othreceipts/save',
|
|
|
- _deleteUrl:basePath+'money/othreceipts/delete/',
|
|
|
|
|
|
|
+ _deleteUrl:basePath+'money/othreceipts/delete/',
|
|
|
initId:0,
|
|
initId:0,
|
|
|
|
|
|
|
|
defaultItems: [{
|
|
defaultItems: [{
|
|
@@ -54,7 +53,7 @@ Ext.define('saas.view.money.othreceipts.FormPanel', {
|
|
|
xtype : "detailGridField",
|
|
xtype : "detailGridField",
|
|
|
storeModel:'saas.model.money.Othreceipts',
|
|
storeModel:'saas.model.money.Othreceipts',
|
|
|
detnoColumn: 'ord_detno',
|
|
detnoColumn: 'ord_detno',
|
|
|
- _deleteDetailUrl:basePath+'money/deleteItem/',
|
|
|
|
|
|
|
+ _deleteDetailUrl:basePath+'othreceipts/deleteItem/',
|
|
|
columnWidth : 1,
|
|
columnWidth : 1,
|
|
|
columns : [
|
|
columns : [
|
|
|
{
|
|
{
|
|
@@ -96,8 +95,7 @@ Ext.define('saas.view.money.othreceipts.FormPanel', {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
addHandler:function(b){
|
|
addHandler:function(b){
|
|
|
- //this.ownerCmp.etc['inoutkind'],
|
|
|
|
|
- var form = this.ownerCmp.ownerCt;
|
|
|
|
|
|
|
+ var form = this.ownerCmp.ownerCt.ownerCmp.ownerCt;
|
|
|
this.dialog = form.getController().getView().add({
|
|
this.dialog = form.getController().getView().add({
|
|
|
xtype: 'document-kind-childwin',
|
|
xtype: 'document-kind-childwin',
|
|
|
bind: {
|
|
bind: {
|
|
@@ -141,6 +139,9 @@ Ext.define('saas.view.money.othreceipts.FormPanel', {
|
|
|
items : null,
|
|
items : null,
|
|
|
ignore:true,
|
|
ignore:true,
|
|
|
flex : 1.0,
|
|
flex : 1.0,
|
|
|
|
|
+ editor : {
|
|
|
|
|
+ xtype : ""
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
}, {
|
|
}, {
|