Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

81 rinda
3.4 KiB

  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Steven
  5. * Date: 2017/5/26
  6. * Time: 14:26
  7. */
  8. use yii\helpers\Html;
  9. use yii\helpers\ArrayHelper;
  10. use common\components\zActiveForm;
  11. use backend\modules\motorcade\assets\motorcadeUIAsset;
  12. motorcadeUIAsset::register($this);
  13. ?>
  14. <style>
  15. .col_5 {
  16. width: 520px;
  17. }
  18. .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  19. /* background-color: darkgrey; */
  20. background-color: rgb(238, 241, 245);
  21. }
  22. </style>
  23. <div style="color: #80889a;padding-left: 16px;" id="float-div">
  24. <div style="height: 56px;line-height: 56px;color: #80889a;font-size: 12px;">业务管理 / 出车管理 / 模拟结束用车</div>
  25. <?php $form = zActiveForm::begin(['options' => ['class' => 'form-horizontal', 'data-pjax' => true]]); ?>
  26. <div class="panel panel-default" style="margin: 0 16px 16px 0;">
  27. <div class="panel-body">
  28. <!--内容区-->
  29. <div class="" style="padding-left: 50px;padding-top: 10px;">
  30. <!--供应商名称-->
  31. <div class="form-group">
  32. <div class="form-inline">
  33. <span id="">出车单号:&nbsp;</span>
  34. <div class="input-group">
  35. <input class="form-control" type="text" name="bus_number" id="" placeholder="请输入出车单号">
  36. </div>
  37. </div>
  38. </div>
  39. <!--供应商名称-->
  40. <div class="form-group">
  41. <div class="form-inline">
  42. <span id="">结束里程:&nbsp;</span>
  43. <div class="input-group">
  44. <input class="form-control" type="text" name="postage" id="" placeholder="请输入结束公里数">
  45. <div class="input-group-addon">公里</div>
  46. </div>
  47. <p>起始里程:&nbsp;&nbsp;&nbsp;<span
  48. style="color: red"><?= empty($data['start_value']) ? 0 : $data['start_value'] ?></span>公里
  49. </p>
  50. </div>
  51. </div>
  52. <!--公司全称-->
  53. <div class="form-group">
  54. <div class="form-inline">
  55. <span id="">ETC余额:&nbsp;</span>
  56. <div class="input-group">
  57. <input class="form-control" type="text" name="toll_charge" id="" placeholder="请输入ETC余额">
  58. <div class="input-group-addon">元</div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <!--操作按钮-->
  66. <div class="panel panel-default" style="margin: 0 16px 16px 30px;border: none">
  67. <div class="form-inline">
  68. <div class="col-sm-5">
  69. <?= Html::submitButton($model->isNewRecord ? '保 存' : '保 存', ['class' => $model->isNewRecord ? 'btn btn-primary' : 'btn btn-primary', 'style' => 'width: 82px;', 'onclick' => 'loading()']) ?>
  70. <?= Html::button('取 消', ['class' => 'btn btn-default', 'data-dismiss' => 'modal', 'onclick' => 'window.open("about:blank", "_top").close()', 'style' => 'margin-left:5px;width: 82px;']) ?>
  71. </div>
  72. </div>
  73. </div>
  74. <?php zActiveForm::end(); ?>
  75. </div>