<!-- body -->
<div class="container contents af226x1" 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 ">
          <label class="control-label wd-050 poplabel">得意先</label>
          <input name="cucd" type="text" class="form-control input-sm item wd-S cucd " readonly value="{$header.p_cucd}">
          <input name="cunm" type="text" class="form-control input-sm item wd-L cunm clear " readonly value="{$header.cunm}"/>
          <div class="col wd-SS">&nbsp;</div>
          <label class="control-label wd-060 poplabel">店舗</label>
          <input name="cuscd" type="text" class="form-control input-sm item wd-S cuscd " readonly value="{$header.p_cuscd}">
          <input name="spnm" type="text" class="form-control input-sm item wd-L spnm clear " readonly value="{$header.spnm}"/>
          <div class="col wd-SS">&nbsp;</div>
          <label class="control-label wd-030" >区分</label>
          <input name="tclsnm" type="text" class="form-control input-sm item wd-S tclsnm " readonly value="{$header.tclsnm}">
          <input name="tcls" type="hidden" class="tcls " reanonly value="{$header.p_tcls}">
        </div>
        <div class="col wp-100">
          <label class="control-label wd-050" >納品日</label>
          <input name="dat2" type="text" class="form-control input-sm item wd-date dat2 " readonly value="{$header.p_dat2}"/>
          <div class="col wd-SS">&nbsp;</div>
          <label class="control-label wd-050" >計上日</label>
          <input name="adat" type="text" class="form-control input-sm item wd-date adat " readonly value="{$header.p_adat}"/>
          <div class="col wd-120">&nbsp;</div>
          <label class="control-label wd-060 ">伝票番号</label>
          <input name="vseq" type="text" class="form-control input-sm item wd-120 vseq " readonly value="{$header.p_vseq}"/>
          <input name="viseq" type="hidden" class="viseq " readonly value="{$header.p_viseq}"/>
          <div class="col wd-SS">&nbsp;</div>
          <label class="control-label wd-060 ">出庫倉庫</label>
          <input name="spktcd" type="text" class="form-control input-sm item wd-SS spktcd " readonly value="{$header.p_spktcd}"/>
          <input name="spktnm" type="text" class="form-control input-sm item wd-M spktnm " readonly value="{$header.spktnm}"/>
          <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" style="height:18px;">
              <label class="control-label wd-kbn">行</label>
              <label class="control-label wd-jan">JAN</label>
              <label class="control-label wd-kbn">&nbsp;</label>
              <label class="control-label wd-LL">品名</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 class="col wp-100" style="height:18px;">
              <label class="control-label wd-kbn">&nbsp;</label>
              <label class="control-label wd-jan">&nbsp;</label>
              <label class="control-label wd-kbn">&nbsp;</label>
              <label class="control-label wd-LL">規格</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 class="col wp-100 footer">
          <div class="col wp-100">
            <label class="control-label wd-kbn">&nbsp;</label>
            <label class="control-label wd-jan">&nbsp;</label>
            <label class="control-label wd-kbn">&nbsp;</label>
            <label class="control-label wd-040" >登録</label>
            <input type="text" class="form-control item input-sm wd-M " readonly value="{$header.chgnm}" />
            <input type="text" class="form-control item input-sm wd-130 " readonly value="{$header.idat}" />
            <div class="col" style="width:160px;">&nbsp;</div>
            <label class="control-label wd-090" >仕入原価金額</label>
            <input type="text" class="form-control item input-sm wd-number number clear " readonly value="{$header.tamt2|number_format}" />
          </div>
          <div class="col wp-100">
            <label class="control-label wd-kbn">&nbsp;</label>
            <label class="control-label wd-jan">&nbsp;</label>
            <label class="control-label wd-kbn">&nbsp;</label>
            <label class="control-label wd-040" > 更新</label>
            <input type="text" class="form-control item input-sm wd-M " readonly value="{$header.upchgnm}" />
            <input type="text" class="form-control item input-sm wd-130 " readonly value="{$header.udat}" />
            <div class="col" style="width:160px;">&nbsp;</div>
            <label class="control-label wd-090" >売上金額</label>
            <input type="text" class="form-control item input-sm wd-number number clear " readonly value="{$header.tamt|number_format}" />
          </div>
        </div>

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

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

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

</div>
