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.
 
 
 
 
 
 

87 rivejä
3.7 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. //motorcadeUIAsset::addScript($this, '/js/supplier.js?v=0.0.1');
  14. //$linkModel = isset($data['SupplierLink']) ? $data['SupplierLink'] : [];
  15. ?>
  16. <style>
  17. .col_5 {
  18. width: 520px;
  19. }
  20. .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  21. /* background-color: darkgrey; */
  22. background-color: rgb(238, 241, 245);
  23. }
  24. </style>
  25. <div style="color: #80889a;padding-left: 16px;" id="float-div">
  26. <div style="height: 56px;line-height: 56px;color: #80889a;font-size: 12px;">业务管理 / 出车管理 / 模拟出车</div>
  27. <?php $form = zActiveForm::begin(['options' => ['class' => 'form-horizontal', 'data-pjax' => true]]); ?>
  28. <div class="panel panel-default" style="margin: 0 16px 16px 0;">
  29. <div class="panel-body">
  30. <!--内容区-->
  31. <div class="" style="padding-left: 50px;padding-top: 10px;">
  32. <!--类型-->
  33. <div class="form-group">
  34. <span style="color: #5cb85c;"> * </span> 1、<span>已进行车辆安全检查</span>
  35. </div>
  36. <div class="form-group">
  37. <span style="color: #5cb85c"> * </span> 2、<span>已领取线路牌</span>
  38. </div>
  39. <div class="form-group">
  40. <div class="form-inline">
  41. <span id="">出车单号:&nbsp;</span>
  42. <div class="input-group">
  43. <input type="text" class="form-control" name="bus_number" id="" placeholder="">
  44. </div>
  45. </div>
  46. </div>
  47. <div class="form-group">
  48. <div class="form-inline">
  49. <span id="">开始里程:&nbsp;</span>
  50. <div class="input-group">
  51. <input class="form-control" type="text" name="postage" id="" placeholder="请输入公里数">
  52. <div class="input-group-addon">公里</div>
  53. </div>
  54. <p>上次任务结束里程<span style="color: red"><?= empty($data['end_value']) ? 0 : $data['end_value'] ?></span>公里</p>
  55. </div>
  56. </div>
  57. <div class="form-group">
  58. <div class="form-inline">
  59. <span id="">ETC余额:&nbsp;</span>
  60. <div class="input-group">
  61. <input class="form-control" type="text" name="toll_charge" id="" placeholder="请输入ETC余额">
  62. <div class="input-group-addon">元</div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. <!--操作按钮-->
  70. <div class="panel panel-default" style="margin: 0 16px 16px 30px;border: none">
  71. <div class="form-inline">
  72. <div class="col-sm-5">
  73. <?= Html::submitButton($model->isNewRecord ? '保 存' : '保 存', ['class' => $model->isNewRecord ? 'btn btn-primary' : 'btn btn-primary', 'style' => 'width: 82px;', 'onclick' => 'loading()']) ?>
  74. <?= Html::button('取 消', ['class' => 'btn btn-default', 'data-dismiss' => 'modal', 'onclick' => 'window.open("about:blank", "_top").close()', 'style' => 'margin-left:5px;width: 82px;']) ?>
  75. </div>
  76. </div>
  77. </div>
  78. <?php zActiveForm::end(); ?>
  79. </div>