diff --git a/backend/modules/goods/views/goods/express.php b/backend/modules/goods/views/goods/express.php index 3db8668..66682cb 100755 --- a/backend/modules/goods/views/goods/express.php +++ b/backend/modules/goods/views/goods/express.php @@ -31,6 +31,8 @@ use backend\modules\shop\models\ars\ExpressTemplate; $(document).ready(function(){ if(!$("#goods-uniform_postage").val()){ $("#goods-uniform_postage").val("0.00") + }else{ + $("#goods-uniform_postage").val(toFixeds($("#goods-uniform_postage").val(), 2)); } $("input:radio[name='Goods[is_express]']").on('ifChecked', function(event){ if ($(this).val() === '1') { diff --git a/backend/modules/goods/views/goods/goods.php b/backend/modules/goods/views/goods/goods.php index ade0fa9..c94a5f4 100755 --- a/backend/modules/goods/views/goods/goods.php +++ b/backend/modules/goods/views/goods/goods.php @@ -67,9 +67,13 @@ $js =<<