netsale-edit.html 11.7 KB
<div class="pageheader">
    <div class="media">
        <div class="pageicon pull-left">
            <i class="fa fa-th-list"></i>
        </div>
        <div class="media-body">
            <ul class="breadcrumb">
                <li><a href="#"><i class="glyphicon glyphicon-home"></i></a></li> 
                <li><a href="#">商品管理</a></li>


                <li>编辑</li>
            </ul>
            <h4>编辑商品信息</h4>
        </div>
    </div>
</div>

<div class="contentpanel">
    
    {{# data}}
    <div class="panel panel-danger">
        <div class="panel-heading">
            <div class="panel-btns" style="display: none;">
                <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
            </div>
            <h2 class="panel-title">上架前必填</h2>
        </div>
        
        <div class="panel-body">

            <div class="panel panel-default">
                <form id="basicForm" class="form-horizontal form-bordered" type="{{type}}" action="{{action}}">
                <div class="panel-heading">
                    <div class="panel-btns" style="display: none;">
                        <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
                    </div>
                    <h2 class="panel-title">基本信息</h2>
                </div>
                <div class="panel-body nopadding">
                    {{# baseProductInfo}}
                    {{# baseProduct}}
                    <div class="form-group">
                        <blockquote>基本信息:</blockquote>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3">店铺:{{shopName}}</div>
                        <div class="col-sm-3">品牌:{{brandName}}</div>
                        <div class="col-sm-3">供应商:{{supplierName}}</div>
                        <div class="col-sm-3">厂家编号:{{factoryCode}}</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3">品类:</div>
                        <div class="col-sm-3">货品年:{{goodsYears}}</div>
                        <div class="col-sm-3">货品季:{{goodsSeason}}</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3">SKN:{{productSkn}}</div>
                        <div class="col-sm-3">商品类型:</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1 height40">商品名称<i class="red">*</i></div>
                        <div class="col-sm-8"><input class="form-control" placeholder="基础商品名称" type="text"></div>
                        <div class="col-sm-12" style="color: red;"><div class="col-sm-1"></div>建议名称:【品牌英文+性别+图案纹理+版型+风格+三级类目+商家款号+(款型)】,如此可增加商品在搜索页的展示。</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-12">商品话题:{{productTag}}</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3">年龄层:{{ageLevel}}</div>
                        <div class="col-sm-3">性别:{{gender}}</div>
                        <div class="col-sm-3">重点款:{{grade}}</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3">是否奥莱:{{isOutLets}}</div>
                        <div class="col-sm-3">限量款:{{isLimited}}</div>
                        <div class="col-sm-3">促销礼品:{{isPromotionalGifts}}</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3">是否预售:{{isAdvance}}</div>
                        <div class="col-sm-3" style="color: #ccc;">预售库存:{{stock}}</div>
                        <div class="col-sm-3">预计到货时间:{{expectArrivalTime}}</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3">是否限购:{{isLimitbuy}}</div>
                        <div class="col-sm-3">适销季:{{seasons}}</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3">吊牌价:{{retailPrice}}</div>
                        <div class="col-sm-3">销售价:{{salesPrice}}</div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3">是否VIP:</div>
                        <div class="col-sm-3">预计上架时间:{{expectShelfTime}}</div>
                    </div>
                    {{/ baseProduct}}
                    {{/ baseProductInfo}}
                    {{# goodsList}}
                    <div class="form-group">
                        <div class="col-sm-12">
                            <h4>能否补货:</h4>
                            <table class="table table-bordered">
                                <thead>
                                    <tr>
                                        <th>SKC(厂家颜色)</th>
                                        <th>SKU(尺码)</th>
                                        <th>能否补货</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    
                                    <tr>
                                        <td>{{productSkc}}({{goodsName}})</td>
                                        <td>{{# goodsSizeList}}{{productSku}}({{sizeName}})<br>{{/ goodsSizeList}}</td>
                                        <td>{{# goodsSizeList}}{{isSuppled}}</br>{{/ goodsSizeList}}</td>
                                    </tr>
                                    
                                </tbody>
                            </table>
                        </div>
                    </div>
                    {{/ goodsList}}
                    <div class="form-group">
                        <blockquote>上架必填:</blockquote>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1 height40">商品短评<i class="red">*</i></div>
                        <div class="col-sm-8"><input class="form-control" placeholder="商品短评" type="text" required></div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6">
                            <label>是否新品:</label>
                            <label class="radio-inline"><input type="radio" name="dayFlag" value="1"></label>
                            <label class="radio-inline"><input type="radio" name="dayFlag" value="0"></label>
                        </div>
                        <div class="col-sm-6">
                            <label>上架渠道:</label>
                            <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="网站">网站</label>
                            <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="手机">手机</label>
                            <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="场地">场地</label>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-12">下架时间:售罄0天下架</div>
                    </div>
                </div>
                <div class="panel-footer">
                    <button class="btn btn-primary">保存文本</button>
                </div>
                </form>
            </div>
            <div class="panel panel-default">
                <form action="" class="form-horizontal form-bordered">
                    <div class="panel-heading">
                        <div class="panel-btns" style="display: none;">
                            <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
                        </div>
                        <h2 class="panel-title">封面设置</h2>
                    </div>
                    <div class="panel-body nopadding">
                        {{# goodsImagesList}}
                        <div class="form-group">
                            <div class="col-sm-1">
                                <div class="goods-img">
                                    <p>SKC: {{productSkc}}</p>
                                    <p>{{goodsName}}色</p>
                                </div>
                                <div class="cover-color height40">颜色封面:</div>
                                <div class="goods-color height40">商品封面:</div>
                            </div>
                            <div class="col-sm-11">
                                <ul class="cover-image-list col-sm-12">
                                    <li class="cover-image-item fileinput-button">
                                        <div class="goods-img">
                                            <a class="fileinput-button-icon" href="javascript:void(0);">+</a>
                                            <input type="file" class="goods-img-upload">
                                        </div>
                                        <div class="cover-color height40">
                                            <a href="javascript:;" class="btn btn-default btn-metro">默认</a>
                                            <a href="javascript:;" class="btn btn-default btn-metro">男封</a>
                                            <a href="javascript:;" class="btn btn-default btn-metro">女封</a>
                                        </div>
                                        <div class="goods-color height40">
                                            <a href="javascript:;" class="btn btn-default btn-metro">设置默认</a>
                                            <a href="javascript:;" class="btn btn-default btn-metro">调用图片</a>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        {{/ goodsImagesList}}
                    </div>
                    <div class="panel-footer">
                        <button class="btn btn-primary">保存封面</button>
                    </div>
                </form>
            </div>
        </div>
        
    </div>
    {{/ data}}
</div>


<script type="text/template" id="picDialogTemp">
    <div class="row">
        <div id="upload-wrapper" class="col-md-3">
            <input id="imgVideo" name="imgVideo" type="file" extend="{extend}" class="btn btn-primary ml10" value="{attachUrl}">
        </div>
        <div class="col-md-9">
            <div class="row">
                <label class="pull-left control-label height40">{name}链接</label>
                <div class="pull-left ml10">
                    <input class="form-control" id="imgVideoText"  type="text" placeholder="{name}链接" value="{attachUrl}">
                </div>
                
            </div>
            <div class="row">
                <label class="pull-left control-label height40">{name}描述</label>
                <div class="pull-left ml10">
                    <input class="form-control" type="text" id="attachName" value="{attachName}" placeholder="{name}描述">
                </div>
            </div>
        </div>
    </div>
</script>