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.
47 lines
1.4 KiB
47 lines
1.4 KiB
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\ActiveForm;
|
|
use \blobt\widgets\DateRangePicker;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\searchs\SupplierSearch */
|
|
/* @var $form yii\widgets\ActiveForm */
|
|
?>
|
|
|
|
<?php $form = ActiveForm::begin([
|
|
'action' => ['index'],
|
|
'method' => 'get',
|
|
'validateOnType' => true,
|
|
]);
|
|
?>
|
|
<div class="col-sm-12">
|
|
<div class="dataTables_filter">
|
|
<?= $form->field($model, 'id', [
|
|
"template" => "{input}{error}",
|
|
"inputOptions" => [
|
|
"placeholder" => "检索ID",
|
|
"class" => "form-control",
|
|
],
|
|
"errorOptions" => [
|
|
"class" => "error-tips"
|
|
]
|
|
])
|
|
?>
|
|
<?= $form->field($model, "created_at_range", [
|
|
"template" => "{input}{error}",
|
|
"inputOptions" => [
|
|
"placeholder" => "创建时间",
|
|
],
|
|
"errorOptions" => [
|
|
"class" => "error-tips"
|
|
]
|
|
])->widget(DateRangePicker::className());
|
|
?>
|
|
<div class="form-group">
|
|
<?= Html::submitButton('<i class="fa fa-filter"></i>', ['class' => 'btn btn-default']) ?>
|
|
<?= Html::resetButton('<i class="fa fa-eraser"></i>', ['class' => 'btn btn-default']) ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php ActiveForm::end(); ?>
|