<!-- body -->
<div class="container contents af282x" 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 cucdGrp">
            <label class="control-label wd-070 ">得意先</label>
            <input name="cucd" type="text" class="form-control input-sm item wd-S cucd eventcucd popCucd keycd clear" maxlength="7" value="{$header.cucd}">
            <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}"/>
          </div>
          <div class="col wd-SS">&nbsp;</div>
          <div class="col cucdGrp">
            <label class="control-label wd-070 ">請求管理</label>
            <input name="cumcd2" type="text" class="form-control input-sm item wd-S cucd cumcd2 eventcucd popCucd clear" maxlength="7" value="{$header.cumcd}">
            <input type="button" class="col popbtn cmdCucd" tabindex="-1" value="?"/>
            <input name="cumcd2nm" type="text" class="form-control input-sm item wd-L cumcd2nm cunm clear " readonly value="{$header.cumcd2nm}"/>
          </div>
        </div>

        <div class="col wp-100 date">
          <div class="col ">
            <label class="control-label wd-070 in-required" >計上日</label>
            <input name="adats" type="text" class="form-control input-sm item wd-date adats datepicker clear" maxlength="10" value="{$header.adats}"/>
            <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
            <div class="col wd-020 center">～</div>
            <input name="adate" type="text" class="form-control input-sm item wd-date adate datepicker clear" maxlength="10" value="{$header.adate}"/>
            <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
          </div>
          <div class="col wd-SS">&nbsp;</div>
          <div class="col">
            <label class="control-label wd-120 " >納品日（返品日）</label>
            <input name="dat1s" type="text" class="form-control input-sm item wd-date dat1s datepicker clear" maxlength="10" value="{$header.dat1s}"/>
            <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
            <div class="col wd-020 center">～</div>
            <input name="dat1e" type="text" class="form-control input-sm item wd-date dat1e datepicker clear" maxlength="10" value="{$header.dat1e}"/>
            <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
          </div>
          <input type="text" class="dummy"/>
        </div>

      </div>
      <div class="col wp-100">
        <div class="col wd-180 right" >
          <label class="control-label wd-060">ページ</label>
          <input id="pagecnt" name="pagecnt" type="text" class="form-control input-sm item wd-SS pagecnt clear number" readonly value="{$header.pagecnt}"><div class="item wd-010">/</div><input id="lastpage" name="lastpage" type="text" class="form-control input-sm item wd-SS lastpage clear number" readonly value="{$header.lastpage}">
        </div>
        <hr>
      </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-S">得意先</label>
              <label class="control-label wd-350"></label>
              <label class="control-label wd-120 text-right">売上金額</label>
              <label class="control-label wd-120 text-right">返品金額</label>
              <label class="control-label wd-120 text-right">値引金額</label>
              <label class="control-label wd-120 text-right">入金金額</label>
            </div>
          </div>
        </div>

        <hr>

        <div id="detail" class="col wp-100 x_scroll detailArea">
          <!-- ↑↑↑*** rows ***↑↑↑ -->
        </div>
        <hr>
        <div id="FooterArea" class="col wp-100 footer">
          <div class="col wp-100">
            <div class="col" style="width:407px;">&nbsp;</div>
            <label class="control-label wd-040" > 合計</label>
            <input name="tamt01" type="text" class="form-control item input-sm wd-120 number clear " readonly value="{$header.tamt01|number_format}" />
            <input name="tamt02" type="text" class="form-control item input-sm wd-120 number clear " readonly value="{$header.tamt02|number_format}" />
            <input name="tamt03" type="text" class="form-control item input-sm wd-120 number clear " readonly value="{$header.tamt03|number_format}" />
            <input name="tamt04" type="text" class="form-control item input-sm wd-120 number clear " readonly value="{$header.tamt04|number_format}" />
          </div>
        </div>

      </div>
    </form>
  </div>

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

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

</div>
