@@ -56,7 +56,7 @@ Ext.define('saas.view.document.customer.FormPanel', {
},
initComponent: function () {
- Ext.applyIf(this, {
+ Ext.apply(this, {
defaultItems: [{
xtype: 'hidden',
name: 'id',
@@ -72,9 +72,13 @@ Ext.define('saas.view.money.othreceipts.FormPanel', {
}, {
from: 'cr_rate', to: 'or_rate'
}],
- defaultValue: {
- or_currency: 'RMB',
- or_rate: 1
+ // defaultValue: {
+ // or_currency: 'RMB',
+ // or_rate: 1
+ // },
+ mainFieldConfig: {
+ readOnly: false,
+ defaultReadOnly: false,
supFieldConfig: {
xtype: 'numberfield',
@@ -66,9 +66,13 @@ Ext.define('saas.view.money.othspendings.FormPanel', {
from: 'cr_rate', to: 'os_rate'
- os_currency: 'RMB',
- os_rate: 1
+ // os_currency: 'RMB',
+ // os_rate: 1