
@{
    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">
            <form id="toolbar">
                <div class="form-inline" style="line-height:40px;">
                    <div class="form-group">
                        <input id="chk_showdetail" type="checkbox" checked="checked" /><label for="chk_showdetail">是否可看明细</label>
                        <select id="timetype" class="form-control" style="width:120px;">
                            <option value="1">按日的方式</option>
                            <option value="2">按周的方式</option>
                            <option value="3">按月的方式</option>
                            <option value="4">按年的方式</option>
                        </select>
                        <label>日期</label>
                        <input id="day" type="text" style="width:120px" value="@DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd")" class="form-control">
                        <label>付款主体</label>
                        <select id="sel_paycompany" class="form-control" style="width:200px;">
                            <option value="0">百伦供应链</option>
                            @*<option value="1">广州百伦科技有限公司</option>
            <option value="2" selected>香港百伦科技有限公司</option>*@
                        </select>
                        <button type="button" class="btn btn-sm btn-primary" onclick="GetData();"><i class="fa fa-search"></i>&nbsp;查询</button>
                        <button type="button" class="btn btn-sm btn-success" onclick="ExportXsl();">导出</button>
                    </div>
                </div>
            </form>
        </div>
        <div class="ibox-content m-b-sm border-bottom">
            <div class="contain">
                <div class="contain-row" style="width:100%;">
                    <div class="item-col" style="width:8%;border:solid 1px #eee;height:34px;line-height:34px;">统计大项</div>
                    <div class="item-col" style="width:8%;border:solid 1px #eee;border-left-width:0px;height:34px;line-height:34px;">统计项</div>
                    <div style="width:84%;">
                        <div class="item-row" style="width:100%;border-top:solid 1px #eee;">
                            <div style="width:11.5%;">数值</div>
                            <div style="width:11.5%;" id="c0">2019-03-12</div>
                            <div style="width:11.5%;" id="c1">2019-03-13</div>
                            <div style="width:11.5%;" id="c2">2019-03-14</div>
                            <div style="width:11.5%;" id="c3">2019-03-15</div>
                            <div style="width:11.5%;" id="c4">2019-03-16</div>
                            <div style="width:11.5%;" id="c5">2019-03-17</div>
                            <div style="width:11.5%;" id="c6">2019-03-18</div>
                            <div style="width:8%;">操作</div>
                        </div>
                    </div>
                </div>
                <div class="contain-row" style="width:100%;">
                    <div style="width:8%;" class="second-row">
                        <div id="zc" class="item-col" style="width:100%;border-left:solid 1px #eee;border-right:solid 1px #eee;height:132px;line-height:132px;border-bottom:solid 1px #eee;">资产</div>
                        <div class="item-col" style="width:100%;border-left:solid 1px #eee;border-right:solid 1px #eee;border-bottom:solid 1px #eee;height:33px;">&nbsp;</div>
                        <div id="fz" class="item-col" style="width:100%;border-left:solid 1px #eee;border-right:solid 1px #eee;border-bottom:solid 1px #eee;height:264px;line-height:264px;" title="负债和所有者权益">负债和所有者权益</div>
                    </div>
                    <div style="width:8%;" class="second-row" >
                        <div id="ldzc" class="item-col zc" style="width:100%;border-bottom:solid 1px #eee;height:33px;line-height:33px;">流动资产</div>
                        <div id="fldzc" class="item-col zc" style="width:100%;border-bottom:solid 1px #eee;height:33px;line-height:33px;">非流动资产</div>
                        <div class="item-col zc" style="width:100%;border-bottom:solid 1px #eee;height:33px;">&nbsp;</div>
                        <div class="item-col zc" style="width:100%;border-bottom:solid 1px #eee;height:33px;line-height:33px;">资产合计</div>
                        <div class="item-col" style="width:100%;border-bottom:solid 1px #eee;height:33px;">&nbsp;</div>
                        <div id="ldfz" class="item-col fz" style="width:100%;border-bottom:solid 1px #eee;height:33px;line-height:33px;">流动负债</div>
                        <div id="fldfz" class="item-col fz" style="width:100%;border-bottom:solid 1px #eee;height:33px;line-height:33px;">非流动负债</div>
                        <div class="item-col fz" style="width:100%;border-bottom:solid 1px #eee;height:33px;">&nbsp;</div>
                        <div class="item-col fz" style="width:100%;border-bottom:solid 1px #eee;height:33px;line-height:33px;">负债合计</div>
                        <div class="item-col fz" style="width:100%;border-bottom:solid 1px #eee;height:33px;">&nbsp;</div>
                        <div id="syzqy" class="item-col fz" style="width:100%;border-bottom:solid 1px #eee;height:33px;line-height:33px;">所有者权益(或股东权益)</div>
                        <div class="item-col fz" style="width:100%;border-bottom:solid 1px #eee;height:33px;">&nbsp;</div>
                        <div class="item-col fz" style="width:100%;border-bottom:solid 1px #eee;height:33px;line-height:33px;">负债和所有者权益（或股东权益）总计</div>
                    </div>
                    <div style="width:84%;">
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">货币资金</div>
                            <div style="width:11.5%;" class="monetary_fund">0</div>
                            <div style="width:11.5%;" class="monetary_fund">0</div>
                            <div style="width:11.5%;" class="monetary_fund">0</div>
                            <div style="width:11.5%;" class="monetary_fund">0</div>
                            <div style="width:11.5%;" class="monetary_fund">0</div>
                            <div style="width:11.5%;" class="monetary_fund">0</div>
                            <div style="width:11.5%;">
                                <input id="monetary_fund txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">

                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">1.平台提现在途</div>
                            <div style="width:11.5%;" class="withdraw_amount">0</div>
                            <div style="width:11.5%;" class="withdraw_amount">0</div>
                            <div style="width:11.5%;" class="withdraw_amount">0</div>
                            <div style="width:11.5%;" class="withdraw_amount">0</div>
                            <div style="width:11.5%;" class="withdraw_amount">0</div>
                            <div style="width:11.5%;" class="withdraw_amount">0</div>
                            <div style="width:11.5%;">
                                <input id="withdraw_amount txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">

                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">2.第三方平台余额</div>
                            <div style="width:11.5%;" class="platform_balance">0</div>
                            <div style="width:11.5%;" class="platform_balance">0</div>
                            <div style="width:11.5%;" class="platform_balance">0</div>
                            <div style="width:11.5%;" class="platform_balance">0</div>
                            <div style="width:11.5%;" class="platform_balance">0</div>
                            <div style="width:11.5%;" class="platform_balance">0</div>
                            <div style="width:11.5%;">
                                <input id="platform_balance txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">

                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">3.银行帐号余额</div>
                            <div style="width:11.5%;" class="bank_account_balance">0</div>
                            <div style="width:11.5%;" class="bank_account_balance">0</div>
                            <div style="width:11.5%;" class="bank_account_balance">0</div>
                            <div style="width:11.5%;" class="bank_account_balance">0</div>
                            <div style="width:11.5%;" class="bank_account_balance">0</div>
                            <div style="width:11.5%;" class="bank_account_balance">0</div>
                            <div style="width:11.5%;">
                                <input id="bank_account_balance txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">

                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">交易性金融资金</div>
                            <div style="width:11.5%;" class="fa_trading_finan_asset">0</div>
                            <div style="width:11.5%;" class="fa_trading_finan_asset">0</div>
                            <div style="width:11.5%;" class="fa_trading_finan_asset">0</div>
                            <div style="width:11.5%;" class="fa_trading_finan_asset">0</div>
                            <div style="width:11.5%;" class="fa_trading_finan_asset">0</div>
                            <div style="width:11.5%;" class="fa_trading_finan_asset">0</div>
                            <div style="width:11.5%;">
                                <input id="fa_trading_finan_asset" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">
                                <button class="btn btn-xs btn-primary" onclick="UpdateData('fa_trading_finan_asset');">更新</button>
                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">应收票据</div>
                            <div style="width:11.5%;" class="fa_bill_receivable">0</div>
                            <div style="width:11.5%;" class="fa_bill_receivable">0</div>
                            <div style="width:11.5%;" class="fa_bill_receivable">0</div>
                            <div style="width:11.5%;" class="fa_bill_receivable">0</div>
                            <div style="width:11.5%;" class="fa_bill_receivable">0</div>
                            <div style="width:11.5%;" class="fa_bill_receivable">0</div>
                            <div style="width:11.5%;">
                                <input id="fa_bill_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">
                                <button class="btn btn-xs btn-primary" onclick="UpdateData('fa_bill_receivable');">更新</button>
                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">应收账款</div>
                            <div style="width:11.5%;" class="accounts_receivable">0</div>
                            <div style="width:11.5%;" class="accounts_receivable">0</div>
                            <div style="width:11.5%;" class="accounts_receivable">0</div>
                            <div style="width:11.5%;" class="accounts_receivable">0</div>
                            <div style="width:11.5%;" class="accounts_receivable">0</div>
                            <div style="width:11.5%;" class="accounts_receivable">0</div>
                            <div style="width:11.5%;">
                                <input id="accounts_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">
                                <button class="btn btn-xs btn-primary" onclick="UpdateData('accounts_receivable');">更新</button>
                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">预付款项</div>
                            <div style="width:11.5%;" class="prepayment">0</div>
                            <div style="width:11.5%;" class="prepayment">0</div>
                            <div style="width:11.5%;" class="prepayment">0</div>
                            <div style="width:11.5%;" class="prepayment">0</div>
                            <div style="width:11.5%;" class="prepayment">0</div>
                            <div style="width:11.5%;" class="prepayment">0</div>
                            <div style="width:11.5%;">
                                <input id="prepayment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">

                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">1.预付成品供应商</div>
                            <div style="width:11.5%;" class="finished_prepayment">0</div>
                            <div style="width:11.5%;" class="finished_prepayment">0</div>
                            <div style="width:11.5%;" class="finished_prepayment">0</div>
                            <div style="width:11.5%;" class="finished_prepayment">0</div>
                            <div style="width:11.5%;" class="finished_prepayment">0</div>
                            <div style="width:11.5%;" class="finished_prepayment">0</div>
                            <div style="width:11.5%;">
                                <input id="finished_prepayment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">

                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">2.预付半成品供应商</div>
                            <div style="width:11.5%;" class="semi_prepayment">0</div>
                            <div style="width:11.5%;" class="semi_prepayment">0</div>
                            <div style="width:11.5%;" class="semi_prepayment">0</div>
                            <div style="width:11.5%;" class="semi_prepayment">0</div>
                            <div style="width:11.5%;" class="semi_prepayment">0</div>
                            <div style="width:11.5%;" class="semi_prepayment">0</div>
                            <div style="width:11.5%;">
                                <input id="semi_prepayment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">

                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">3.预付物流供应商</div>
                            <div style="width:11.5%;" class="logistics_prepayment">0</div>
                            <div style="width:11.5%;" class="logistics_prepayment">0</div>
                            <div style="width:11.5%;" class="logistics_prepayment">0</div>
                            <div style="width:11.5%;" class="logistics_prepayment">0</div>
                            <div style="width:11.5%;" class="logistics_prepayment">0</div>
                            <div style="width:11.5%;" class="logistics_prepayment">0</div>
                            <div style="width:11.5%;">
                                <input id="logistics_prepayment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">

                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">应收利息</div>
                            <div style="width:11.5%;" class="fa_interest_receivable">0</div>
                            <div style="width:11.5%;" class="fa_interest_receivable">0</div>
                            <div style="width:11.5%;" class="fa_interest_receivable">0</div>
                            <div style="width:11.5%;" class="fa_interest_receivable">0</div>
                            <div style="width:11.5%;" class="fa_interest_receivable">0</div>
                            <div style="width:11.5%;" class="fa_interest_receivable">0</div>
                            <div style="width:11.5%;">
                                <input id="fa_interest_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">
                                <button class="btn btn-xs btn-primary" onclick="UpdateData('fa_interest_receivable');">更新</button>
                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">应收股利</div>
                            <div style="width:11.5%;" class="fa_dividends_receivable">0</div>
                            <div style="width:11.5%;" class="fa_dividends_receivable">0</div>
                            <div style="width:11.5%;" class="fa_dividends_receivable">0</div>
                            <div style="width:11.5%;" class="fa_dividends_receivable">0</div>
                            <div style="width:11.5%;" class="fa_dividends_receivable">0</div>
                            <div style="width:11.5%;" class="fa_dividends_receivable">0</div>
                            <div style="width:11.5%;">
                                <input id="fa_dividends_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">
                                <button class="btn btn-xs btn-primary" onclick="UpdateData('fa_dividends_receivable');">更新</button>
                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">其他应收款</div>
                            <div style="width:11.5%;" class="other_accounts_receivable">0</div>
                            <div style="width:11.5%;" class="other_accounts_receivable">0</div>
                            <div style="width:11.5%;" class="other_accounts_receivable">0</div>
                            <div style="width:11.5%;" class="other_accounts_receivable">0</div>
                            <div style="width:11.5%;" class="other_accounts_receivable">0</div>
                            <div style="width:11.5%;" class="other_accounts_receivable">0</div>
                            <div style="width:11.5%;">
                                <input id="other_accounts_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">

                            </div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">存货</div>
                            <div style="width:11.5%;" class="inventory_amount">0</div>
                            <div style="width:11.5%;" class="inventory_amount">0</div>
                            <div style="width:11.5%;" class="inventory_amount">0</div>
                            <div style="width:11.5%;" class="inventory_amount">0</div>
                            <div style="width:11.5%;" class="inventory_amount">0</div>
                            <div style="width:11.5%;" class="inventory_amount">0</div>
                            <div style="width:11.5%;">
                                <input id="inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">1.存货FBA仓在库</div>
                            <div style="width:11.5%;" class="fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="fba_inventory_amount">0</div>
                            <div style="width:11.5%;">
                                <input id="fba_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">2.存货非FBA仓在库</div>
                            <div style="width:11.5%;" class="not_fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_inventory_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_inventory_amount">0</div>
                            <div style="width:11.5%;">
                                <input id="inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">3.存货FBA仓在途</div>
                            <div style="width:11.5%;" class="fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="fba_transfer_amount">0</div>
                            <div style="width:11.5%;">
                                <input id="fba_transfer_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">4.存货非FBA仓在途</div>
                            <div style="width:11.5%;" class="not_fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_transfer_amount">0</div>
                            <div style="width:11.5%;" class="not_fba_transfer_amount">0</div>
                            <div style="width:11.5%;">
                                <input id="not_fba_transfer_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">5.存货半成品在库</div>
                            <div style="width:11.5%;" class="semi_inventory_amount">0</div>
                            <div style="width:11.5%;" class="semi_inventory_amount">0</div>
                            <div style="width:11.5%;" class="semi_inventory_amount">0</div>
                            <div style="width:11.5%;" class="semi_inventory_amount">0</div>
                            <div style="width:11.5%;" class="semi_inventory_amount">0</div>
                            <div style="width:11.5%;" class="semi_inventory_amount">0</div>
                            <div style="width:11.5%;">
                                <input id="semi_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;display:none;">
                            <div style="width:11.5%;color:#bbb;">6.存货半成品在途</div>
                            <div style="width:11.5%;" class="semi_transfer_amount">0</div>
                            <div style="width:11.5%;" class="semi_transfer_amount">0</div>
                            <div style="width:11.5%;" class="semi_transfer_amount">0</div>
                            <div style="width:11.5%;" class="semi_transfer_amount">0</div>
                            <div style="width:11.5%;" class="semi_transfer_amount">0</div>
                            <div style="width:11.5%;" class="semi_transfer_amount">0</div>
                            <div style="width:11.5%;">
                                <input id="semi_transfer_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">一年内到期的非流动资产</div>
                            <div style="width:11.5%;" class="fa_oneyear_noncurrent_assets">0</div>
                            <div style="width:11.5%;" class="fa_oneyear_noncurrent_assets">0</div>
                            <div style="width:11.5%;" class="fa_oneyear_noncurrent_assets">0</div>
                            <div style="width:11.5%;" class="fa_oneyear_noncurrent_assets">0</div>
                            <div style="width:11.5%;" class="fa_oneyear_noncurrent_assets">0</div>
                            <div style="width:11.5%;" class="fa_oneyear_noncurrent_assets">0</div>
                            <div style="width:11.5%;">
                                <input id="fa_oneyear_noncurrent_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('fa_oneyear_noncurrent_assets');">更新</a></div>
                        </div>
                        <div class="item-row fa fa1" style="width:100%;">
                            <div style="width:11.5%;">其他流动资产</div>
                            <div style="width:11.5%;" class="fa_other_assets">0</div>
                            <div style="width:11.5%;" class="fa_other_assets">0</div>
                            <div style="width:11.5%;" class="fa_other_assets">0</div>
                            <div style="width:11.5%;" class="fa_other_assets">0</div>
                            <div style="width:11.5%;" class="fa_other_assets">0</div>
                            <div style="width:11.5%;" class="fa_other_assets">0</div>
                            <div style="width:11.5%;">
                                <input id="fa_other_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('fa_other_assets');">更新</a></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;font-weight:bold;" onclick="showitem('fa1', this,759,'ldzc');">
                                流动资产合计
                                <img src="@Url.Content("~/img/downicon.png")" style="width:10px;position:absolute;float:right;margin-top:10px;right:5px;" />
                            </div>
                            <div style="width:11.5%;" class="fa_count">0</div>
                            <div style="width:11.5%;" class="fa_count">0</div>
                            <div style="width:11.5%;" class="fa_count">0</div>
                            <div style="width:11.5%;" class="fa_count">0</div>
                            <div style="width:11.5%;" class="fa_count">0</div>
                            <div style="width:11.5%;" class="fa_count">0</div>
                            <div style="width:11.5%;">
                                <input id="fa_count" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">可供出售金融资产</div>
                            <div style="width:11.5%;" class="nca_avai_for_sale_fassets">0</div>
                            <div style="width:11.5%;" class="nca_avai_for_sale_fassets">0</div>
                            <div style="width:11.5%;" class="nca_avai_for_sale_fassets">0</div>
                            <div style="width:11.5%;" class="nca_avai_for_sale_fassets">0</div>
                            <div style="width:11.5%;" class="nca_avai_for_sale_fassets">0</div>
                            <div style="width:11.5%;" class="nca_avai_for_sale_fassets">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_avai_for_sale_fassets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_avai_for_sale_fassets');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">持有至到期投资</div>
                            <div style="width:11.5%;" class="nca_heldon_investment">0</div>
                            <div style="width:11.5%;" class="nca_heldon_investment">0</div>
                            <div style="width:11.5%;" class="nca_heldon_investment">0</div>
                            <div style="width:11.5%;" class="nca_heldon_investment">0</div>
                            <div style="width:11.5%;" class="nca_heldon_investment">0</div>
                            <div style="width:11.5%;" class="nca_heldon_investment">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_heldon_investment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_heldon_investment');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">长期应收款</div>
                            <div style="width:11.5%;" class="nca_longterm_receivable">0</div>
                            <div style="width:11.5%;" class="nca_longterm_receivable">0</div>
                            <div style="width:11.5%;" class="nca_longterm_receivable">0</div>
                            <div style="width:11.5%;" class="nca_longterm_receivable">0</div>
                            <div style="width:11.5%;" class="nca_longterm_receivable">0</div>
                            <div style="width:11.5%;" class="nca_longterm_receivable">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_longterm_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_longterm_receivable');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">长期股权投资</div>
                            <div style="width:11.5%;" class="nca_longterm_equity_investment">0</div>
                            <div style="width:11.5%;" class="nca_longterm_equity_investment">0</div>
                            <div style="width:11.5%;" class="nca_longterm_equity_investment">0</div>
                            <div style="width:11.5%;" class="nca_longterm_equity_investment">0</div>
                            <div style="width:11.5%;" class="nca_longterm_equity_investment">0</div>
                            <div style="width:11.5%;" class="nca_longterm_equity_investment">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_longterm_equity_investment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_longterm_equity_investment');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">投资性房地产</div>
                            <div style="width:11.5%;" class="nca_investment_property">0</div>
                            <div style="width:11.5%;" class="nca_investment_property">0</div>
                            <div style="width:11.5%;" class="nca_investment_property">0</div>
                            <div style="width:11.5%;" class="nca_investment_property">0</div>
                            <div style="width:11.5%;" class="nca_investment_property">0</div>
                            <div style="width:11.5%;" class="nca_investment_property">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_investment_property" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_investment_property');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">固定资产</div>
                            <div style="width:11.5%;" class="fixed_assets">0</div>
                            <div style="width:11.5%;" class="fixed_assets">0</div>
                            <div style="width:11.5%;" class="fixed_assets">0</div>
                            <div style="width:11.5%;" class="fixed_assets">0</div>
                            <div style="width:11.5%;" class="fixed_assets">0</div>
                            <div style="width:11.5%;" class="fixed_assets">0</div>
                            <div style="width:11.5%;">
                                <input id="fixed_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">在建工程</div>
                            <div style="width:11.5%;" class="nca_construction_in_process">0</div>
                            <div style="width:11.5%;" class="nca_construction_in_process">0</div>
                            <div style="width:11.5%;" class="nca_construction_in_process">0</div>
                            <div style="width:11.5%;" class="nca_construction_in_process">0</div>
                            <div style="width:11.5%;" class="nca_construction_in_process">0</div>
                            <div style="width:11.5%;" class="nca_construction_in_process">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_construction_in_process" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_construction_in_process');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">工程物资</div>
                            <div style="width:11.5%;" class="nca_engineering_material">0</div>
                            <div style="width:11.5%;" class="nca_engineering_material">0</div>
                            <div style="width:11.5%;" class="nca_engineering_material">0</div>
                            <div style="width:11.5%;" class="nca_engineering_material">0</div>
                            <div style="width:11.5%;" class="nca_engineering_material">0</div>
                            <div style="width:11.5%;" class="nca_engineering_material">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_engineering_material" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_engineering_material');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">固定资产清理</div>
                            <div style="width:11.5%;" class="nca_disposal_of_fixed_assets">0</div>
                            <div style="width:11.5%;" class="nca_disposal_of_fixed_assets">0</div>
                            <div style="width:11.5%;" class="nca_disposal_of_fixed_assets">0</div>
                            <div style="width:11.5%;" class="nca_disposal_of_fixed_assets">0</div>
                            <div style="width:11.5%;" class="nca_disposal_of_fixed_assets">0</div>
                            <div style="width:11.5%;" class="nca_disposal_of_fixed_assets">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_disposal_of_fixed_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_disposal_of_fixed_assets');">更新</a></div>
                        </div>

                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">生产性生物资产</div>
                            <div style="width:11.5%;" class="nca_productive_biological_asset">0</div>
                            <div style="width:11.5%;" class="nca_productive_biological_asset">0</div>
                            <div style="width:11.5%;" class="nca_productive_biological_asset">0</div>
                            <div style="width:11.5%;" class="nca_productive_biological_asset">0</div>
                            <div style="width:11.5%;" class="nca_productive_biological_asset">0</div>
                            <div style="width:11.5%;" class="nca_productive_biological_asset">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_productive_biological_asset" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_productive_biological_asset');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">油气资产</div>
                            <div style="width:11.5%;" class="nca_oil_and_gas_assets">0</div>
                            <div style="width:11.5%;" class="nca_oil_and_gas_assets">0</div>
                            <div style="width:11.5%;" class="nca_oil_and_gas_assets">0</div>
                            <div style="width:11.5%;" class="nca_oil_and_gas_assets">0</div>
                            <div style="width:11.5%;" class="nca_oil_and_gas_assets">0</div>
                            <div style="width:11.5%;" class="nca_oil_and_gas_assets">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_oil_and_gas_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_oil_and_gas_assets');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">无形资产</div>
                            <div style="width:11.5%;" class="nca_intangible_assets">0</div>
                            <div style="width:11.5%;" class="nca_intangible_assets">0</div>
                            <div style="width:11.5%;" class="nca_intangible_assets">0</div>
                            <div style="width:11.5%;" class="nca_intangible_assets">0</div>
                            <div style="width:11.5%;" class="nca_intangible_assets">0</div>
                            <div style="width:11.5%;" class="nca_intangible_assets">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_intangible_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_intangible_assets');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">开发支出</div>
                            <div style="width:11.5%;" class="nca_development_expenditure">0</div>
                            <div style="width:11.5%;" class="nca_development_expenditure">0</div>
                            <div style="width:11.5%;" class="nca_development_expenditure">0</div>
                            <div style="width:11.5%;" class="nca_development_expenditure">0</div>
                            <div style="width:11.5%;" class="nca_development_expenditure">0</div>
                            <div style="width:11.5%;" class="nca_development_expenditure">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_development_expenditure" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_development_expenditure');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">商誉</div>
                            <div style="width:11.5%;" class="nca_goodwill">0</div>
                            <div style="width:11.5%;" class="nca_goodwill">0</div>
                            <div style="width:11.5%;" class="nca_goodwill">0</div>
                            <div style="width:11.5%;" class="nca_goodwill">0</div>
                            <div style="width:11.5%;" class="nca_goodwill">0</div>
                            <div style="width:11.5%;" class="nca_goodwill">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_goodwill" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_goodwill');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">长期待摊费用</div>
                            <div style="width:11.5%;" class="nca_longterm_unamortized_expenses">0</div>
                            <div style="width:11.5%;" class="nca_longterm_unamortized_expenses">0</div>
                            <div style="width:11.5%;" class="nca_longterm_unamortized_expenses">0</div>
                            <div style="width:11.5%;" class="nca_longterm_unamortized_expenses">0</div>
                            <div style="width:11.5%;" class="nca_longterm_unamortized_expenses">0</div>
                            <div style="width:11.5%;" class="nca_longterm_unamortized_expenses">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_longterm_unamortized_expenses" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_longterm_unamortized_expenses');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">递延所得税资产</div>
                            <div style="width:11.5%;" class="nca_deferred_tax_assets">0</div>
                            <div style="width:11.5%;" class="nca_deferred_tax_assets">0</div>
                            <div style="width:11.5%;" class="nca_deferred_tax_assets">0</div>
                            <div style="width:11.5%;" class="nca_deferred_tax_assets">0</div>
                            <div style="width:11.5%;" class="nca_deferred_tax_assets">0</div>
                            <div style="width:11.5%;" class="nca_deferred_tax_assets">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_deferred_tax_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_deferred_tax_assets');">更新</a></div>
                        </div>
                        <div class="item-row fa fa2" style="width:100%;">
                            <div style="width:11.5%;">其他非流动资产</div>
                            <div style="width:11.5%;" class="nca_other_assets">0</div>
                            <div style="width:11.5%;" class="nca_other_assets">0</div>
                            <div style="width:11.5%;" class="nca_other_assets">0</div>
                            <div style="width:11.5%;" class="nca_other_assets">0</div>
                            <div style="width:11.5%;" class="nca_other_assets">0</div>
                            <div style="width:11.5%;" class="nca_other_assets">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_other_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_other_assets');">更新</a></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;font-weight:bold;" onclick="showitem('fa2', this,627,'fldzc');">
                                非流动资产合计
                                <img src="@Url.Content("~/img/downicon.png")" style="width:10px;position:absolute;float:right;margin-top:10px;right:5px;" />
                            </div>
                            <div style="width:11.5%;" class="nca_count">0</div>
                            <div style="width:11.5%;" class="nca_count">0</div>
                            <div style="width:11.5%;" class="nca_count">0</div>
                            <div style="width:11.5%;" class="nca_count">0</div>
                            <div style="width:11.5%;" class="nca_count">0</div>
                            <div style="width:11.5%;" class="nca_count">0</div>
                            <div style="width:11.5%;">
                                <input id="nca_count" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">@*<a class="btn btn-primary btn-xs" onclick="UpdateData('nca_count');">更新</a>*@</div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;">

                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;">资产总计</div>
                            <div style="width:11.5%;" class="count_assets">0</div>
                            <div style="width:11.5%;" class="count_assets">0</div>
                            <div style="width:11.5%;" class="count_assets">0</div>
                            <div style="width:11.5%;" class="count_assets">0</div>
                            <div style="width:11.5%;" class="count_assets">0</div>
                            <div style="width:11.5%;" class="count_assets">0</div>
                            <div style="width:11.5%;">
                                <input id="count_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;">

                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">短期借款</div>
                            <div style="width:11.5%;" class="short_term_borrow">0</div>
                            <div style="width:11.5%;" class="short_term_borrow">0</div>
                            <div style="width:11.5%;" class="short_term_borrow">0</div>
                            <div style="width:11.5%;" class="short_term_borrow">0</div>
                            <div style="width:11.5%;" class="short_term_borrow">0</div>
                            <div style="width:11.5%;" class="short_term_borrow">0</div>
                            <div style="width:11.5%;">
                                <input id="short_term_borrow" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">交易性金融负债</div>
                            <div style="width:11.5%;" class="cl_trading_financ_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_trading_financ_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_trading_financ_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_trading_financ_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_trading_financ_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_trading_financ_liabilities">0</div>
                            <div style="width:11.5%;">
                                <input id="cl_trading_financ_liabilities" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('cl_trading_financ_liabilities');">更新</a></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">应付票据</div>
                            <div style="width:11.5%;" class="cl_notes_payable">0</div>
                            <div style="width:11.5%;" class="cl_notes_payable">0</div>
                            <div style="width:11.5%;" class="cl_notes_payable">0</div>
                            <div style="width:11.5%;" class="cl_notes_payable">0</div>
                            <div style="width:11.5%;" class="cl_notes_payable">0</div>
                            <div style="width:11.5%;" class="cl_notes_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="cl_notes_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('cl_notes_payable');">更新</a></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">应付账款</div>
                            <div style="width:11.5%;" class="accounts_payable">0</div>
                            <div style="width:11.5%;" class="accounts_payable">0</div>
                            <div style="width:11.5%;" class="accounts_payable">0</div>
                            <div style="width:11.5%;" class="accounts_payable">0</div>
                            <div style="width:11.5%;" class="accounts_payable">0</div>
                            <div style="width:11.5%;" class="accounts_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="accounts_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">1.成品供应商</div>
                            <div style="width:11.5%;" class="finished_accounts_payable">0</div>
                            <div style="width:11.5%;" class="finished_accounts_payable">0</div>
                            <div style="width:11.5%;" class="finished_accounts_payable">0</div>
                            <div style="width:11.5%;" class="finished_accounts_payable">0</div>
                            <div style="width:11.5%;" class="finished_accounts_payable">0</div>
                            <div style="width:11.5%;" class="finished_accounts_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="finished_accounts_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">2.应付半成品供应商</div>
                            <div style="width:11.5%;" class="semi_accounts_payable">0</div>
                            <div style="width:11.5%;" class="semi_accounts_payable">0</div>
                            <div style="width:11.5%;" class="semi_accounts_payable">0</div>
                            <div style="width:11.5%;" class="semi_accounts_payable">0</div>
                            <div style="width:11.5%;" class="semi_accounts_payable">0</div>
                            <div style="width:11.5%;" class="semi_accounts_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="semi_accounts_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;color:#bbb;">3.应付物流供应商</div>
                            <div style="width:11.5%;" class="logistics_accounts_payable">0</div>
                            <div style="width:11.5%;" class="logistics_accounts_payable">0</div>
                            <div style="width:11.5%;" class="logistics_accounts_payable">0</div>
                            <div style="width:11.5%;" class="logistics_accounts_payable">0</div>
                            <div style="width:11.5%;" class="logistics_accounts_payable">0</div>
                            <div style="width:11.5%;" class="logistics_accounts_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="logistics_accounts_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">预收款项</div>
                            <div style="width:11.5%;" class="advance_received">0</div>
                            <div style="width:11.5%;" class="advance_received">0</div>
                            <div style="width:11.5%;" class="advance_received">0</div>
                            <div style="width:11.5%;" class="advance_received">0</div>
                            <div style="width:11.5%;" class="advance_received">0</div>
                            <div style="width:11.5%;" class="advance_received">0</div>
                            <div style="width:11.5%;">
                                <input id="advance_received" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">应付职工薪酬</div>
                            <div style="width:11.5%;" class="payable_remuneration">0</div>
                            <div style="width:11.5%;" class="payable_remuneration">0</div>
                            <div style="width:11.5%;" class="payable_remuneration">0</div>
                            <div style="width:11.5%;" class="payable_remuneration">0</div>
                            <div style="width:11.5%;" class="payable_remuneration">0</div>
                            <div style="width:11.5%;" class="payable_remuneration">0</div>
                            <div style="width:11.5%;">
                                <input id="payable_remuneration" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('payable_remuneration');">更新</a></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">应交税费</div>
                            <div style="width:11.5%;" class="taxes_payable">0</div>
                            <div style="width:11.5%;" class="taxes_payable">0</div>
                            <div style="width:11.5%;" class="taxes_payable">0</div>
                            <div style="width:11.5%;" class="taxes_payable">0</div>
                            <div style="width:11.5%;" class="taxes_payable">0</div>
                            <div style="width:11.5%;" class="taxes_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="taxes_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('taxes_payable');">更新</a></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">应付利息</div>
                            <div style="width:11.5%;" class="cl_payable_interest">0</div>
                            <div style="width:11.5%;" class="cl_payable_interest">0</div>
                            <div style="width:11.5%;" class="cl_payable_interest">0</div>
                            <div style="width:11.5%;" class="cl_payable_interest">0</div>
                            <div style="width:11.5%;" class="cl_payable_interest">0</div>
                            <div style="width:11.5%;" class="cl_payable_interest">0</div>
                            <div style="width:11.5%;">
                                <input id="cl_payable_interest" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('cl_payable_interest');">更新</a></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">应付股利</div>
                            <div style="width:11.5%;" class="cl_dividends_payable">0</div>
                            <div style="width:11.5%;" class="cl_dividends_payable">0</div>
                            <div style="width:11.5%;" class="cl_dividends_payable">0</div>
                            <div style="width:11.5%;" class="cl_dividends_payable">0</div>
                            <div style="width:11.5%;" class="cl_dividends_payable">0</div>
                            <div style="width:11.5%;" class="cl_dividends_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="cl_dividends_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('cl_dividends_payable');">更新</a></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">其他应付款</div>
                            <div style="width:11.5%;" class="other_accounts_payable">0</div>
                            <div style="width:11.5%;" class="other_accounts_payable">0</div>
                            <div style="width:11.5%;" class="other_accounts_payable">0</div>
                            <div style="width:11.5%;" class="other_accounts_payable">0</div>
                            <div style="width:11.5%;" class="other_accounts_payable">0</div>
                            <div style="width:11.5%;" class="other_accounts_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="other_accounts_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('other_accounts_payable');">更新</a></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">一年内到期的非流动负债</div>
                            <div style="width:11.5%;" class="cl_oneyear_noncurrent_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_oneyear_noncurrent_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_oneyear_noncurrent_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_oneyear_noncurrent_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_oneyear_noncurrent_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_oneyear_noncurrent_liabilities">0</div>
                            <div style="width:11.5%;">
                                <input id="cl_oneyear_noncurrent_liabilities" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('cl_oneyear_noncurrent_liabilities');">更新</a></div>
                        </div>
                        <div class="item-row cl cl1" style="width:100%;">
                            <div style="width:11.5%;">其他流动负债</div>
                            <div style="width:11.5%;" class="cl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="cl_other_liabilities">0</div>
                            <div style="width:11.5%;">
                                <input id="cl_other_liabilities" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('cl_other_liabilities');">更新</a></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;font-weight:bold;" onclick="showitem('cl1', this,528,'ldfz');">
                                流动负债合计
                                <img src="@Url.Content("~/img/downicon.png")" style="width:10px;position:absolute;float:right;margin-top:10px;right:5px;" />
                            </div>
                            <div style="width:11.5%;" class="cl_count">0</div>
                            <div style="width:11.5%;" class="cl_count">0</div>
                            <div style="width:11.5%;" class="cl_count">0</div>
                            <div style="width:11.5%;" class="cl_count">0</div>
                            <div style="width:11.5%;" class="cl_count">0</div>
                            <div style="width:11.5%;" class="cl_count">0</div>
                            <div style="width:11.5%;">
                                <input id="cl_count" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row cl cl2" style="width:100%;">
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:8%;"></div>
                        </div>


                        <div class="item-row cl cl2" style="width:100%;">
                            <div style="width:11.5%;">长期借款</div>
                            <div style="width:11.5%;" class="ncl_longterm_loan">0</div>
                            <div style="width:11.5%;" class="ncl_longterm_loan">0</div>
                            <div style="width:11.5%;" class="ncl_longterm_loan">0</div>
                            <div style="width:11.5%;" class="ncl_longterm_loan">0</div>
                            <div style="width:11.5%;" class="ncl_longterm_loan">0</div>
                            <div style="width:11.5%;" class="ncl_longterm_loan">0</div>
                            <div style="width:11.5%;">
                                <input id="ncl_longterm_loan" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('ncl_longterm_loan');">更新</a></div>
                        </div>
                        <div class="item-row cl cl2" style="width:100%;">
                            <div style="width:11.5%;">应付债券</div>
                            <div style="width:11.5%;" class="ncl_bonds_payable">0</div>
                            <div style="width:11.5%;" class="ncl_bonds_payable">0</div>
                            <div style="width:11.5%;" class="ncl_bonds_payable">0</div>
                            <div style="width:11.5%;" class="ncl_bonds_payable">0</div>
                            <div style="width:11.5%;" class="ncl_bonds_payable">0</div>
                            <div style="width:11.5%;" class="ncl_bonds_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="ncl_bonds_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('ncl_bonds_payable');">更新</a></div>
                        </div>
                        <div class="item-row cl cl2" style="width:100%;">
                            <div style="width:11.5%;">长期应付款</div>
                            <div style="width:11.5%;" class="long_term_accounts_payable">0</div>
                            <div style="width:11.5%;" class="long_term_accounts_payable">0</div>
                            <div style="width:11.5%;" class="long_term_accounts_payable">0</div>
                            <div style="width:11.5%;" class="long_term_accounts_payable">0</div>
                            <div style="width:11.5%;" class="long_term_accounts_payable">0</div>
                            <div style="width:11.5%;" class="long_term_accounts_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="long_term_accounts_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('long_term_accounts_payable');">更新</a></div>
                        </div>
                        <div class="item-row cl cl2" style="width:100%;">
                            <div style="width:11.5%;">专项应付款</div>
                            <div style="width:11.5%;" class="ncl_special_payable">0</div>
                            <div style="width:11.5%;" class="ncl_special_payable">0</div>
                            <div style="width:11.5%;" class="ncl_special_payable">0</div>
                            <div style="width:11.5%;" class="ncl_special_payable">0</div>
                            <div style="width:11.5%;" class="ncl_special_payable">0</div>
                            <div style="width:11.5%;" class="ncl_special_payable">0</div>
                            <div style="width:11.5%;">
                                <input id="ncl_special_payable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('ncl_special_payable');">更新</a></div>
                        </div>
                        <div class="item-row cl cl2" style="width:100%;">
                            <div style="width:11.5%;">预计负债</div>
                            <div style="width:11.5%;" class="ncl_anticipation_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_anticipation_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_anticipation_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_anticipation_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_anticipation_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_anticipation_liabilities">0</div>
                            <div style="width:11.5%;">
                                <input id="ncl_anticipation_liabilities" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('ncl_anticipation_liabilities');">更新</a></div>
                        </div>
                        <div class="item-row cl cl2" style="width:100%;">
                            <div style="width:11.5%;">递延所得税负债</div>
                            <div style="width:11.5%;" class="ncl_deferred_income_tax_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_deferred_income_tax_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_deferred_income_tax_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_deferred_income_tax_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_deferred_income_tax_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_deferred_income_tax_liabilities">0</div>
                            <div style="width:11.5%;">
                                <input id="ncl_deferred_income_tax_liabilities" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('ncl_deferred_income_tax_liabilities');">更新</a></div>
                        </div>
                        <div class="item-row cl cl2" style="width:100%;">
                            <div style="width:11.5%;">其他非流动负债</div>
                            <div style="width:11.5%;" class="ncl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_other_liabilities">0</div>
                            <div style="width:11.5%;" class="ncl_other_liabilities">0</div>
                            <div style="width:11.5%;">
                                <input id="ncl_other_liabilities" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('ncl_other_liabilities');">更新</a></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;font-weight:bold;" onclick="showitem('cl2', this,297,'fldfz');">
                                非流动负债合计
                                <img src="@Url.Content("~/img/downicon.png")" style="width:10px;position:absolute;float:right;margin-top:10px;right:5px;" />
                            </div>
                            <div style="width:11.5%;" class="ncl_count">0</div>
                            <div style="width:11.5%;" class="ncl_count">0</div>
                            <div style="width:11.5%;" class="ncl_count">0</div>
                            <div style="width:11.5%;" class="ncl_count">0</div>
                            <div style="width:11.5%;" class="ncl_count">0</div>
                            <div style="width:11.5%;" class="ncl_count">0</div>
                            <div style="width:11.5%;">
                                <input id="ncl_count" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">@*<a class="btn btn-primary btn-xs" onclick="UpdateData('ncl_count');">更新</a>*@</div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;">负债合计</div>
                            <div style="width:11.5%;" class="count_liabilities">0</div>
                            <div style="width:11.5%;" class="count_liabilities">0</div>
                            <div style="width:11.5%;" class="count_liabilities">0</div>
                            <div style="width:11.5%;" class="count_liabilities">0</div>
                            <div style="width:11.5%;" class="count_liabilities">0</div>
                            <div style="width:11.5%;" class="count_liabilities">0</div>
                            <div style="width:11.5%;">
                                <input id="count_liabilities" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:8%;"></div>
                        </div>

                        <div class="item-row oe oe1" style="width:100%;">
                            <div style="width:11.5%;">实收资本（或股本）</div>
                            <div style="width:11.5%;" class="oe_paicl_up_capital">0</div>
                            <div style="width:11.5%;" class="oe_paicl_up_capital">0</div>
                            <div style="width:11.5%;" class="oe_paicl_up_capital">0</div>
                            <div style="width:11.5%;" class="oe_paicl_up_capital">0</div>
                            <div style="width:11.5%;" class="oe_paicl_up_capital">0</div>
                            <div style="width:11.5%;" class="oe_paicl_up_capital">0</div>
                            <div style="width:11.5%;">
                                <input id="oe_paicl_up_capital" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('oe_paicl_up_capital');">更新</a></div>
                        </div>

                        <div class="item-row oe oe1" style="width:100%;">
                            <div style="width:11.5%;">资本公积</div>
                            <div style="width:11.5%;" class="oe_capital_reserve">0</div>
                            <div style="width:11.5%;" class="oe_capital_reserve">0</div>
                            <div style="width:11.5%;" class="oe_capital_reserve">0</div>
                            <div style="width:11.5%;" class="oe_capital_reserve">0</div>
                            <div style="width:11.5%;" class="oe_capital_reserve">0</div>
                            <div style="width:11.5%;" class="oe_capital_reserve">0</div>
                            <div style="width:11.5%;">
                                <input id="oe_capital_reserve" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('oe_capital_reserve');">更新</a></div>
                        </div>
                        <div class="item-row oe oe1" style="width:100%;">
                            <div style="width:11.5%;">减：库存股</div>
                            <div style="width:11.5%;" class="oe_inventory_amount">0</div>
                            <div style="width:11.5%;" class="oe_inventory_amount">0</div>
                            <div style="width:11.5%;" class="oe_inventory_amount">0</div>
                            <div style="width:11.5%;" class="oe_inventory_amount">0</div>
                            <div style="width:11.5%;" class="oe_inventory_amount">0</div>
                            <div style="width:11.5%;" class="oe_inventory_amount">0</div>
                            <div style="width:11.5%;">
                                <input id="oe_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('oe_inventory_amount');">更新</a></div>
                        </div>
                        <div class="item-row oe oe1" style="width:100%;">
                            <div style="width:11.5%;">盈余公积</div>
                            <div style="width:11.5%;" class="oe_surplus_public_accumulation">0</div>
                            <div style="width:11.5%;" class="oe_surplus_public_accumulation">0</div>
                            <div style="width:11.5%;" class="oe_surplus_public_accumulation">0</div>
                            <div style="width:11.5%;" class="oe_surplus_public_accumulation">0</div>
                            <div style="width:11.5%;" class="oe_surplus_public_accumulation">0</div>
                            <div style="width:11.5%;" class="oe_surplus_public_accumulation">0</div>
                            <div style="width:11.5%;">
                                <input id="oe_surplus_public_accumulation" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('oe_surplus_public_accumulation');">更新</a></div>
                        </div>
                        <div class="item-row oe oe1" style="width:100%;">
                            <div style="width:11.5%;">未分配利润</div>
                            <div style="width:11.5%;" class="oe_undistributed_profit">0</div>
                            <div style="width:11.5%;" class="oe_undistributed_profit">0</div>
                            <div style="width:11.5%;" class="oe_undistributed_profit">0</div>
                            <div style="width:11.5%;" class="oe_undistributed_profit">0</div>
                            <div style="width:11.5%;" class="oe_undistributed_profit">0</div>
                            <div style="width:11.5%;" class="oe_undistributed_profit">0</div>
                            <div style="width:11.5%;">
                                <input id="oe_undistributed_profit" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('oe_undistributed_profit');">更新</a></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;font-weight:bold;" onclick="showitem('oe1', this,196,'syzqy');" title="所有者权益（或股东权益）合计">
                                所有者权益（或股东权益）合计
                                <img src="@Url.Content("~/img/downicon.png")" style="width:10px;position:absolute;float:right;margin-top:10px;right:5px;" />
                            </div>
                            <div style="width:11.5%;" class="oe_count">0</div>
                            <div style="width:11.5%;" class="oe_count">0</div>
                            <div style="width:11.5%;" class="oe_count">0</div>
                            <div style="width:11.5%;" class="oe_count">0</div>
                            <div style="width:11.5%;" class="oe_count">0</div>
                            <div style="width:11.5%;" class="oe_count">0</div>
                            <div style="width:11.5%;">
                                <input id="oe_count" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">@*<a class="btn btn-primary btn-xs" onclick="UpdateData('oe_count');">更新</a>*@</div>
                        </div>
                        <div class="item-row oe" style="width:100%;">
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:11.5%;"></div>
                            <div style="width:8%;"></div>
                        </div>
                        <div class="item-row" style="width:100%;">
                            <div style="width:11.5%;" title="负债和所有者权益（或股东权益）总计">负债和所有者权益（或股东权益）总计</div>
                            <div style="width:11.5%;" class="count_liabilities_and_oe">0</div>
                            <div style="width:11.5%;" class="count_liabilities_and_oe">0</div>
                            <div style="width:11.5%;" class="count_liabilities_and_oe">0</div>
                            <div style="width:11.5%;" class="count_liabilities_and_oe">0</div>
                            <div style="width:11.5%;" class="count_liabilities_and_oe">0</div>
                            <div style="width:11.5%;" class="count_liabilities_and_oe">0</div>
                            <div style="width:11.5%;">
                                <input id="count_liabilities_and_oe" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
                            </div>
                            <div style="width:8%;">@*<a class="btn btn-primary btn-xs" onclick="UpdateData('count_liabilities_and_oe');">更新</a>*@</div>
                        </div>
                    </div>
                </div>
            </div>
            <div style="clear:both"></div>
        </div>
    </div>
</div>

@section css{
    <style>
        .contain div {
            position: relative;
            float: left;
            text-align: center;
        }

        .item-row{border-bottom:solid 1px #eee;border-right:solid 1px #eee;}
        .item-row:hover{background-color:#eee;}
        .item-row div{cursor:pointer;}
        .item-col, .item-row div {
            /*margin: -1px;
            border: solid 1px #eee;
            border-right-width: 0px;*/
            height: 32px;
            line-height: 32px;
            border-right:solid 1px #eee;

            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .second-row div{border-left-width:0px;}
    </style>
}

@section scripts{
    <script src="@Url.Content("~/css/select2/select2.min.js")"></script>
    <script src="@Url.Content("~/css/chosen_v1.6.2/chosen.jquery.min.js")"></script>
    <script type="text/javascript">
        var tb;
        $(document).ready(function () {
            //计算表格高度
            var height = document.body.clientHeight;
            $("#roletable").attr("data-height", (height - 149));
            laydate.render({ elem: '#day' });
            init();
            //list();

        })

        function init() {

            //异步加载条件的数据
            //syncListData();

            $(".item-row div").click(function () {
                if ($('#chk_showdetail').is(":checked")) {
                    ShowDetail(this);
                }
            })

            $('.fa1').hide();
            $('.fa2').hide();
            $('.cl1').hide();
            $('.cl2').hide();
            $('.oe1').hide();

            GetData();

        }

        function GetData() {
            var type = $('#timetype').val();
            var day = $('#day').val();
            var paycompany = $('#sel_paycompany').val();

            if (type == '') {
                alert('请选择类型');
                return false;
            }

            if (day == '') {
                alert('请选择日期');
                return false;
            }

            if (paycompany == '') {
                alert('请选择付款主体');
                return false;
            }


            $.ajax({
                url: '@Url.Content("~/Reports/Finance/IndexJson")',
                type: "POST",
                data: 'type=' + type + '&day=' + day + '&paycompanyvalue=' + paycompany,
                success: function (result) {
                    if (result.success) {
                        var list = result.data;

                        var obj = list[list.length - 1];
                        var day = obj.statistical_time.replace('T', ' ').replace('00:00:00', '');
                        $('#c6').html(day);
                        for (var key in obj) {
                            $('#' + key).val(obj[key]);
                        }

                        for (var i = 0; i < list.length - 1; i++) {
                            var obj = list[i];
                            var day = obj.statistical_time.replace('T', ' ').replace('00:00:00', '');
                            $('#c' + (i)).html(day);
                            for (var key in obj) {
                                $('.' + key).each(function (j) {
                                    if (j == i) {
                                        $(this).attr('title', day);
                                        $(this).html(numFormat(obj[key]));
                                    }
                                });
                            }

                        }
                    }
                    else {
                        alert(result.msg);
                    }
                }
            })
        }

    function UpdateData(c) {
        var val = $('#' + c).val();
        if (val == '') {
            alert('请填写正确的数字。');
            return false;
        }

        var id = $('#id').val();
        if (id == ''||id=='0') {
            alert('id不能为0。');
            return false;
        }

        $.ajax({
            url: '@Url.Content("~/FinanceReport/FHome/BalanceSheet")',
            type: "POST",
            data: 'id=' + id + '&c=' + c + '&val=' + val,
            success: function (result) {
                if (result.result.success) {
                    alert('更新成功！');
                }
                else {
                    alert(result.result.msg);
                }
            }
        })

    }

        function ShowDetail(d) {
            var c = $(d).attr('class');
            var title = $(d).attr('title');
            var paycompany = $('#sel_paycompany').val();
            switch (c) {
                case 'monetary_fund':
                    showdetail(title + ' 货币资金明细', '@Url.Content("~/Reports/Finance/MonetaryFund?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'inventory_amount':
                    showdetail(title + ' 存货明细', '@Url.Content("~/Reports/Finance/InventoryBalanceCount?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'short_term_borrow':
                    showdetail(title + ' 短期借款明细', '@Url.Content("~/Reports/Finance/ShortBorrow?date=")' + title + '&paycompanyid=' + paycompany); //ShortBorrow
                    return false;
                case 'prepayment':
                    showdetail(title + ' 预付帐款明细', '@Url.Content("~/Reports/Finance/PrePayCount?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'accounts_payable':
                    showdetail(title + ' 应付帐款明细', '@Url.Content("~/Reports/Finance/CopeWithCount?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'other_accounts_receivable':
                    showdetail(title + ' 其他应收款明细', '@Url.Content("~/Reports/Finance/OtherReceivable?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'other_accounts_payable':
                    showdetail(title + ' 其他应付款明细', '@Url.Content("~/Reports/Finance/OtherPayable?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'fixed_assets':
                    showdetail(title + ' 固定资产明细', '@Url.Content("~/Reports/Finance/ListFixedAssets?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;

                case 'withdraw_amount':
                    showdetail(title + ' 平台提现在途明细', '@Url.Content("~/Reports/Finance/WithDrawOnWay?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'platform_balance':
                    showdetail(title + ' 第三方平台余额明细', '@Url.Content("~/Reports/Finance/PlatformBalance?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'bank_account_balance':
                    showdetail(title + ' 主体银行明细', '@Url.Content("~/Reports/Finance/BankBalance?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'finished_prepayment':
                    showdetail(title + ' 成品供应商预付款', '@Url.Content("~/Reports/Finance/PrePay?finish=1&date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'semi_prepayment':
                    showdetail(title + ' 半成品供应商预付款', '@Url.Content("~/Reports/Finance/PrePay?finish=0&date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'logistics_prepayment':
                    showdetail(title + ' 物流供应商预付款', '@Url.Content("~/Reports/Finance/PrePayLogistics?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'fba_inventory_amount':
                    showdetail(title + ' FBA仓在库明细', '@Url.Content("~/Reports/Finance/InventoryBalance?t=0&date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'not_fba_inventory_amount':
                    showdetail(title + ' 非FBA在库明细', '@Url.Content("~/Reports/Finance/InventoryBalance?t=1&date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'fba_transfer_amount':
                    showdetail(title + ' FBA仓在途明细', '@Url.Content("~/Reports/Finance/InventoryBalance?t=3&date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'not_fba_transfer_amount':
                    showdetail(title + ' 非FBA在途明细', '@Url.Content("~/Reports/Finance/InventoryBalance?t=4&date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'semi_inventory_amount':
                    showdetail(title + ' 半成品在库明细', '@Url.Content("~/Reports/Finance/SemiFinishStock?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'finished_accounts_payable':
                    showdetail(title + ' 成品供应商应付款', '@Url.Content("~/Reports/Finance/CopeWith?finish=1&date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'semi_accounts_payable':
                    showdetail(title + ' 半成品供应商应付款', '@Url.Content("~/Reports/Finance/CopeWith?finish=0&date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'logistics_accounts_payable':
                    showdetail(title + ' 物流供应商应付款', '@Url.Content("~/Reports/Finance/CopeWithLogistics?date=")' + title + '&paycompanyid=' + paycompany);
                    return false;
                case 'semi_transfer_amount':
                    showdetail(title + '半成品在途明细', '@Url.Content("~/Reports/Finance/SemiTransferStock?date=")' + title + '&paycompanyid=' + paycompany);
            }

            return false;
        }

        function showdetail(title,url)
        {
            layer_show(title,url, '90%','90%');
        }

        function numFormat(num) {
            var res = num.toString().replace(/\d+/, function (n) { // 先提取整数部分
                return n.replace(/(\d)(?=(\d{3})+$)/g, function ($1) {
                    return $1 + ",";
                });
            })
            return res;
        }

        function showitem(c, data, h,i) {
            var t = $(data).attr('val');
            if (t != 1) {
                $(data).attr('val', 1);
                $('.' + c).show();

                $('#' + i).css('height', h + 'px').css('line-height', h + 'px');

                $(data).find('img').attr('src', '@Url.Content("~/img/upicon.png")');

            }
            else {
                $(data).attr('val', 0);
                $('.' + c).hide();

                $('#' + i).css('height', '33px').css('line-height', '33px');
                $(data).find('img').attr('src', '@Url.Content("~/img/downicon.png")');
            }

            var zch = 0,fzh=0;
            $('.zc').each(function () {
                zch += parseInt($(this).height());
            })

            $('.fz').each(function () {
                fzh += parseInt($(this).height());
            })

            $('#zc').css('height', (zch+4) + 'px').css('line-height', (zch+4) + 'px');
            $('#fz').css('height', (fzh + 8) + 'px').css('line-height', (fzh + 8) + 'px');
            
        }

        function ExportXsl() {
            var type = $('#timetype').val();
            var day = $('#day').val();
            var paycompany = $('#sel_paycompany').val();

            window.open('@Url.Content("~/Reports/Finance/ExportIndex?")' + 'type=' + type + '&day=' + day + '&paycompanyvalue=' + paycompany, '_blank');
        }

    </script>
}



