From 509ffc6afbe0a6c55150922c662bdab30acb72c9 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Fri, 6 Dec 2019 15:44:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E4=BF=AE=E6=94=B9=E8=BF=90?= =?UTF-8?q?=E8=B4=B9=E5=8C=BA=E5=9F=9F=E7=BC=96=E8=BE=91=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_update.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/modules/shop/views/express-template/express_area_update.php b/backend/modules/shop/views/express-template/express_area_update.php index 13c0193..0019efb 100755 --- a/backend/modules/shop/views/express-template/express_area_update.php +++ b/backend/modules/shop/views/express-template/express_area_update.php @@ -7,10 +7,10 @@ use kartik\tabs\TabsX; /* @var $this yii\web\View */ /* @var $model backend\modules\shop\models\ars\ExpressTemplate */ -$this->title = '编辑运费模板: ' . $model->name; +$this->title = '编辑区域运费模板'; $this->params['breadcrumbs'][] = ['label' => '运费模板', 'url' => ['index']]; -$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; -$this->params['breadcrumbs'][] = 'Update '; +$this->params['breadcrumbs'][] = ['label' => '区域运费模板:'.$expressTemplateModel->name, 'url' => ['express-area-list', 'id' => $expressTemplateModel->id]]; +$this->params['breadcrumbs'][] = '编辑区域运费模板'; Yii::$app->params['bsVersion'] = '4.x'; ?>
@@ -24,9 +24,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 ]), ], [