Brandmodel.html 5.08 KB
<%include '../../common/views/__ui/header'%>
<%include '../../common/views/__partail/ListHeader'%>

<div class="contentpanel" id="form-base">
    <div class="panel panel-default" style="margin-bottom:10px;">
        <div class="panel-body" style="padding-bottom:0;">
            <a id="add-btn" href="javascript:;" class="btn btn-success"><i class="fa fa-plus"></i> 添加品牌款型</a>
        </div>

        <div class="panel-body">
            <div class="row">
                <div class="panel-col">
                    <input id="models-name" class="form-control panel-input height40" type="text" placeholder="款型系列名称">
                </div>

                <div class="panel-col">
                    <select name="models-type" id="models-type" tabindex="-1" title="" class="form-control height40">
                        <option value="-1">类型</option>
                        <option value="1">品牌款型</option>
                        <option value="2">品牌系列</option>
                    </select>
                </div>

                <div class="panel-col">
                    <select name="brand" id="brand" tabindex="-1" title="" class="form-control height40">
                        <option value="-1">请选择品牌</option>
                    </select>
                </div>

                <div class="panel-col">
                    <select name="status" id="status" tabindex="-1" title="" class="form-control height40">
                        <option value="-1">状态</option>
                        <option value="1">打开</option>
                        <option value="0">关闭</option>
                    </select>
                </div>

                <div class="panel-col2">
                    <select name="shop" id="shop" tabindex="-1" title="" class="form-control height40">
                        <option value="-1">请选择店铺</option>
                    </select>
                </div>

                <div class="panel-col">
                    <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a>
                    <a id="all-btn" href="" class="btn btn-info">全部</a>
                </div>
            </div>
        </div>
    </div>


    <div class="panel">
        <div class="dataTables_wrapper no-footer" id="basicTable"></div>
    </div>
</div>


<script type="text/template" id="template">
    <form id="add-attr-form" class="form-horizontal form-bordered" method="post" action="" style="height: 400px;overflow: auto">
        <div class="form-group">
            <label class="col-md-3 control-label">
                店铺
            </label>

            <div class="col-md-6">
                <select name="shop" id="shopsId" value="[[shopsId]]" tabindex="-1" title="" class="form-control height40">
                    <option value="[[shopsId||'-1']]">[[shopsName||"请选择店铺"]]</option>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label">
                品牌<i class="red">*</i>
            </label>

            <div class="col-md-6">
                <select name="shop" id="brandId" value="[[brandId]]" tabindex="-1" required="required" title="" class="form-control height40">
                    <option value="[[brandId||'-1']]">[[brandName||"请选择品牌"]]</option>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label">
                类型<i class="red">*</i>
            </label>

            <div class="panel-col">
                <select name="type" id="type" value="[[type]]" tabindex="-1" required="required" title="" class="form-control height40">
                    <option value="-1">类型</option>
                    <option value="1">品牌款型</option>
                    <option value="2">品牌系列</option>
                </select>
            </div>

        </div>

        <div class="form-group">
            <label class="col-md-3 control-label">
                名称<i class="red">*</i>
            </label>

            <div class="col-md-6">
                <input id="seriesName" value="[[seriesName]]" class="form-control width300" type="text" required="required" placeholder="款型系列名称">
            </div>
        </div>


        <div class="form-group">
            <label for="seriesBanner" class="col-sm-3 control-label">banner图片:</label>
            <div class="col-sm-6" id="colorUrlBox">
                <input type="file" id="seriesBanner" name="seriesBanner" value="[[seriesBanner]]">
            </div>
        </div>


        <div class="form-group">
            <label class="col-md-3 control-label">
                排序<i class="red">*</i>
            </label>

            <div class="col-md-6">
                <input id="orderBy" value="[[orderBy]]" class="form-control width300" type="text" required="required" placeholder="排序">
            </div>
        </div>

        <input id="id" hidden="ture" value="[[id]]" />



    </form>

</script>
<%include '../../common/views/__ui/footer'%>