123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- {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.agentDepName}
- </div>
- <div class="col-xs-6">
- 经办人: {$info.agentUserName}
- </div>
- <div class="col-xs-6" style="padding-left: 90px">
- 维修费用:{$info.money}
- </div>
- <div class="col-xs-6">
- 送修单位:{$info.company}
- </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.price}</td>
- <td>{$v.userName}</td>
- <td>{$v.depName}</td>
- </tr>
- {/foreach}
- {/if}
- <tr style="text-align: center">
- <td colspan="8">合计: {$info.total}</td>
- </tr>
- <tr>
- <td colspan="3" style="text-align: center;">维修备注</td>
- <td colspan="5"><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 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}
|