1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <table class="table table-bordered">
- <tr>
- <th>编号</th><td>{$info['sn']}</td>
- </tr>
- <tr>
- <th>申请人</th><td>{$info['userName']}</td>
- </tr>
- <tr>
- <th>申请时间</th><td>{$info['create_time']}</td>
- </tr>
- <tr>
- <th>状态</th><td>
- {if $info['status'] == 0}
- 审核中
- {elseif($info['status'] == 1)}
- 同意
- {elseif($info['status'] == 2)}
- 拒绝
- {/if}
- </td>
- </tr>
- <tr>
- <th>审批人</th><td>{$info['approverName']}</td>
- </tr>
- <tr>
- <th>审批时间</th><td>{$info['approver_time']}</td>
- </tr>
- </table>
- {if !empty($info['goods'])}
- <table class="table table-bordered">
- <tr>
- <th>名称</th>
- <th>规格</th>
- <th>品牌</th>
- <th>单位</th>
- <th>采购数量</th>
- </tr>
- {foreach $info['goods'] as $k=>$v}
- <tr>
- <td>{$v['title']}</td>
- <td>{$v['spec']}</td>
- <td>{$v['brand']}</td>
- <td>{$v['unit']}</td>
- <td>{$v['nums']}</td>
- </tr>
- {/foreach}
- </table>
- {/if}
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- {/block}
|