@{
    ViewData["Title"] = "库龄明细";
    Layout = "~/Pages/Shared/_MainLayout.cshtml";
    ViewBag.Nav = new string[] { "库存", "库龄信息","库龄计算逻辑" };
}

<div class="row">
    <div class="col-sm-12">
        <div class="ibox-content m-b-sm border-bottom">
            <div style="line-height:40px;">
                <div>@(ViewBag.m.bailun_sku+"-"+ViewBag.m.warehouse_name)</div>
                <div>总库存=@(ViewBag.json.stock)</div>
                <div>库龄=@(ViewBag.d)</div>
                <div>库龄库存=@(ViewBag.json.agecount)</div>
                <div>
                    入库=
                    @("(采购入库："+string.Join("+",ViewBag.json.listpurchase)+")+(调拨入库："+string.Join("+",ViewBag.json.listallot)+ ")="+(ViewBag.json.purchasecount+ViewBag.json.allotcount))
                </div>
            </div>
            
        </div>
    </div>
</div>