<div class="container af212x1 wd-1260 contents" style="display:none">
  <div class="bs-docs-section clearfix">
    <form class="form-horizontal">
    <div class="col wp-100" style="height:38px"></div> {*メニュー分あける*}
      <div class="col wp-100 well header_popaf212x1 header">
        <div class="col wp-100">仕入先、または発注日のどちらかを必須入力してください。</div>
        <div class="col wp-100 ">
          <div class="col wd-500 mcdGrp">
            <label class="control-label wd-080 in-required">仕入先</label>
            <input id="af212x1Mcd" type="text" class="form-control input-sm item wd-S mcd eventmcd popMcd clear" maxlength="7" value="">
            <input type="button" class="col popbtn cmdMcd" tabindex="-1" value="?"/>
            <input id="af212x1Mnm" type="text" class="form-control input-sm item wd-L mnm ktktnm clear " readonly value=""/>
          </div>
           <div class="col wd-350 ktktcdGrp">
            <label class="control-label wd-080 ">倉庫</label>
            <input id="af212x1Spktcd" type="text" class="form-control input-sm item wd-SS spktcd ktktcd eventktktcd popKtktcd " maxlength="2" value="{$header.spktcd}">
            <input type="button" class="col popbtn cmdKtktcd" tabindex="-1" value="?"/>
            <input id="af212x1Spktnm" type="text" class="form-control input-sm item wd-M spktnm ktktnm " readonly value="{$header.spktnm}"/>
            <input id="af212x1Ktcls1" type="hidden" class=" ktcls1 clear" readonly value=""/>
          </div>
        </div>
        <div class="col wp-100 date">
          <label class="control-label wd-080 in-required" >発注日</label>
          <input id="af212x1Dat1s" type="text" class="form-control input-sm item wd-date dat1s datepicker clear" maxlength="10" >
          <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
          <label class="control-label wd-020" >～</label>
          <input id="af212x1Dat1e" type="text" class="form-control input-sm item wd-date dat1e datepicker clear" maxlength="10" >
          <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
          <input id="af212x1Dummy" type="text" class="dummy"/>
        </div>

        <input id="af212x1Mode" type="hidden" class="mode" />
        <input id="af212x1OrgTitle" type="hidden" /> 

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

  <div class="bs-docs-section clearfix">
    <form class="body">
      <div id="af212x1DetailTop" class="bs-component col wp-100">
        <!-- *** header *** -->
        <div id="detailHeader" class="col wp-100 detailHeader">
          <div class="col wp-100">
            <label class="control-label wd-090">発注番号</label>
            <label class="control-label wd-060" style="letter-spacing:-2px;">倉庫コード</label>
            <label class="control-label wd-140">倉庫名</label>
            <label class="control-label wd-date">発注日</label>
            <label class="control-label wd-090">仕入先コード</label>
            <label class="control-label wd-LL">仕入先名</label>
            <label class="control-label wd-100 text-right">仕入金額</label>
          </div>
        </div>
        <hr>

        <!-- *** detail *** -->
        <div id="af212x1Detail" class="col wp-100 x_scroll detailArea">

        </div>

      </div>
      <hr>
      <div class="col wp-100 footer">
        <div class="col wp-100">
          <div class="col" style="width:583px;">&nbsp;</div>
          <label class="control-label wd-060" > 伝票件数</label>
          <input id="af212x1Tvseq" type="text" class="form-control item input-sm wd-number number clear " readonly value="" />
          <div class="col" style="width:050px;">&nbsp;</div>
          <label class="control-label wd-040" > 合計</label>
          <input id="af212x1Tamt" type="text" class="form-control item input-sm wd-number number clear " readonly value="" />
        </div>
      </div>

    </form>
  </div>

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