|
- <?php
- /**
- * Created by PhpStorm.
- * User: Steven
- * Date: 2017/5/26
- * Time: 14:26
- */
-
- use yii\helpers\Html;
- use yii\helpers\ArrayHelper;
- use common\components\zActiveForm;
- use backend\modules\motorcade\assets\motorcadeUIAsset;
-
- motorcadeUIAsset::register($this);
-
- ?>
-
- <style>
- .col_5 {
- width: 520px;
- }
-
- .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
- /* background-color: darkgrey; */
- background-color: rgb(238, 241, 245);
- }
- </style>
- <div style="color: #80889a;padding-left: 16px;" id="float-div">
-
- <div style="height: 56px;line-height: 56px;color: #80889a;font-size: 12px;">业务管理 / 出车管理 / 模拟结束用车</div>
- <?php $form = zActiveForm::begin(['options' => ['class' => 'form-horizontal', 'data-pjax' => true]]); ?>
- <div class="panel panel-default" style="margin: 0 16px 16px 0;">
- <div class="panel-body">
- <!--内容区-->
- <div class="" style="padding-left: 50px;padding-top: 10px;">
- <!--供应商名称-->
- <div class="form-group">
- <div class="form-inline">
- <span id="">出车单号: </span>
- <div class="input-group">
- <input class="form-control" type="text" name="bus_number" id="" placeholder="请输入出车单号">
- </div>
- </div>
- </div>
- <!--供应商名称-->
- <div class="form-group">
- <div class="form-inline">
- <span id="">结束里程: </span>
- <div class="input-group">
- <input class="form-control" type="text" name="postage" id="" placeholder="请输入结束公里数">
- <div class="input-group-addon">公里</div>
- </div>
- <p>起始里程: <span
- style="color: red"><?= empty($data['start_value']) ? 0 : $data['start_value'] ?></span>公里
- </p>
- </div>
- </div>
- <!--公司全称-->
- <div class="form-group">
- <div class="form-inline">
- <span id="">ETC余额: </span>
- <div class="input-group">
- <input class="form-control" type="text" name="toll_charge" id="" placeholder="请输入ETC余额">
- <div class="input-group-addon">元</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--操作按钮-->
- <div class="panel panel-default" style="margin: 0 16px 16px 30px;border: none">
- <div class="form-inline">
- <div class="col-sm-5">
- <?= Html::submitButton($model->isNewRecord ? '保 存' : '保 存', ['class' => $model->isNewRecord ? 'btn btn-primary' : 'btn btn-primary', 'style' => 'width: 82px;', 'onclick' => 'loading()']) ?>
- <?= Html::button('取 消', ['class' => 'btn btn-default', 'data-dismiss' => 'modal', 'onclick' => 'window.open("about:blank", "_top").close()', 'style' => 'margin-left:5px;width: 82px;']) ?>
- </div>
- </div>
- </div>
- <?php zActiveForm::end(); ?>
- </div>
|