From db7374f12f615be0b31e1a70924375505c399955 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Mon, 9 Dec 2019 15:42:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=95=86=E5=93=81=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E4=BF=AE=E6=94=B9=E6=97=B6=E4=BB=B7=E6=A0=BC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/modules/goods/views/goods/express.php | 2 ++ backend/modules/goods/views/goods/goods.php | 4 ++++ 2 files changed, 6 insertions(+) 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 =<<