From 94207c9284c62af9cd5ab3a4887e72effc65b883 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Wed, 4 Dec 2019 09:04:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E4=BA=88=E8=AE=A1=E7=AE=97=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E5=9B=BA=E5=AE=9A=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/controllers/ExpressTemplateController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/controllers/ExpressTemplateController.php b/backend/controllers/ExpressTemplateController.php index a03621e..bcd97c2 100644 --- a/backend/controllers/ExpressTemplateController.php +++ b/backend/controllers/ExpressTemplateController.php @@ -71,6 +71,7 @@ class ExpressTemplateController extends Controller public function actionCreate() { $model = new ExpressTemplate(); + $model->calculation = ExpressTemplate::CALCULATION_NUMBER; if (Yii::$app->request->isPost) { $data = Yii::$app->request->post('ExpressTemplate');