<!-- body -->
<div class="container contents af502x" style="width:1340px;">
  <!-- header menu
  ================================================== -->
  <div class="bs-docs-section clearfix">
    <form class="header form-horizontal">
      <div class="col wp-100 header">
        <div class="col wp-100" style="height:38px"></div> {*メニュー分あける*}
        <div class="col wp-100">
          <div class="col wp-100">
            <label class="control-label wp-100" style="height:10px;"></label>
  <!-- file upload begin -->
            <div class="col" id="js-selectFile">
              <label class="control-label wd-110 in-required">ファイル名</label>
              <!-- 非表示にするボタン -->
              <input id="js-upload" name="tpfile" type="file" class="tpfile clear" accept=".csv" style="display:none" value="">
              <!-- オリジナルボタン -->
              <button class="file_btn">ファイルを選択</button>
              <!-- アイコン -->
              <div class="file_filename">ファイルが選択されていません。</div>
              <input name="sel_filename" class="sel_filename" type="hidden" value=""/>
              <input name="file_name" class="file_name" type="hidden" value=""/>
            </div>
  <!-- file upload end -->
          </div>

          <div class="col wp-100">
            <label class="control-label wd-110 in-required">フォーマット区分</label>
            <select id="cucd_kbn" class="col form-control input-sm wd-select-LL required kbn clear keycd" name="kbn">
              <option value=""></option>
              {foreach from=$listKbn item=select name=select}
                <option value="{$select.cd}" data-cucd="{$select.nm2}" data-cuscd="{$select.nm3}">{$select.cd}:{$select.nm}</option>
              {/foreach}
            </select>
          </div>

          <div class="col wp-100 cucdGrp cuscdGrp">
            <label class="control-label wd-110 poplabel in-required" >得意先</label>
            <input name="cucd" type="text" class="form-control input-sm item wd-S cucd eventcucd popCucd required clear" maxlength="7" value="{$header.cucd}">
            <input name="cuscd" type="text" class="form-control input-sm item wd-S cuscd eventcuscd popCuscd required clear" maxlength="6" value="{$header.cuscd}">
            <input type="button" class="col popbtn cmdCucd" tabindex="-1" value="?"/>
            <input name="cunm" type="text" class="form-control input-sm item wd-L cunm clear" readonly value="{$header.cunm}"/>
            <input name="spnm" type="text" class="form-control input-sm item wd-L spnm clear" readonly value="{$header.spnm}"/>
          </div>

          <div class="col wp-100" style="height:20px;"></div><hr>
          <div class="col wp-100">
            <label class="control-label wd-100">【取込結果】</label>
            <div id="com_file_nm" class="item wd-500"></div>
          </div>
          <div class="col wp-100">
            <div class="col wd-200">
              <div class="col wp-100">
                <label class="control-label wd-080" >対象件数：</label>
                <div class="col wd-050 number lcnt1" style="padding-top:2px;">{$header.lcnt1}</div>
                <div class="col wd-020 center" style="padding-top:2px;">件</div>
              </div>
              <div class="col wp-100">
                <label class="control-label wd-080" >正常：</label>
                <div class="col wd-050 number lcnt2" style="padding-top:2px;">{$header.lcnt2}</div>
                <div class="col wd-020 center" style="padding-top:2px;">件</div>
              </div>
              <div class="col wp-100">
                <label class="control-label wd-080" >エラー：</label>
                <div class="col wd-050 number lcnt4" style="padding-top:2px;">{$header.lcnt4}</div>
                <div class="col wd-020 center" style="padding-top:2px;">件</div>
              </div>
            </div>
            <label class="control-label wp-100" style="height:10px;"></label>
          </div>
        </div>
        <input name="smode" type="hidden" class="smode" value="{$header.smode}"  />
        <input name="wseq" type="hidden" class="wseq" value="{$header.wseq}"  />
        <input name="lcnt1" type="hidden" class="dlcnt1" value="{$header.lcnt1}"  />
        <input name="lcnt2" type="hidden" class="dlcnt2" value="{$header.lcnt2}"  />
        <input name="lcnt3" type="hidden" class="dlcnt3" value="{$header.lcnt3}"  />
        <input name="lcnt4" type="hidden" class="dlcnt4" value="{$header.lcnt4}"  />
        <input name="inpwseq" type="hidden" class="inpwseq" value="{$header.inpwseq}"  />
      </div>

    </form>
  </div>

  <!-- body -->
    <!-- header
    ================================================== -->
    <!-- body
    ================================================== -->
    <!-- body
    ================================================== -->
    <div class="bs-docs-section" >
      <form class="body" >
        <div id="detailTop" class="bs-component col wp-100 {$noeventClassBody}">

          <!-- *** header *** -->
          <div id="detailHeader" class="col wp-100 detailHeader">
            <hr>
            <div class="col wp-100">
              <label class="control-label wd-SS number">行</label>
              <label class="control-label wd-LL">エラーメッセージ</label>
            </div>
          </div>

          <div id="detail" class="col wp-100 x_scroll detailArea">
            <hr>
          </div>
        </div>

      </form>
    </div>
    <!-- body
    ================================================== -->

    <!-- footer
    ================================================== -->
	  <div class="col wp-100" style="height:50px"></div> {*メニュー分あける*}

	  {include file="./funcMenu.tpl"} <!-- Function Menu -->

  </div>
