currency fix
This commit is contained in:
parent
d876f59d9d
commit
f940fa9ded
|
|
@ -5,12 +5,12 @@
|
||||||
|
|
||||||
<script asp-location="Footer">
|
<script asp-location="Footer">
|
||||||
|
|
||||||
let currencyCode = @Html.Raw(Model.WorkingCurrencyCode.ToJson());
|
|
||||||
let currencyRate = @Html.Raw(Model.WorkingCurrencyRate.ToJson());
|
|
||||||
console.log(currencyCode);
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
let currencyCode = @Html.Raw(Model.WorkingCurrencyCode.ToJson());
|
||||||
|
let currencyRate = @Html.Raw(Model.WorkingCurrencyRate.ToJson());
|
||||||
|
console.log(currencyCode);
|
||||||
console.log("PublicInfo ready enter; ProductId: " + @Model.ProductId);
|
console.log("PublicInfo ready enter; ProductId: " + @Model.ProductId);
|
||||||
let auctionDto = @Html.Raw(Model.AuctionDto.ToJson());
|
let auctionDto = @Html.Raw(Model.AuctionDto.ToJson());
|
||||||
|
|
||||||
|
|
@ -19,7 +19,9 @@
|
||||||
|
|
||||||
function initialize@(Model.ProductId)(auctionDto) {
|
function initialize@(Model.ProductId)(auctionDto) {
|
||||||
console.log("PublicInfo initialize" + @Model.ProductId + " enter; auctionDto: " + auctionDto);
|
console.log("PublicInfo initialize" + @Model.ProductId + " enter; auctionDto: " + auctionDto);
|
||||||
|
let currencyCode = @Html.Raw(Model.WorkingCurrencyCode.ToJson());
|
||||||
|
let currencyRate = @Html.Raw(Model.WorkingCurrencyRate.ToJson());
|
||||||
|
console.log(currencyCode);
|
||||||
if (!auctionDto) {
|
if (!auctionDto) {
|
||||||
console.error("auctionDto == null");
|
console.error("auctionDto == null");
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue