1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- {extend name="common/common2" /}
- {block name="main"}
- <style>
- .form-group {
- padding: 10px 0px;
- }
- </style>
- <div class="row" xmlns="http://www.w3.org/1999/html">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>资产领用详情</h5>
- <div class="ibox-tools">
- <a class="toback" href="{:url('index')}">
- 返回上一页
- </a>
- </div>
- </div>
- <div class="ibox-content">
- <div class="form-group">
- <label class="col-xs-12 control-label">单据编号:{$info['sn']} </label>
- </div>
- <div class="form-group">
- <label class="col-xs-12 control-label">登记时间:{$info['create_time']} </label>
- </div>
- <div class="form-group">
- <label class="col-xs-12 control-label">领用人员:{$info['userName']} </label>
- </div>
- <div class="form-group">
- <label class="col-xs-12 control-label"> 领用部门:{$info['depName']} </label>
- </div>
- <div class="form-group">
- <label class="col-xs-12 control-label"> 存放地点:{$info['address']} </label>
- </div>
- <div class="form-group">
- <label class="col-xs-12 control-label"> 资产用途:{$info['used']} </label>
- </div>
- <div class="form-group">
- <label class="col-sm-12 control-label"> 领用备注:{$info['remark']}</label>
- </div>
- {if !empty($info['items'])}
- <table class="table table-bordered table-striped">
- <tr>
- <th>序号</th>
- <th>资产编号</th>
- <th>资产名称</th>
- <th>规格型号</th>
- <th>单位</th>
- <th>数量</th>
- <th>原值</th>
- <th>购置日期</th>
- </tr>
- {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>
- </table>
- {/if}
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- {/block}
|