|
- <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">{:__('Item_type')}:</label>-->
- <!-- <div class="col-xs-12 col-sm-8">-->
- <!-- <input id="c-item_type" data-rule="required" class="form-control" name="row[item_type]" type="number" value="0">-->
- <!-- </div>-->
- <!-- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Item_type')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-item_type" data-rule="required" data-source="general/config/getList?key=site.item_category" class="form-control selectpage" name="row[item_type]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Item_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-item_name" data-rule="required" class="form-control" name="row[item_name]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Item_unit')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-item_unit" data-rule="required" data-source="general/config/getList?key=site.item_unit" class="form-control selectpage" name="row[item_unit]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Item_memo')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-item_memo" data-rule="required" class="form-control" name="row[item_memo]" type="text" value="">
- </div>
- </div>
- <div class="form-group" data-toggle="cxselect" data-selects="province,city,area">
- <label class="control-label col-xs-12 col-sm-2">{:__('所在区域')}:</label>
- <div class="col-xs-12 col-sm-8">
- <select class="province" name="row[province]" data-url="ajax/area"></select>
- <select class="city" name="row[city]" data-url="ajax/area"></select>
- <select class="area" name="row[area]" data-url="ajax/area"></select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Detail_address')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-detail_address" data-rule="required" class="form-control" name="row[detail_address]" type="text" value="">
- </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-purchase_user_id" data-rule="required" data-source="auth/admin/getList" class="form-control selectpage" name="row[purchase_user_id]" type="text" value="">
- </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>
|