Commit 12f20539 by guanzhenshan

调整资产负债表

parent 98fccd46
......@@ -1041,6 +1041,7 @@ namespace Bailun.DC.Services
}
}
public string ListPlatformBalance(DateTime start)
{
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString))
......
......@@ -88,7 +88,8 @@
<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" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="monetary_fund_1"></span>
<input id="monetary_fund" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="monetary_fund_1"></span>
</div>
<div style="width:8%;">
......@@ -103,7 +104,8 @@
<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" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="withdraw_amount_1"></span>
<input id="withdraw_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="withdraw_amount_1"></span>
</div>
<div style="width:8%;">
......@@ -118,7 +120,8 @@
<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" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="platform_balance_1"></span>
<input id="platform_balance" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="platform_balance_1"></span>
</div>
<div style="width:8%;">
......@@ -133,7 +136,8 @@
<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" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="bank_account_balance_1"></span>
<input id="bank_account_balance" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="bank_account_balance_1"></span>
</div>
<div style="width:8%;">
......@@ -148,7 +152,8 @@
<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;" /><span id="fa_trading_finan_asset_1"></span>
<input id="fa_trading_finan_asset" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fa_trading_finan_asset_1"></span>
</div>
<div style="width:8%;">
<button class="btn btn-xs btn-primary" onclick="UpdateData('fa_trading_finan_asset');">更新</button>
......@@ -163,7 +168,8 @@
<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;" /><span id="fa_bill_receivable_1"></span>
<input id="fa_bill_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fa_bill_receivable_1"></span>
</div>
<div style="width:8%;">
<button class="btn btn-xs btn-primary" onclick="UpdateData('fa_bill_receivable');">更新</button>
......@@ -178,7 +184,8 @@
<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;" /><span id="accounts_receivable_1"></span>
<input id="accounts_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="accounts_receivable_1"></span>
</div>
<div style="width:8%;">
<button class="btn btn-xs btn-primary" onclick="UpdateData('accounts_receivable');">更新</button>
......@@ -193,7 +200,8 @@
<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;" /><span id="prepayment_1"></span>
<input id="prepayment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="prepayment_1"></span>
</div>
<div style="width:8%;">
......@@ -208,7 +216,8 @@
<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;" /><span id="finished_prepayment_1"></span>
<input id="finished_prepayment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="finished_prepayment_1"></span>
</div>
<div style="width:8%;">
......@@ -223,7 +232,8 @@
<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;" /><span id="semi_prepayment_1"></span>
<input id="semi_prepayment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="semi_prepayment_1"></span>
</div>
<div style="width:8%;">
......@@ -238,7 +248,8 @@
<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;" /><span id="logistics_prepayment_1"></span>
<input id="logistics_prepayment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="logistics_prepayment_1"></span>
</div>
<div style="width:8%;">
......@@ -253,7 +264,8 @@
<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;" /><span id="fa_interest_receivable_1"></span>
<input id="fa_interest_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fa_interest_receivable_1"></span>
</div>
<div style="width:8%;">
<button class="btn btn-xs btn-primary" onclick="UpdateData('fa_interest_receivable');">更新</button>
......@@ -268,7 +280,8 @@
<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;" /><span id="fa_dividends_receivable_1"></span>
<input id="fa_dividends_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fa_dividends_receivable_1"></span>
</div>
<div style="width:8%;">
<button class="btn btn-xs btn-primary" onclick="UpdateData('fa_dividends_receivable');">更新</button>
......@@ -283,7 +296,8 @@
<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;" /><span id="other_accounts_receivable_1"></span>
<input id="other_accounts_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="other_accounts_receivable_1"></span>
</div>
<div style="width:8%;">
......@@ -298,7 +312,8 @@
<div style="width:11.5%;" class="amount_borrowed">0</div>
<div style="width:11.5%;" class="amount_borrowed">0</div>
<div style="width:11.5%;">
<input id="amount_borrowed" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="amount_borrowed_1"></span>
<input id="amount_borrowed" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="amount_borrowed_1"></span>
</div>
<div style="width:8%;">
</div>
......@@ -312,7 +327,8 @@
<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;" /><span id="inventory_amount_1"></span>
<input id="inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="inventory_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -325,7 +341,8 @@
<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;" /><span id="fba_inventory_amount_1"></span>
<input id="fba_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fba_inventory_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -338,7 +355,8 @@
<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="not_fba_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="not_fba_inventory_amount_1"></span>
<input id="not_fba_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="not_fba_inventory_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -364,7 +382,8 @@
<div style="width:11.5%;" class="fba_transfer_allot_amount">0</div>
<div style="width:11.5%;" class="fba_transfer_allot_amount">0</div>
<div style="width:11.5%;">
<input id="fba_transfer_allot_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="fba_transfer_allot_amount_1"></span>
<input id="fba_transfer_allot_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fba_transfer_allot_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -377,7 +396,8 @@
<div style="width:11.5%;" class="fba_transfer_plan_amount">0</div>
<div style="width:11.5%;" class="fba_transfer_plan_amount">0</div>
<div style="width:11.5%;">
<input id="fba_transfer_plan_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="fba_transfer_plan_amount_1"></span>
<input id="fba_transfer_plan_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fba_transfer_plan_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -403,7 +423,8 @@
<div style="width:11.5%;" class="not_fba_transfer_allot_amount">0</div>
<div style="width:11.5%;" class="not_fba_transfer_allot_amount">0</div>
<div style="width:11.5%;">
<input id="not_fba_transfer_allot_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="not_fba_transfer_allot_amount_1"></span>
<input id="not_fba_transfer_allot_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="not_fba_transfer_allot_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -416,7 +437,8 @@
<div style="width:11.5%;" class="not_fba_transfer_plan_amount">0</div>
<div style="width:11.5%;" class="not_fba_transfer_plan_amount">0</div>
<div style="width:11.5%;">
<input id="not_fba_transfer_plan_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="not_fba_transfer_plan_amount_1"></span>
<input id="not_fba_transfer_plan_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="not_fba_transfer_plan_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -429,7 +451,8 @@
<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;" /><span id="semi_inventory_amount_1"></span>
<input id="semi_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="semi_inventory_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -442,7 +465,8 @@
<div style="width:11.5%;" class="semi_bailun_inventory_amount">0</div>
<div style="width:11.5%;" class="semi_bailun_inventory_amount">0</div>
<div style="width:11.5%;">
<input id="semi_bailun_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="semi_bailun_inventory_amount_1"></span>
<input id="semi_bailun_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="semi_bailun_inventory_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -455,7 +479,8 @@
<div style="width:11.5%;" class="semi_hani_inventory_amount">0</div>
<div style="width:11.5%;" class="semi_hani_inventory_amount">0</div>
<div style="width:11.5%;">
<input id="semi_hani_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="semi_hani_inventory_amount_1"></span>
<input id="semi_hani_inventory_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="semi_hani_inventory_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -468,7 +493,8 @@
<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;" /><span id="semi_transfer_amount_1"></span>
<input id="semi_transfer_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="semi_transfer_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -481,7 +507,8 @@
<div style="width:11.5%;" class="semi_bailun_transfer_amount">0</div>
<div style="width:11.5%;" class="semi_bailun_transfer_amount">0</div>
<div style="width:11.5%;">
<input id="semi_bailun_transfer_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="semi_bailun_transfer_amount_1"></span>
<input id="semi_bailun_transfer_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="semi_bailun_transfer_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -494,7 +521,8 @@
<div style="width:11.5%;" class="semi_hani_transfer_amount">0</div>
<div style="width:11.5%;" class="semi_hani_transfer_amount">0</div>
<div style="width:11.5%;">
<input id="semi_hani_transfer_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" /><span id="semi_hani_transfer_amount_1"></span>
<input id="semi_hani_transfer_amount" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="semi_hani_transfer_amount_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -507,7 +535,8 @@
<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;" /><span id="fa_oneyear_noncurrent_assets_1"></span>
<input id="fa_oneyear_noncurrent_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fa_oneyear_noncurrent_assets_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('fa_oneyear_noncurrent_assets');">更新</a></div>
</div>
......@@ -520,7 +549,8 @@
<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;" /><span id="fa_other_assets_1"></span>
<input id="fa_other_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fa_other_assets_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('fa_other_assets');">更新</a></div>
</div>
......@@ -536,7 +566,8 @@
<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;" /><span id="fa_count_1"></span>
<input id="fa_count" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fa_count_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -560,7 +591,8 @@
<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;" /><span id="nca_avai_for_sale_fassets_1"></span>
<input id="nca_avai_for_sale_fassets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_avai_for_sale_fassets_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_avai_for_sale_fassets');">更新</a></div>
</div>
......@@ -573,7 +605,8 @@
<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;" /><span id="nca_heldon_investment_1"></span>
<input id="nca_heldon_investment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_heldon_investment_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_heldon_investment');">更新</a></div>
</div>
......@@ -586,7 +619,8 @@
<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;" /><span id="nca_longterm_receivable_1"></span>
<input id="nca_longterm_receivable" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_longterm_receivable_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_longterm_receivable');">更新</a></div>
</div>
......@@ -599,7 +633,8 @@
<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;" /><span id="nca_longterm_equity_investment_1"></span>
<input id="nca_longterm_equity_investment" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_longterm_equity_investment_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_longterm_equity_investment');">更新</a></div>
</div>
......@@ -612,7 +647,8 @@
<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;" /><span id="nca_investment_property_1"></span>
<input id="nca_investment_property" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_investment_property_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_investment_property');">更新</a></div>
</div>
......@@ -625,7 +661,8 @@
<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;" /><span id="fixed_assets_1"></span>
<input id="fixed_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="fixed_assets_1"></span>
</div>
<div style="width:8%;"></div>
</div>
......@@ -638,7 +675,8 @@
<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;" /><span id="nca_construction_in_process_1"></span>
<input id="nca_construction_in_process" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_construction_in_process_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_construction_in_process');">更新</a></div>
</div>
......@@ -651,7 +689,8 @@
<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;" /><span id="nca_engineering_material_1"></span>
<input id="nca_engineering_material" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_engineering_material_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_engineering_material');">更新</a></div>
</div>
......@@ -664,7 +703,8 @@
<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;" /><span id="nca_disposal_of_fixed_assets_1"></span>
<input id="nca_disposal_of_fixed_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_disposal_of_fixed_assets_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_disposal_of_fixed_assets');">更新</a></div>
</div>
......@@ -678,7 +718,8 @@
<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;" /><span id="nca_productive_biological_asset_1"></span>
<input id="nca_productive_biological_asset" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_productive_biological_asset_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_productive_biological_asset');">更新</a></div>
</div>
......@@ -691,7 +732,8 @@
<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;" /><span id="nca_oil_and_gas_assets_1"></span>
<input id="nca_oil_and_gas_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_oil_and_gas_assets_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_oil_and_gas_assets');">更新</a></div>
</div>
......@@ -704,7 +746,8 @@
<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;" /><span id="nca_intangible_assets_1"></span>
<input id="nca_intangible_assets" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_intangible_assets_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_intangible_assets');">更新</a></div>
</div>
......@@ -717,7 +760,8 @@
<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;" /><span id="nca_development_expenditure_1"></span>
<input id="nca_development_expenditure" class="txtinput" type="number" value="0" style="width:110px;height:24px;line-height:24px;" />
<span id="nca_development_expenditure_1"></span>
</div>
<div style="width:8%;"><a class="btn btn-primary btn-xs" onclick="UpdateData('nca_development_expenditure');">更新</a></div>
</div>
......@@ -1456,13 +1500,17 @@
//设置文本框的值
for (var key in obj) {
//如果是月或者周,不显示文本框
//if (type == 2 || type == 3) {
// $('#' + key).parent().html(obj[key]).addClass(key);
//}
//else {
// $('#' + key).val(obj[key]);
//}
$('#' + key).val(obj[key]);
if (type == 2 || type == 3) {
$('#' + key).hide();
$('#' + key).parent().addClass(key);
$('#' + key+'_1').show().html(obj[key]);
}
else {
$('#' + key).show().val(obj[key]);
$('#' + key + '_1').hide();
$('#' + key).parent().removeClass(key);
}
//$('#' + key).val(obj[key]);
}
for (var i = 0; i < list.length; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment