123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <input type="hidden" name="updatetime" value="{$row.updatetime}" />
- <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 data-rule="required" data-source="user/user/index" data-field="username" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Out_trade_no')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-out_trade_no" disabled class="form-control" name="row[out_trade_no]" type="text" value="{$row.out_trade_no}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Order_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-order_price" disabled class="form-control" step="0.01" name="row[order_price]" type="number" value="{$row.order_price}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Discount_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-discount_price" disabled class="form-control" step="0.01" name="row[discount_price]" type="number" value="{$row.discount_price}">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Delivery_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-delivery_price" class="form-control" step="0.01" name="row[delivery_price]" type="number" value="{$row.delivery_price}">
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Total_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-total_price" disabled class="form-control" step="0.01" name="row[total_price]" type="number" value="{$row.total_price}">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pay_type')}:</label>
- <div class="col-xs-12 col-sm-8">
- <select id="c-pay_type" data-rule="required" class="form-control selectpicker" name="row[pay_type]">
- {foreach name="payTypeList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.pay_type"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Ip')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-ip" class="form-control" name="row[ip]" type="text" value="{$row.ip}">
- </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}" disabled 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">{:__('Refund status')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="radio">
- {foreach name="refundStatusList" item="vo"}
- <label for="row[refund_status]-{$key}"><input id="row[refund_status]-{$key}" disabled name="row[refund_status]" type="radio" value="{$key}" {in name="key" value="$row.refund_status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pay time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-have_paid" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_paid]" type="text" value="{:$row.have_paid?datetime($row.have_paid):''}">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Delivered time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-have_delivered" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_delivered]" type="text" value="{:$row.have_delivered?datetime($row.have_delivered):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Commented time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-have_commented" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_commented]" type="text" value="{:$row.have_commented?datetime($row.have_commented):''}">
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Received time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-have_received" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_received]" type="text" value="{:$row.have_received?datetime($row.have_received):''}">
- </div>
- </div>
- <hr>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('booktime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-booktime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[booktime]" type="text" value="{:$row.booktime?datetime($row.booktime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('book_realname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-book_realname" class="form-control" name="row[book_realname]" type="text" value="{$row.book_realname}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('book_mobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-book_mobile" class="form-control" name="row[book_mobile]" type="text" value="{$row.book_mobile}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark}">
- </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-success btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|