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.
 
 
 
 
 
 

76 lines
3.2 KiB

  1. <?php
  2. use yii\widgets\ActiveForm;
  3. use backend\modules\zzcs\models\OperaBalanceHisSearch;
  4. use yii\helpers\Html;
  5. backend\modules\zzcs\assets\ZzcsNewAsset::register($this);
  6. /**
  7. * Created by PhpStorm.
  8. * User: 501810442
  9. * Date: 2017/8/9
  10. * Time: 10:45
  11. */
  12. //var_dump($list);
  13. //$list;
  14. ?>
  15. <?php
  16. ?>
  17. <!--大模态框-->
  18. <div class="modal-dialog modal-lg">
  19. <?php \yii\widgets\Pjax::begin(['id' => 'pjax-modal', 'timeout' => false, 'enablePushState' => false, 'options' => ['data-pjax-container' => 'test']]) ?>
  20. <?php $form = \common\components\zActiveForm::begin(['id' => 'pre_pay', 'action' => [$action], 'options' => ['class' => 'form-horizontal', 'data-pjax' => true]]); ?>
  21. <div class="panel panel-default" id="panel-div">
  22. <div class="panel-heading">充值
  23. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  24. <span aria-hidden="true">&times;</span>
  25. </button>
  26. </div>
  27. <div class="panel-body" style="padding: 15px 35px 20px 85px;">
  28. <div class="myBody">
  29. <div class="form-group">
  30. <div class="form-inline">
  31. <div class="form-group">
  32. <?= $form->field($model, 'supplier_id', ['template' => '{label}<div class="col-sm-8" style="display: inline-flex"><div class="">{input}' .
  33. '</div>{hint}{error}</div>', 'options' => ['class' => 'col_5']])->dropDownList($list, ['id' => 'base_room_list', 'class' => 'form-control select_screen', 'style' => 'width: 187px;'])->label($lable) ?>
  34. </div>
  35. </div>
  36. </div>
  37. <div class="form-group">
  38. <div class="form-inline">
  39. <div class="form-group" style="width: 600px;">
  40. <?= $form->field($model, 'change_value', ['template' => '{label}<div class="col-sm-10" style="display: inline-flex"><div class="">{input}' .
  41. '</div>{hint}{error}</div>', 'options' => ['class' => 'col_5']])->textInput(['maxlength' => true, 'placeHolder' => '输入充值金额', 'style' => 'width: 187px;']) -> label('金额:') ?>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="form-group">
  46. <label class="control-label">&nbsp;</label>
  47. <div class="col-sm-5">
  48. <?= Html::submitButton($model->isNewRecord ? '充值' : '充值', ['class' => $model->isNewRecord ? 'btn btn-primary' : 'btn btn-primary', 'style' => 'margin-left: -10px;']) ?>
  49. <?= Html::submitButton('关闭', ['class' => 'btn btn-default', 'data-dismiss' => 'modal', 'style' => 'margin-left: 15px;']) ?>
  50. </div>
  51. </div>
  52. </div>
  53. <!--mybody end-->
  54. </div>
  55. </div>
  56. <?php
  57. backend\modules\zzcs\assets\ZzcsNewAsset::register($this);
  58. ?>
  59. <script type="text/javascript">
  60. $(document).ready(function () {
  61. $('.select_screen').comboSelect();
  62. });
  63. </script>
  64. <?php \common\components\zActiveForm::end(); ?>
  65. <?php \yii\widgets\Pjax::end() ?>
  66. </div>