|
|
@@ -11,7 +11,7 @@ define(['app/app'], function(app) {
|
|
|
$scope.save = function() {
|
|
|
if ($scope.usdExchangeRate.fromCurrency == null || $scope.usdExchangeRate.fromCurrency == '') {
|
|
|
$scope.usdExchangeRate.fromCurrency = 'USD';
|
|
|
- $scope.usdExchangeRate.toCurrency = 'CNY';
|
|
|
+ $scope.usdExchangeRate.toCurrency = 'RMB';
|
|
|
$scope.usdExchangeRate.type = 'USD';
|
|
|
}
|
|
|
exchangeRateService.save(null, $scope.usdExchangeRate, function(data) {
|