|
|
@ -67,9 +67,13 @@ $js =<<<JS |
|
|
|
$(document).ready(function(){ |
|
|
|
if(!$("#goods-market_price").val()){ |
|
|
|
$("#goods-market_price").val("0.00") |
|
|
|
}else{ |
|
|
|
$("#goods-market_price").val(toFixeds($("#goods-market_price").val(), 2)); |
|
|
|
} |
|
|
|
if(!$("#goods-price").val()){ |
|
|
|
$("#goods-price").val("0.00") |
|
|
|
}else{ |
|
|
|
$("#goods-price").val(toFixeds($("#goods-price").val(), 2)); |
|
|
|
} |
|
|
|
$("#goods-market_price").blur(function(){ |
|
|
|
if(!$(this).val()){ |
|
|
|