From e774e886918706879fad3d3afaa3f4ec076f27c4 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Sat, 16 Nov 2019 22:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=8E=B7=E5=8F=96=E7=AE=97?= =?UTF-8?q?=E8=B4=B9=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/views/car/order-add.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/views/car/order-add.php b/frontend/views/car/order-add.php index a8c5a88..bec937e 100644 --- a/frontend/views/car/order-add.php +++ b/frontend/views/car/order-add.php @@ -504,11 +504,11 @@ use common\models\PriceT; if(obj.code == 200) { if(obj.data && obj.data.QuoteStatus > 0) { parent.layer.msg('获取成功'); - $('#total1').val(obj.data.BizTotal); + $('#total1').val(obj.data.BizTotal.toFixed(2)); $('#total1_clear').val(($('#total1').val()/1.06).toFixed(2)); - $('#total2').val(obj.data.ForceTotal); + $('#total2').val(obj.data.ForceTotal.toFixed(2)); $('#total2_clear').val(($('#total2').val()/1.06).toFixed(2)); - $('#total3').val(obj.data.TaxTotal); + $('#total3').val(obj.data.TaxTotal.toFixed(2)); $('#total_rate').html('折扣系数:' + (obj.data.TotalRate * 100).toFixed(2) + '%'); calc(); } else {