123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- {extend name="common/common2" /}
- {block name="main"}
- <style>
- .header-title{
- text-align: center;
- }
- .line-box{
- width: 100%;
- height: 1px;
- background-color: #333333;
- margin: 0 auto;
- margin-top: 20px;
- }
- #printer .row{
- margin-top: 20px;
- }
- #printer .col-xs-6{
- font-size: 14px;
- margin: 5px 0px;
- }
- </style>
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content" >
- <div id="printer">
- <h3 class="header-title">资产领用单</h3>
- <div class="line-box"></div>
- <div class="row">
- <div class="col-xs-6" style="padding-left: 90px">
- 单据编号: {$info.sn}
- </div>
- <div class="col-xs-6">
- 登记时间: {$info.create_time}
- </div>
- <div class="col-xs-6" style="padding-left: 90px">
- 领用部门: {$info.depName}
- </div>
- <div class="col-xs-6">
- 领用人员: {$info.userName}
- </div>
- </div>
- <table class="table table-bordered" style="margin-top: 10px">
- <tr>
- <th>序号</th>
- <th>资产编号</th>
- <th>资产名称</th>
- <th>规格型号</th>
- <th>单位</th>
- <th>数量</th>
- <th>原值</th>
- <th>购置日期</th>
- </tr>
- <tbody>
- {if $info['items']}
- {foreach $info['items'] as $k=>$v}
- <tr>
- <td>{$k+1}</td>
- <td>{$v.sn}</td>
- <td>{$v.title}</td>
- <td>{$v.spec}</td>
- <td>{$v.unitName}</td>
- <td>{$v.nums}</td>
- <td>{$v.price}</td>
- <td>{$v.buy_time}</td>
- </tr>
- {/foreach}
- {/if}
- <tr style="text-align: center">
- <td colspan="8">数量合计: {$info.countNums} 原值合计: {$info.total}</td>
- </tr>
- <tr>
- <td colspan="3" rowspan="4" style="text-align: center;">领用备注</td>
- <td colspan="5" rowspan="4"><div style="height: 100px;">{$info.remark}</div></td>
- </tr>
- </tbody>
- </table>
- <div class="row">
- <div class="col-xs-6" style="text-align: center">
- 领用方领导签字:
- </div>
- <div class="col-xs-6" style="text-align: center">
- 领用人员签字:
- </div>
- </div>
- </div>
- <br>
- <div class="form-group" style="text-align: center">
- <a href="javascript:;" class="btn btn-sm btn-primary" onclick="print()"><i class="glyphicon glyphicon-print"> 打印</i></a>
- </div>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script src="/static/bootstrap-multiselect/docs/js/jquery-2.1.3.min.js"></script>
- <script src="/static/browser.js"></script>
- <script src="/static/jquery.jqprint-0.3.js"></script>
- <script>
- function print(){
- $("#printer").jqprint();
- }
- </script>
- {/block}
|