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.
41 lines
2.4 KiB
41 lines
2.4 KiB
<form id="add-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">{:__('商品')}:</label>
|
|
<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"}'>
|
|
</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-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" >
|
|
</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="" data-order-by="id" data-format-item="{nickname} - <img class='img-sm img-center img-circle' src='{avatar}'> - {mobile}" >
|
|
</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, 3)}
|
|
</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">
|
|
</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>
|
|
|