<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" 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" 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" 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" 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" 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">{:__('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"> <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">{:__('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}" 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" 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" 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" 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> <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>