|
@@ -54,10 +54,10 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
|
|
|
}, {
|
|
}, {
|
|
|
from: 'cr_rate', to: 'pu_rate'
|
|
from: 'cr_rate', to: 'pu_rate'
|
|
|
}],
|
|
}],
|
|
|
- defaultValue: {
|
|
|
|
|
- pu_currency: 'RMB',
|
|
|
|
|
- pu_rate: 1
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // defaultValue: {
|
|
|
|
|
+ // pu_currency: 'RMB',
|
|
|
|
|
+ // pu_rate: 1
|
|
|
|
|
+ // },
|
|
|
supFieldConfig: {
|
|
supFieldConfig: {
|
|
|
xtype: 'numberfield',
|
|
xtype: 'numberfield',
|
|
|
readOnly: false,
|
|
readOnly: false,
|
|
@@ -96,40 +96,6 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
|
|
|
});
|
|
});
|
|
|
this.dialog.show();
|
|
this.dialog.show();
|
|
|
}
|
|
}
|
|
|
- }, {
|
|
|
|
|
- xtype: 'condbfindtrigger',
|
|
|
|
|
- fieldLabel: '币别汇率',
|
|
|
|
|
- allowBlank: false,
|
|
|
|
|
- dbType: 'currencyDbfindTrigger',
|
|
|
|
|
- dbfinds: [{
|
|
|
|
|
- from: 'cr_name', to: 'pu_currency'
|
|
|
|
|
- }, {
|
|
|
|
|
- from: 'cr_rate', to: 'pu_rate'
|
|
|
|
|
- }],
|
|
|
|
|
- // defaultValue: {
|
|
|
|
|
- // pu_currency: this.getViewModel().get('defaultCurrency'),
|
|
|
|
|
- // pu_rate: 1
|
|
|
|
|
- // },
|
|
|
|
|
- supFieldConfig: {
|
|
|
|
|
- xtype: 'numberfield',
|
|
|
|
|
- readOnly: false,
|
|
|
|
|
- defaultReadOnly: false,
|
|
|
|
|
- defaultValue: 1,
|
|
|
|
|
- decimalPrecision: 6,
|
|
|
|
|
- vtype: 'positiveNumber'
|
|
|
|
|
- }
|
|
|
|
|
- // }, {
|
|
|
|
|
- // xtype: "currencyDbfindTrigger",
|
|
|
|
|
- // name: "pu_currency",
|
|
|
|
|
- // fieldLabel: "币别",
|
|
|
|
|
- // defaultValue: 'RMB'
|
|
|
|
|
- // }, {
|
|
|
|
|
- // xtype: "numberfield",
|
|
|
|
|
- // name: "pu_rate",
|
|
|
|
|
- // fieldLabel: "汇率",
|
|
|
|
|
- // defaultValue: 1,
|
|
|
|
|
- // decimalPrecision: 6,
|
|
|
|
|
- // vtype: 'positiveNumber'
|
|
|
|
|
}, {
|
|
}, {
|
|
|
name: "detailGridField",
|
|
name: "detailGridField",
|
|
|
xtype: "detailGridField",
|
|
xtype: "detailGridField",
|