|
- <?php
-
- use yii\widgets\ActiveForm;
- use backend\modules\zzcs\models\OperaBalanceHisSearch;
- use yii\helpers\Html;
-
- backend\modules\zzcs\assets\ZzcsNewAsset::register($this);
- /**
- * Created by PhpStorm.
- * User: 501810442
- * Date: 2017/8/9
- * Time: 10:45
- */
- //var_dump($list);
- //$list;
- ?>
-
- <?php
-
- ?>
-
- <!--大模态框-->
- <div class="modal-dialog modal-lg">
- <?php \yii\widgets\Pjax::begin(['id' => 'pjax-modal', 'timeout' => false, 'enablePushState' => false, 'options' => ['data-pjax-container' => 'test']]) ?>
- <?php $form = \common\components\zActiveForm::begin(['id' => 'pre_pay', 'action' => [$action], 'options' => ['class' => 'form-horizontal', 'data-pjax' => true]]); ?>
- <div class="panel panel-default" id="panel-div">
- <div class="panel-heading">充值
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="panel-body" style="padding: 15px 35px 20px 85px;">
- <div class="myBody">
-
- <div class="form-group">
- <div class="form-inline">
- <div class="form-group">
- <?= $form->field($model, 'supplier_id', ['template' => '{label}<div class="col-sm-8" style="display: inline-flex"><div class="">{input}' .
- '</div>{hint}{error}</div>', 'options' => ['class' => 'col_5']])->dropDownList($list, ['id' => 'base_room_list', 'class' => 'form-control select_screen', 'style' => 'width: 187px;'])->label($lable) ?>
- </div>
- </div>
- </div>
-
- <div class="form-group">
- <div class="form-inline">
- <div class="form-group" style="width: 600px;">
- <?= $form->field($model, 'change_value', ['template' => '{label}<div class="col-sm-10" style="display: inline-flex"><div class="">{input}' .
- '</div>{hint}{error}</div>', 'options' => ['class' => 'col_5']])->textInput(['maxlength' => true, 'placeHolder' => '输入充值金额', 'style' => 'width: 187px;']) -> label('金额:') ?>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label"> </label>
- <div class="col-sm-5">
- <?= Html::submitButton($model->isNewRecord ? '充值' : '充值', ['class' => $model->isNewRecord ? 'btn btn-primary' : 'btn btn-primary', 'style' => 'margin-left: -10px;']) ?>
- <?= Html::submitButton('关闭', ['class' => 'btn btn-default', 'data-dismiss' => 'modal', 'style' => 'margin-left: 15px;']) ?>
- </div>
- </div>
- </div>
- <!--mybody end-->
- </div>
- </div>
-
- <?php
- backend\modules\zzcs\assets\ZzcsNewAsset::register($this);
- ?>
-
- <script type="text/javascript">
- $(document).ready(function () {
- $('.select_screen').comboSelect();
- });
- </script>
- <?php \common\components\zActiveForm::end(); ?>
- <?php \yii\widgets\Pjax::end() ?>
- </div>
|