From b1fd004370d9afdde09209f6e2a2a64c1cf944ed Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Sat, 16 Nov 2019 21:20:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=AE=97=E8=B4=B9=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/CarController.php | 2 +- frontend/views/car/order-add.php | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/controllers/CarController.php b/frontend/controllers/CarController.php index eb5ccba..45ba09d 100644 --- a/frontend/controllers/CarController.php +++ b/frontend/controllers/CarController.php @@ -770,7 +770,7 @@ class CarController extends BaseController } return MyLib::error3($res->getBody()); } - + public function actionInfo() { $request = Yii::$app->request; diff --git a/frontend/views/car/order-add.php b/frontend/views/car/order-add.php index bb6cfa3..fe8e5b1 100644 --- a/frontend/views/car/order-add.php +++ b/frontend/views/car/order-add.php @@ -202,6 +202,9 @@ use common\models\PriceT; 获取策略 + + 获取算费结果 +
@@ -485,7 +488,7 @@ use common\models\PriceT; }, 'json'); } //算费 - function cal() { + function calInsurance() { var index = parent.layer.load(1, { shade: [0.1,'#fff'] //0.1透明度的白色背景 });