<div class="J_sku-con sku-con-left">
  {{set label ='SKU ID'}}
  {{if dataType === 2}}
    {{set label = 'erp促销编码'}}
  {{else if dataType === 3}}
    {{set label = '拼购ID'}}
  {{/if}}
{{if dataType != 2}}
<div class="sku-select-type-con J-sku-select-type-con">
  {{if dataType == 7}}
  <span class="{{if type==1}}sku-tab-active{{/if}}">超级新品池</span>
  {{else}}
  <span class="{{if type==1}}sku-tab-active{{/if}}">从商品池添加</span>
  {{/if}}
  <span class="{{if type==2}}sku-tab-active{{/if}}">{{label}}录入</span>
</div>
<div class="J_sku-tab-con-item sku-tab-con-item" style="{{if type==1}}display: block;{{/if}}">
  {{if (dataType === 1 || dataType === 5 || dataType === 6)}}
  <div class="cd-sku-head">
      <div>
      {{if !isYaoB2B}}
        <span class="select">
          <select name="" class="J_category1-select">
            <option value="">请选择一级分类</option>
            {{each category1 item index}}
            <option value="{{item.id}}">{{item.title}}</option>
            {{/each}}
          </select>
        </span>
        <span class="select">
          <select name="" class="J_category2-select">
            <option value="">请选择二级分类</option>
          </select>
        </span>
        {{/if}}

        <input type="text" style="{{if (dataType !=1 && dataType !=5 && dataType != 6)}}width:569px{{/if}}" class="search-input cd-text-input J_search-input" value="" placeholder="请输入关键字">
          
          <span class="select">
              <select name="cd-select-order" class="J_goodsQueryType">
                {{if !isYaoB2B}}
                  <option value="" >SKU维度展示</option>
                 {{/if}}
                  <option value="1" >SPU维度展示</option>
              </select>
          </span>
        <button class="cd-big-black-border-btn search-btn J_search-btn">搜索</button>
      </div>
  </div>
  {{/if}}
  <div class="cd-sku-content cd-version-table-warp">
    <div class="table-con J_list-con">
        <div style="text-align:center;">
          暂无数据
        </div>
    </div>
  </div>
  <div class="pagination J_page">

  </div>
</div>
{{/if}}

<div class="J_sku-tab-con-item sku-tab-con-item" style="{{if type==2 || dataType === 2}}display: block;{{/if}}">
  <textarea class="J_sku-textarea" placeholder="请输入{{label}}，多个输入时以英文逗号隔开。{{if dataType === 3}}支持未开始、进行中的拼购ID查询{{/if}}"></textarea>
  <div class="sku-textarea-bottom">
    <span class="J_sku-nums sku-nums">已输入<i>4</i>个</span>
    <span class="J_sku-error-msg sku-error-msg">存在<i>2</i>个出错的{{label}}未添加成功，请修改后再添加</span>
    <span class="J_empty-textarea empty-textarea">清空</span>
    <button class="cd-middle-black-border-btn J_add-sku">添加</button>
  </div>
  
  {{if dataType === 2}}
  <p class="sku-port-tip">如需提报及参与松果秒杀，请前往<a href="//conecli.com/shop/index.html#/channel/seckill/158001" target="_blank">商家后台</a>或<a href="//conecli.com/brandActivity/index" target="_blank">ERP提报后台</a>。</p>
  {{/if}}
</div>
</div>
<div class="sku-con-right">
    <div class="J_select-con"></div>
    <div class="skus-delete-overlay J_skus-delete-overlay">
        <p>确定要清空全部已添加的商品吗?</p>
        <div>
          <button class="cd-middle-black-border-btn J_cancel-delete-skus">取消</button>
          <button class="cd-middle-red-btn J_do-delete-skus">确定</button>
        </div>
    </div>
</div>
<span class="local-save J_local-save">
  <i></i>
</span>

