123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <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">{:__('Order_no')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-order_no" disabled class="form-control" name="row[order_no]" type="text" value="{$row.order_no|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Product_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-product_name" disabled class="form-control" name="row[product_name]" type="text" value="{$row.product_name|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" disabled class="form-control" 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">{:__('Pay_fee')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-pay_fee" disabled class="form-control" step="0.01" name="row[pay_fee]" type="number" value="{$row.pay_fee|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Paytime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-paytime" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[paytime]" type="text" value="{:$row.paytime?datetime($row.paytime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-realname" disabled class="form-control" name="row[realname]" type="text" value="{$row.realname|htmlentities}">
- </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" disabled 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">{:__('Roadtype')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-roadtype" disabled class="form-control selectpicker" name="row[roadtype]">
- {foreach name="roadtypeList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.roadtype"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Roadname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-roadname" disabled class="form-control" name="row[roadname]" type="text" value="{$row.roadname|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Ticket_str')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-ticket_str" disabled class="form-control" name="row[ticket_str]" type="text" value="{$row.ticket_str|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 disabled 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>
- <hr>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pay_out_trade_no')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-pay_out_trade_no" disabled class="form-control" name="row[pay_out_trade_no]" type="text" value="{$row.pay_out_trade_no|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Refund_reason')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-refund_reason" class="form-control" name="refund_reason" type="text" value="{$row.refund_reason|htmlentities}">
- </div>
- </div>
- <?php if($row['status'] == 22) {?>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Refund_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-refund_time" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" type="text" value="{:$row.refund_time?datetime($row.refund_time):''}">
- </div>
- </div>
- <?php } ?>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Refund_remark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-refund_remark" class="form-control" name="refund_remark" type="text" value="{$row.refund_remark|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Refund_fee')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-refund_fee" data-rule="required" class="form-control" step="0.01" name="refund_fee" type="number" value="{$row.refund_fee|htmlentities}">
- </div>
- </div>
- <?php if($row['status'] == 21) {?>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">说明:</label>
- <div class="col-xs-12 col-sm-8">
- <font color="red">提交之后会自动把【退款额度】填写的金额 原路返回给用户,最大不能超过【总价格】</font>
- </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>
- <?php } ?>
- </form>
|