Browse Source

增加运费区域创建页面

antshop
linyaostalker 5 years ago
parent
commit
33b775e7c4
  1. 9
      backend/modules/shop/views/express-template/express_area_create.php

9
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' => '<i class="fas fa-user"></i> 基本信息',
'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';
<div class="form-group">
<?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
<?= Html::a('返回', ['index'], ['class' => 'btn btn-info']) ?>
<?= Html::a('返回', ['express-area-list', 'id' => $expressTemplateModel->id], ['class' => 'btn btn-info']) ?>
</div>
<?php ActiveForm::end(); ?>

Loading…
Cancel
Save