<#include "../../inc/layout.html">
<@layout title="盘点" js="scm/stockCheck/view.js">
<style>
body{background: #fff;}
.table1 td{padding:2px;}
</style>
<div class="manage-wrapper" ms-controller="ctrl">
    <div class="manage-wrap">
    				<table style="width:100%;" class="table1">
    				<tr>
    					<td width="100px" align="right">仓库：</td>
    					<td width="20%">
    					{{data.depot_name}}
    					</td>
    					<td width="100px" align="right">单据日期：</td>
    					<td width="20%">{{data.bill_date}}</td>
    					<td width="100px;" align="right">单据编号：</td>
    					<td width="20%">{{data.billsn}}</td>
    				</tr>
    				<tr>
    					<td align="right">负责人：</td>
    					<td>{{data.head_name}}</td>
    				</tr>
    				</table>
    		</ul>
    		<br>
    		<table class="table table-hover table-striped table_thead_fixed table-bordered table-condensed" id="prodcutTable">
  				<thead>
  					<tr>
  						<th width="50px">&nbsp;</th>
  						<th>商品</th>
  						<th>单位</th>
  						<th>系统库存</th>
  						<th>实际库存</th>
  						<th>盈亏</th>
  					</tr>
  				</thead>
  				<tbody style="max-height:400px;">
  					<tr ms-repeat="data.productlist">
  						<td width="50px">{{$index+1}}</td>
  						<td>{{el.product_name}}</td>
	          			<td>{{el.unit|custParame}}</td>
  						<td>{{el.amount}}</td>
  						<td>{{el.amount2}}</td>
  						<td>{{el.amount2-el.amount}}</td>
  					</tr>
  				</tbody>
    		</table>
    		<div id="amountArea">
           <p>
			 备注：
           <br>
           {{data.remark}}
           </p>
       </div>
    </div>
</div>
</@layout>