<!-- body -->
<div class="container contents af245x" style="width:1260px;">
  <!-- header menu
  ================================================== -->
  <div class="bs-docs-section clearfix">
    <form id="headerTop" class="header form-horizontal  {$noeventClassHeader}">
        <div class="col wp-100" style="height:38px"></div> {*メニュー分あける*}
      <div class="col wp-100 well header">

        <div class="col wp-100">
          <div class="col wd-800 date">
            <label class="control-label wd-060 in-required" >作業日</label>
            <input name="sdat" type="text" class="form-control input-sm item wd-date sdat datepicker clear keycd" maxlength="10" value="{$header.sdat}"/>
            <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
            <div class="col wd-020 center">～</div>
            <input name="edat" type="text" class="form-control input-sm item wd-date edat datepicker clear" maxlength="10" value="{$header.edat}"/>
            <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
          </div> 
        </div>
        <div class="col wp-100 mcdGrp janGrp">
          <div class="col wp-100">
            <label class="control-label wd-060 ">仕入先</label>
            <input name="mcd" type="text" class="form-control input-sm item wd-S mcd eventmcd popMcd clear" maxlength="7" value="{$header.mcd}">
            <input type="button" class="col popbtn cmdMcd" tabindex="-1" value="?"/>
            <input name="mnm" type="text" class="form-control input-sm item wd-L mnm clear" readonly value="{$header.mnm}"/>
            <div class="col wd-040 ">&nbsp;</div>
            <label class="control-label wd-040 poplabel ">JAN</label>
            <input name="jan" type="text" class="form-control input-sm item wd-jan jan inpjan eventjan popJan clear" data-stpflg="1" maxlength="13" value="{$header.jan}">
            <input type="button" class="col popbtn cmdJan" tabindex="-1" value="?"/>
            <input name="vjan" type="text" class="form-control input-sm item wd-vjan vjan clear" readonly value="{$header.vjan}"/>
            <input name="gdjnm" type="text" class="form-control input-sm item wd-M gdjnm clear " readonly value="{$header.gdjnm}"/>
            <input name="gdjstnd" type="text" class="form-control input-sm item wd-M gdjstnd clear " readonly value="{$header.gdjstnd}"/>
            <input name="ijan" type="hidden" class="form-control input-sm item wd-jan ijan clear" readonly value="{$header.ijan}"/>
          </div>
        </div>
        
        <div class="col wp-100 ktktcdGrp">
          <label class="control-label wd-060 ">倉庫</label>
          <input name="spktcd" type="text" class="form-control input-sm item wd-SS spktcd ktktcd eventktktcd popKtktcd clear" data-ktcls="1" maxlength="2" value="{$header.spktcd}">
          <input type="button" class="col popbtn cmdKtktcd" tabindex="-1" value="?"/>
          <input name="ktktnm" type="text" class="form-control input-sm item wd-L ktktnm clear" readonly value="{$header.spktnm}"/>
          <div class="col " style="width:45px;">&nbsp;</div>
          <label class="control-label wd-070 ">伝票番号</label>
          <input name="vseq" type="text" class="form-control input-sm item wd-100 vseq clear" maxlength="12" value="{$header.vseq}">
        </div>

        <input id="pagecnt" name="pagecnt" type="hidden" class="form-control input-sm item wd-SS pagecnt clear number" readonly value="{$header.pagecnt}">
        <input id="lastpage" name="lastpage" type="hidden" class="form-control input-sm item wd-SS lastpage clear number" readonly value="{$header.lastpage}">
        <input name="sdday" type="hidden" class="sdday" value="{$header.sdday}">
      </div>
      
    </form>
  </div>

  <!-- 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">
          <div class="col wp-100 detailHeader">
            <div class="col wp-100">
              <label class="control-label wd-date">作業日</label>
              <label class="control-label wd-S">仕入先</label>
              <label class="control-label wd-L"></label>
              <div class="col " style="width:5px;">&nbsp;</div>
              <label class="control-label wd-120">JAN</label>
              <div class="col wd-SS">&nbsp;</div>
              <div class="col " style="width:3px;">&nbsp;</div>
              <label class="control-label wd-L">品名</label>
              <div class="col " style="width:10px;">&nbsp;</div>
              <label class="control-label wd-SS">倉庫</label>
              <label class="control-label wd-L"></label>
            </div>  
            <div class="col wp-100">
              <div class="col wd-date">&nbsp;</div>
              <label class="control-label wd-100">伝票番号</label>
              <label class="control-label wd-040 number">行</label>
              <div class="col " style="width:330px;">&nbsp;</div>
              <div class="col wd-SS">&nbsp;</div>
              <label class="control-label wd-L">規格</label>
              <div class="col " style="width:217px;">&nbsp;</div>
              <label class="control-label wd-number text-right">返品数</label>
            </div>
          </div>
        </div>


        <div id="detail" class="col wp-100 x_scroll detailArea">
          <hr>
          <!-- ↑↑↑*** rows ***↑↑↑ -->
        </div>
        <hr>
        <div class="col wp-100 footer">
          <div class="col wd-300 right">
            <div class="col " style="width:80px;">&nbsp;</div>
            <label class="control-label wd-080" > 返品数合計</label>
            <input type="text" class="form-control item input-sm wd-number number ttlpno clear " readonly value="{$header.ttlpno|number_format}" />
          </div>
        </div>
        
      </div>
    </form>
  </div>

  <!-- footer
  ================================================== -->

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

</div>
