<!-- body -->
<div class="container contents af227x3" 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 date">
          <label class="control-label wd-070 in-required" >計上日</label>
          <input name="adats" type="text" class="form-control input-sm item wd-date adats datepicker keycd 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 cucdGrp cuscdGrp wp-100 ">
          <label class="control-label wd-070 ">得意先</label>
          <input name="cucd" type="text" class="form-control input-sm item wd-S cucd eventcucd popCucd  clear" maxlength="7" value="{$header.cucd}">
          <input name="cuscd" type="text" class="form-control input-sm item wd-S cuscd popCuscd clear eventcuscd" 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 scls90Grp wp-100 ">
          <label class="control-label wd-070">ブランド</label>
          <input name="brand" type="text" class="form-control input-sm item wd-S brand scls1 eventscls90 popScls90 clear" data-cls90="7" maxlength="13" value="{$header.brand}">
          <input type="button" class="col popbtn cmdScls1" tabindex="-1" value="?"/>
          <input name="brandnm" type="text" class="form-control input-sm item wd-M brandnm scls90nm clear" readonly value="{$header.brandnm}"/>
          <input type="text" class="dummy" />
          <input name="p_mode" type="hidden" class="p_mode" value="{$header.p_mode}"/>
        </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-L">&nbsp;</label>
              <label class="control-label wd-number text-right">総売上額</label>
              <label class="control-label wd-number text-right">返品額</label>
              <label class="control-label wd-number text-right">返品率</label>
              <label class="control-label wd-number text-right">数量</label>
              <label class="control-label wd-number text-right">純売上金額</label>
              <label class="control-label wd-number text-right">粗利益</label>
              <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 id="FooterArea" class="col wp-100 footer">
          <div class="col wp-100">
            <div class="item" style="width:113px;">&nbsp;</div>
            <label class="control-label wd-L">&nbsp;</label>
            <label class="control-label wd-S" > 合計</label>
            <input name="tamt01" type="text" class="form-control item input-sm wd-number number clear " readonly value="{$header.tamt01|number_format}" />
            <input name="tamt02" type="text" class="form-control item input-sm wd-number number clear " readonly value="{$header.tamt02|number_format}" />
            <input name="trt02" type="text" class="form-control item input-sm wd-number number clear " readonly value="{$header.trt02|number_format:2}" />
            <input name="ttpno" type="text" class="form-control item input-sm wd-number number clear " readonly value="{$header.ttpno|number_format}" />
            <input name="tamt" type="text" class="form-control item input-sm wd-number number clear " readonly value="{$header.tamt|number_format}" />
            <input name="tar" type="text" class="form-control item input-sm wd-number number clear " readonly value="{$header.tar|number_format}" />
            <input name="trtar" type="text" class="form-control item input-sm wd-number number clear " readonly value="{$header.trtar|number_format:2}" />
          </div>
        </div>

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

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

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

</div>
