tmrxyo.html 1.55 KB
<form id="edit-form" class="form-horizontal col-sm-12" role="form" data-toggle="validator" method="POST" action="">
  {:token()}


  <div class="table-responsive">
    <table id="table" class="table table-striped table-bordered table-hover table-nowrap">
      <thead>
      <td></td>
      <th>{:__('商品名称')}</th>
      <th>{:__('单位')}</th>
      <th>{:__('规格型号')}</th>
      <th>{:__('合同数量')}</th>
      <th>{:__('本次出仓数量')}</th>
      <th>{:__('剩余未采购数量')}</th>
      <th>{:__('单价')}</th>
      <th>{:__('实际型号')}</th>
      </thead>
      <tbody>

      {volist name="row" id="vo" key="k"}
      <tr>
        <td></td>
        <td>{$vo.productName}</td>
        <td>{$vo.unit}</td>
        <td>{$vo.markingModel}</td>
        <td>{$vo.qty}</td>
        <input  type="hidden" name="row[goods_id][]" value="{$vo.productID}" />
        <td><input  name="row[nums][]" value="0" /></td>
        <td>{$vo.surplus}</td>
        <td>{$vo.unitPrice} <input class="hide" name="row[unitPrice][]" value="{$vo.unitPrice}"/></td>
        <td>{$vo.dwxh}</td>

      </tr>
      {/volist}


      </tbody>
    </table>
  </div>







  <div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
      <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
      <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
    </div>
  </div>
</form>