|
|
@@ -139,7 +139,7 @@ Ext.define('saas.view.document.customer.FormPanel', {
|
|
|
dbfinds: [{
|
|
|
from: 'cr_name', to: 'cu_currency'
|
|
|
}, {
|
|
|
- from: 'cr_rate', to: 'cu_taxrate'
|
|
|
+ from: 'cr_rate', to: 'cr_rate'
|
|
|
}],
|
|
|
defaultValue: {
|
|
|
cu_currency: this.getViewModel().get('defaultCurrency'),
|
|
|
@@ -148,28 +148,22 @@ Ext.define('saas.view.document.customer.FormPanel', {
|
|
|
supFieldConfig: {
|
|
|
xtype: 'numberfield',
|
|
|
readOnly: false,
|
|
|
+ ignore:true,
|
|
|
defaultReadOnly: false,
|
|
|
decimalPrecision: 6,
|
|
|
vtype: 'positiveNumber'
|
|
|
},
|
|
|
group: '交易信息',
|
|
|
- // }, {
|
|
|
- // xtype: "currencyDbfindTrigger",
|
|
|
- // name: "cu_currency",
|
|
|
- // fieldLabel: "币别",
|
|
|
- // allowBlank: false,
|
|
|
- // columnWidth: 0.25,
|
|
|
- // group: '交易信息',
|
|
|
- // }, {
|
|
|
- // xtype: "numberfield",
|
|
|
- // name: "cu_taxrate",
|
|
|
- // fieldLabel: "税率(%)",
|
|
|
- // allowBlank: false,
|
|
|
- // columnWidth: 0.25,
|
|
|
- // decimalPrecision: 6,
|
|
|
- // vtype: 'positiveNumber'
|
|
|
- // group: '交易信息',
|
|
|
- },{
|
|
|
+ }, {
|
|
|
+ xtype: "numberfield",
|
|
|
+ name: "cu_taxrate",
|
|
|
+ fieldLabel: "税率(%)",
|
|
|
+ allowBlank: false,
|
|
|
+ columnWidth: 0.25,
|
|
|
+ minValue: 0,
|
|
|
+ maxValue: 100,
|
|
|
+ group: '交易信息',
|
|
|
+ }, {
|
|
|
xtype: "numberfield",
|
|
|
hideTrigger: true,
|
|
|
name: "cu_beginaramount",
|