1234567891011121314151617181920212223242526272829303132333435 |
- <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">{:__('Box_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-box_name" class="form-control" type="text" value="{$box_info.box_name}" readonly="readonly">
- <input id="c-app_id" class="form-control" name="row[box_id]" type="hidden" value="{$box_info.box_id}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Goods_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-goods_id" data-rule="required" data-source="goods/goods/selectpage" data-field="goods_name" class="form-control selectpage" name="row[goods_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Rate')}(%):</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-rate" class="form-control" step="1" name="row[rate]" type="number" data-rule="range(0~)">
- </div>
- <p style="line-height: 30px;margin: 0!important;" class="text-red">(如:5%,填5)</p>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="0">
- </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>
|