You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
ymww_backend/application/admin/view/order/edit.html

143 lines
9.1 KiB

<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_sn')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-order_sn" data-rule="required" class="form-control" name="row[order_sn]" type="text" value="{$row.order_sn|htmlentities}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('用户')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-user_id" data-rule="" data-source="user/user/selectpage" data-primary-key="id" data-field="nickname" data-max-select-limit="1000"data-multiple="false" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}" data-order-by="id" data-format-item="{nickname} - <img class='img-sm img-center img-circle' src='{avatar}'> - {mobile}" readonly>
</div>
</div>
<!-- <div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('下单时间')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-createtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[createtime]" type="text" value="{:$row.createtime?datetime($row.createtime):''}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Pay_method')}:</label>
<div class="col-xs-12 col-sm-8">
{:build_radios('row[pay_method]', ['0'=>__('银行卡'), '1'=>__('支付宝'), '2'=>__('微信')], $row.pay_method)}
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('付款时间')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-pay_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pay_time]" type="text" value="{:$row.pay_time?datetime($row.pay_time):''}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('买家')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-buyer_id" data-rule="" data-source="user/user/selectpage" data-primary-key="id" data-field="nickname" data-max-select-limit="1000"data-multiple="false" class="form-control selectpage" name="row[buyer_id]" type="text" value="{$row.buyer_id|htmlentities}" data-order-by="id" data-format-item="{nickname} - <img class='img-sm img-center img-circle' src='{avatar}'> - {mobile}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('卖家')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-seller_id" data-rule="" data-source="user/user/selectpage" data-primary-key="id" data-field="nickname" data-max-select-limit="1000"data-multiple="false" class="form-control selectpage" name="row[seller_id]" type="text" value="{$row.seller_id|htmlentities}" data-order-by="id" data-format-item="{nickname} - <img class='img-sm img-center img-circle' src='{avatar}'> - {mobile}" readonly>
</div>
</div> -->
<!-- <div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('商品总价')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-order_amount" data-rule="required" min="0" class="form-control" step="0.01" name="row[order_amount]" type="number" value="{$row.order_amount|htmlentities}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Pay_voucher')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group">
<input id="c-pay_voucher" data-rule="required" class="form-control" size="50" name="row[pay_voucher]" type="text" value="{$row.pay_voucher|htmlentities}">
<div class="input-group-addon no-border no-padding">
<span><button type="button" id="faupload-pay_voucher" class="btn btn-danger faupload" data-input-id="c-pay_voucher" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-pay_voucher"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
<span><button type="button" id="fachoose-pay_voucher" class="btn btn-primary fachoose" data-input-id="c-pay_voucher" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
</div>
<span class="msg-box n-right" for="c-pay_voucher"></span>
</div>
<ul class="row list-inline faupload-preview" id="p-pay_voucher"></ul>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('委托费优惠金额')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-coupon_price" data-rule="required" min="0" class="form-control" step="0.01" name="row[coupon_price]" type="number" value="{$row.coupon_price|htmlentities}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('实际付款')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-pay_amount" data-rule="required" class="form-control" step="0.01" name="row[pay_amount]" type="number" value="{$row.pay_amount|htmlentities}" readonly>
</div>
</div> -->
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('订单状态')}:</label>
<div class="col-xs-12 col-sm-8">
{:build_radios('row[status]', ['2'=>__('隐藏'), '3'=>__('正常'),'6'=>'已完成'], $row['status'])}
</div>
</div>
<!-- <div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('订单状态')}:</label>
<div class="col-xs-12 col-sm-8">
{:build_radios('row[status]', $statusList, $row.status)}
</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">
<input id="c-status" data-rule="required" min="0" class="form-control" name="row[status]" type="number" value="{$row.status|htmlentities}" >
</div>
</div> -->
<!-- <div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Warehouse_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-warehouse_id" data-rule="required" min="0" data-source="warehouse/index" class="form-control selectpage" name="row[warehouse_id]" type="text" value="{$row.warehouse_id|htmlentities}">
</div>
</div> -->
<!-- <div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('联系人')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-consignee" data-rule="required" class="form-control" name="row[consignee]" type="text" value="{$row.consignee|htmlentities}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('联系电话')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-province" data-rule="required" class="form-control" name="row[province]" type="text" value="{$row.province|htmlentities}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-city" data-rule="required" class="form-control" name="row[city]" type="text" value="{$row.city|htmlentities}" readonly>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('区')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-district" data-rule="required" class="form-control" name="row[district]" type="text" value="{$row.district|htmlentities}" readonly>
</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" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}" readonly>
</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>