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/add.html

42 lines
2.4 KiB

1 year ago
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<div class="form-group">
1 year ago
<label class="control-label col-xs-12 col-sm-2">{:__('商品')}:</label>
1 year ago
<div class="col-xs-12 col-sm-8">
<input id="c-goods_id" data-rule="" data-source="goods/selectpage" data-primary-key="id" data-field="name" data-max-select-limit="1000"data-multiple="false" class="form-control selectpage" name="row[goods_id]" type="text" value="" data-order-by="id" data-params='{"custom[goods_type]":"1","custom[status]":"hidden"}'>
1 year ago
</div>
</div>
<div class="form-group">
1 year ago
<label class="control-label col-xs-12 col-sm-2">{:__('所属场次')}:</label>
1 year ago
<div class="col-xs-12 col-sm-8">
1 year ago
<input id="c-warehouse_id" data-source="warehouse/selectpage" data-primary-key="id" data-field="title" data-max-select-limit="1000"data-multiple="false" class="form-control selectpage" name="row[warehouse_id]" type="text" value="" data-order-by="id desc" >
1 year ago
</div>
</div>
1 year ago
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('用户')}:</label>
1 year ago
<div class="col-xs-12 col-sm-8">
1 year ago
<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="" data-order-by="id" data-format-item="{nickname} - <img class='img-sm img-center img-circle' src='{avatar}'> - {mobile}" >
1 year ago
</div>
</div>
<div class="form-group">
1 year ago
<label class="control-label col-xs-12 col-sm-2">{:__('订单状态')}:</label>
1 year ago
<div class="col-xs-12 col-sm-8">
1 year ago
{:build_radios('row[status]', $statusList, 3)}
1 year ago
</div>
</div>
<div class="form-group">
1 year ago
<label class="control-label col-xs-12 col-sm-2">{:__('实际支付金额')}:</label>
1 year ago
<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">
</div>
</div>
1 year ago
1 year ago
<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>