You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.3 KiB

  1. <?php
  2. use yii\helpers\Html;
  3. use yii\bootstrap4\ActiveForm;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\ars\ExpressTemplate */
  6. /* @var $form yii\widgets\ActiveForm */
  7. ?>
  8. <div class="express-template-form">
  9. <?php $form = ActiveForm::begin(); ?>
  10. <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
  11. <?= $form->field($model, 'province')->textarea(['rows' => 6]) ?>
  12. <?= $form->field($model, 'city')->textarea(['rows' => 6]) ?>
  13. <?= $form->field($model, 'area')->textarea(['rows' => 6]) ?>
  14. <?= $form->field($model, 'billing_type')->textInput() ?>
  15. <?= $form->field($model, 'extra_weight_type')->textInput() ?>
  16. <?= $form->field($model, 'exemption_type')->textInput() ?>
  17. <?= $form->field($model, 'basic_price')->textInput() ?>
  18. <?= $form->field($model, 'extra_price')->textInput() ?>
  19. <?= $form->field($model, 'exemption_amount')->textInput() ?>
  20. <?= $form->field($model, 'support_taking')->textInput() ?>
  21. <?= $form->field($model, 'taking_site')->textarea(['rows' => 6]) ?>
  22. <div class="form-group">
  23. <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
  24. <?= Html::a('返回', ['index'], ['class' => 'btn btn-info']) ?>
  25. </div>
  26. <?php ActiveForm::end(); ?>
  27. </div>