From 33b775e7c4737f6904f847c36e182e4fa998cbdc Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Fri, 6 Dec 2019 14:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BF=90=E8=B4=B9=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E5=88=9B=E5=BB=BA=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shop/views/express-template/express_area_create.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/modules/shop/views/express-template/express_area_create.php b/backend/modules/shop/views/express-template/express_area_create.php index fb35a2e..d9068a5 100755 --- a/backend/modules/shop/views/express-template/express_area_create.php +++ b/backend/modules/shop/views/express-template/express_area_create.php @@ -7,8 +7,8 @@ use kartik\tabs\TabsX; /* @var $this yii\web\View */ /* @var $model backend\modules\shop\models\ars\ExpressTemplate */ -$this->title = '创建运费模板'; -$this->params['breadcrumbs'][] = ['label' => '运费模板', 'url' => ['index']]; +$this->title = '创建区域运费模板'; +$this->params['breadcrumbs'][] = ['label' => '运费区域模板', 'url' => ['express_area_list', ['id' => $expressTemplateModel->id]]]; $this->params['breadcrumbs'][] = $this->title; Yii::$app->params['bsVersion'] = '4.x'; ?> @@ -23,9 +23,10 @@ Yii::$app->params['bsVersion'] = '4.x'; 'items' => [ [ 'label' => ' 基本信息', - 'content' => $this->render('_form', [ + 'content' => $this->render('express_area_form', [ 'model' => $model, 'form' => $form, + 'expressTemplateModel' => $expressTemplateModel ]), ], [ @@ -41,7 +42,7 @@ Yii::$app->params['bsVersion'] = '4.x';
'btn btn-success']) ?> - 'btn btn-info']) ?> + $expressTemplateModel->id], ['class' => 'btn btn-info']) ?>