|
|
@@ -337,7 +337,8 @@ class DeclarationUpgradeForm extends Model
|
|
|
$userCountry = Countries::getById($userCountryId);
|
|
|
$userCurrencyRate = CurrencyConversions::getToUSDRate($userCountry['LOCAL_CURRENCY_ID']);
|
|
|
// 报单中心汇率
|
|
|
- $decCountry = User::getEnCodeInfo(\Yii::$app->user->id)['COUNTRY_ID'];
|
|
|
+ $decCountryId = User::getEnCodeInfo(\Yii::$app->user->id)['COUNTRY_ID'];
|
|
|
+ $decCountry = Countries::getById($decCountryId);
|
|
|
$decUserCurrencyRate = CurrencyConversions::getToUSDRate($decCountry['LOCAL_CURRENCY_ID']);
|
|
|
|
|
|
$orderModel = new Order();
|