<!-- body -->
<div class="container contents af251x" 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  header af251x1popup">
        <div class="col wp-100 well header1 ">
          <div class="col wp-100">
            <div class="col">
              <label class="control-label wd-080 poplabel">伝票番号</label>
              <input name="vseq" type="text" class="form-control input-sm item wd-100 vseq popAf251x1 clear keycd" maxlength="11" data-stpflg="2" value="">
              {if $header.modify_mode eq "0"}
              <input type="button" class="co popbtn cmdAf251x1" tabindex="-1" value="?"/>
              {/if}
              <input type="text" class="dummy" />
            </div>
            <div class="right">
              <label class="control-label wd-050 modelbl clear" ></label>
            </div>
          </div>
          <input type="hidden" class="popup-af251x1" value="popup-af251x1" tabindex=-1 /> {*vseq指定で複数伝票(複数ciseq)の選択*}
        </div>

        <div class="col wp-100 header2">

          <div class="col wp-100 ">
            <div class="col ktktcdGrp">
              <label class="control-label wd-080 poplabel in-required">出庫元倉庫</label>
              <input name="spktcd1" type="text" class="form-control input-sm item wd-SS spktcd1 ktktcd eventktktcd popKtktcd clear " maxlength="2" value="">
              <input type="button" class="col popbtn cmdKtktcd" tabindex="-1" value="?"/>
              <input name="spktnm1" type="text" class="form-control input-sm item wd-L spktnm1 ktktnm clear" readonly value=""/>
            </div>
            <div class="col wd-050 center">→</div>
            <div class="col ktktcdGrp">
              <label class="control-label wd-080 poplabel  in-required">出庫先倉庫</label> {*22.05.10 クリアしない*}
              <input name="spktcd2" type="text" class="form-control input-sm item wd-SS spktcd2 ktktcd eventktktcd popKtktcd clear" maxlength="2" value="{$header.spktcd2}"/>
              <input type="button" class="col popbtn cmdKtktcd" tabindex="-1" value="?"/>
              <input name="spktnm2" type="text" class="form-control input-sm item wd-L spktnm2 ktktnm clear" readonly value="{$header.spktnm2}"/>
            </div>
            <div class="col wd-SS">&nbsp;</div>
          </div>
          <div class="col wp-100 date" >
            <label class="control-label wd-080 in-required">納品日</label>
            <input name="climit" type="text" class="form-control input-sm item wd-date climit datepicker required clear" maxlength="10" value="{$header.climit}"/>
            <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
            <div class="col right">
              <label class="control-label wd-040">備考</label>
              <input name="com" type="text" class="form-control input-sm item wd-LL com clear" maxlength="40" value="{$header.com}"/>
            <label class="control-label wd-S"></label>
            </div>
          </div>
        </div>
        <input name="sdday" type="hidden" class="sdday " value="{$header.sdday}" />
        <input name="cuiseq" type="hidden" class="cuiseq clear" value="{$header.cuiseq}" />

        {*変更前*}
        <input name="orgspktcd1" type="hidden" class="orgspktcd1 clear" value="{$header.spktcd1}" />
        <input name="orgspktcd2" type="hidden" class="orgspktcd2 clear" value="{$header.spktcd2}" />
        <input name="orgclimit" type="hidden" class="orgclimit clear" value="{$header.climit}" />
        <input name="orgcom" type="hidden" class="orgcom clear" value="{$header.com}" />

        <input name="modify_mode" type="hidden" class="modify_mode" value="{$header.modify_mode}" /> {*未指示修正可不可 0:可(default), 1:不可*}
        <input name="issue_mode"  type="hidden" class="issue_mode" value="{$header.issue_mode}" />   {*実績作成有無 0:無(default), 1:有*}

        <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"  style="height:18px;">
            <label class="control-label wd-kbn"></label>
            <label class="control-label wd-jan in-required">JAN</label>
            <label class="control-label wd-popbtn"></label>
            <label class="control-label wd-030"></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 in-required">出庫数</label>
            <label class="control-label wd-040 ">削除</label>
          </div>
          <div class="col wp-100"  style="height:18px;">
          <label class="control-label wd-kbn"></label>
          <label class="control-label wd-jan in-required"></label>
          <label class="control-label wd-popbtn"></label>
          <label class="control-label wd-030"></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 in-required"></label>
          <label class="control-label wd-040 "></label>
        </div>
     </div>

        <div id="detail" class="col wp-100 x_scroll detailArea">
          <hr>
    {foreach from=$dataList item=data name=detail}
          <!-- ↓↓↓*** rows ***↓↓↓ -->
          <div class="col wp-100 detail">
          </div>
    {/foreach}
          <!-- ↑↑↑*** rows ***↑↑↑ -->
        </div>
        <hr>
        <div class="col wp-100 detailFooter " >
          <div class="col" style="width:677px;">&nbsp;</div>
          <label class="control-label wd-040">合計</label>
          <input id="sum_mvpno" name="smvpno" type="text" class="form-control input-sm item wd-M smvpno clear number" readonly value=""/>
  <input id="lastDetail" type="text" style="opacity:0;height:0px;width:0px;"/>
  <input type="text" class="dummy" />
          <hr>

          <div class="col wp-100">
            <div class="col wp-100">
              <div class="col" style="width:480px;">&nbsp;</div>
              <label class="control-label wd-040" >登録</label>
              <input id="chgcdnm" name="chgnm" type="text" class="form-control item input-sm wd-M chgcdnm clear " readonly value="{$footer.chgcdnm}" />
              <input id="idat" name="idat" type="text" class="form-control item input-sm wd-M idat clear " readonly value="{$footer.idat}" />
              <label class="control-label wd-040" > </label>
              <label class="control-label wd-040" >更新</label>
              <input id="upchgnm" name="upchgnm" type="text" class="form-control item input-sm wd-M upchgnm clear " readonly value="{$footer.upchgnm}" />
              <input id="udat" name="udat" type="text" class="form-control item input-sm wd-M udat clear " readonly value="{$footer.udat}" />
            </div>
          </div>

        </div>

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

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

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

</div>
