123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-product_id" data-rule="required" data-source="product/index" class="form-control selectpage" data-format-item="{id}-{name}" name="row[product_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Road_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-road_id" data-rule="required" data-source="productroad/index" class="form-control selectpage" data-format-item="{id}-{roadname}" data-field="roadname" name="row[road_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chufatime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chufatime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[chufatime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Ticket_number')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-ticket_number" class="form-control" name="row[ticket_number]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Ticket_remain')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-ticket_remain" class="form-control" name="row[ticket_remain]" type="number" value="0">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chufatype')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-chufatype" class="form-control selectpicker" name="row[chufatype]">
- {foreach name="chufatypeList" item="vo"}
- <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chepaihao')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chepaihao" class="form-control" name="row[chepaihao]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Sijimobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-sijimobile" class="form-control" name="row[sijimobile]" type="text" value="">
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Coach_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-coach_id" data-rule="required" data-source="coach/index" data-field="nickname" data-format-item="{nickname}-{mobile}" class="form-control selectpage" name="row[coach_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Car_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-car_id" data-rule="required" data-source="car/index" data-field="chepaihao" class="form-control selectpage" name="row[car_id]" type="text" value="">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Fache_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="facheStatusList" item="vo"}
- <label for="row[fache_status]-{$key}"><input id="row[fache_status]-{$key}" name="row[fache_status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Fache_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-fache_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[fache_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Daozhan_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-daozhan_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[daozhan_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>-->
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|