123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <form id="edit-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">{:__('Orderno')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-orderno" disabled class="form-control" name="row[orderno]" type="text" value="{$row.orderno|htmlentities}">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Uc_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-uc_id" data-rule="required" data-source="usercompany/index" data-field="projectname" class="form-control selectpage" name="row[uc_id]" type="text" value="{$row.uc_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Company_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-company_id" data-rule="required" data-source="company/index" data-field="companyname" class="form-control selectpage" name="row[company_id]" type="text" value="{$row.company_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Info')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-info" class="form-control" name="row[info]" type="text" value="{$row.info|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Filedata')}:</label>
- <div class="col-xs-12 col-sm-8">
- <?php
- if(!empty($row['filedata_array'])){
- foreach($row['filedata_array'] as $key => $val){
- if(isset($val['type']) && $val['type'] == 'video'){
- echo '<video width="100" height="100" controls><source src="'. localpath_to_netpath($val['url']) .'" type="video/ogg"></video>';
- }
- if(isset($val['type']) && $val['type'] == 'img'){
- echo '<img width="100" height="100" src="'. localpath_to_netpath($val['url']) .'" >';
- }
- echo '<br>';
- }
- }
- ?>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-address" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="statusList" item="vo"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Canceltime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-canceltime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[canceltime]" type="text" value="{:$row.canceltime?datetime($row.canceltime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Finishtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-finishtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[finishtime]" type="text" value="{:$row.finishtime?datetime($row.finishtime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Baojia_confirmtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-baojia_confirmtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[baojia_confirmtime]" type="text" value="{:$row.baojia_confirmtime?datetime($row.baojia_confirmtime):''}">
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Worker_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-worker_id" data-rule="required" data-source="worker/index" data-field="truename" class="form-control selectpage" name="row[worker_id]" type="text" value="{$row.worker_id|htmlentities}">
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Cailiao_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-cailiao_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cailiao_time]" type="text" value="{:$row.cailiao_time?datetime($row.cailiao_time):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Lingqu_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-lingqu_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[lingqu_time]" type="text" value="{:$row.lingqu_time?datetime($row.lingqu_time):''}">
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Lingqu_images')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-lingqu_images" class="form-control" size="50" name="row[lingqu_images]" type="text" value="{$row.lingqu_images|htmlentities}">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-lingqu_images" class="btn btn-danger faupload" data-input-id="c-lingqu_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-lingqu_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-lingqu_images" class="btn btn-primary fachoose" data-input-id="c-lingqu_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-lingqu_images"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-lingqu_images"></ul>
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Shangmen_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-shangmen_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[shangmen_time]" type="text" value="{:$row.shangmen_time?datetime($row.shangmen_time):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Weixiu_times')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-weixiu_times" class="form-control" name="row[weixiu_times]" type="number" value="{$row.weixiu_times|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Weixiu_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-weixiu_id" data-rule="required" data-source="weixiu/index" class="form-control selectpage" name="row[weixiu_id]" type="text" value="{$row.weixiu_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Wancheng_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-wancheng_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[wancheng_time]" type="text" value="{:$row.wancheng_time?datetime($row.wancheng_time):''}">
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Eva_info')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-eva_info" class="form-control" name="row[eva_info]" type="text" value="{$row.eva_info|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Eva_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-eva_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[eva_time]" type="text" value="{:$row.eva_time?datetime($row.eva_time):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Eva_score')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-eva_score" class="form-control" name="row[eva_score]" type="number" value="{$row.eva_score|htmlentities}">
- </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>
- </div>
- </div>
- </form>
|