Commit 32d07ce7 by guanzhenshan

资产负债表所有明细增加导出明细功能

parent b850f9a1
...@@ -36,6 +36,15 @@ ...@@ -36,6 +36,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -70,6 +79,10 @@ ...@@ -70,6 +79,10 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/BankBalanceExport?date=" + ViewBag.date+ "&paycompanyid="+ViewBag.paycompanyid)', "_blank");
}
</script> </script>
} }
...@@ -41,6 +41,15 @@ ...@@ -41,6 +41,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -95,6 +104,10 @@ ...@@ -95,6 +104,10 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/CopeWithExport?finish="+ViewBag.finish+"&date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank");
}
</script> </script>
} }
......
...@@ -7,6 +7,15 @@ ...@@ -7,6 +7,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -58,6 +67,11 @@ ...@@ -58,6 +67,11 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/CopeWithLogisticsExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank");
}
</script> </script>
} }
......
...@@ -33,6 +33,15 @@ ...@@ -33,6 +33,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -65,6 +74,10 @@ ...@@ -65,6 +74,10 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/InventoryBalanceExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid+"&t="+ViewBag.t)', "_blank");
}
</script> </script>
} }
\ No newline at end of file
...@@ -4,39 +4,18 @@ ...@@ -4,39 +4,18 @@
Layout = "~/Pages/Shared/_MainLayout.cshtml"; Layout = "~/Pages/Shared/_MainLayout.cshtml";
} }
@*<div class="ibox-content m-b-sm border-bottom">
<table id="tb" class="table table-hover table-bordered" style="width:100%;">
<tr>
<td>付款主体</td>
<td>还款方</td>
<td>期初金额</td>
<td>借方发生额</td>
<td>贷方发生额</td>
<td>期末金额</td>
<td>统计日期</td>
</tr>
@if (ViewBag.list.Count > 0)
{
foreach (var item in ViewBag.list)
{
<tr>
<td>@ViewBag.PayCompanyName</td>
<td>@item.borrower_or_payer</td>
<td>@item.start_amount.ToString("###,###.##")</td>
<td>@item.debit_amount.ToString("###,###.##")</td>
<td>@item.credit_amount.ToString("###,###.##")</td>
<td>@item.end_amount.ToString("###,###.##")</td>
<td>@item.day.ToString("yyyy-MM-dd")</td>
</tr>
}
}
</table>
</div>*@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -84,6 +63,11 @@ ...@@ -84,6 +63,11 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/OtherPayableExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank");
}
</script> </script>
} }
......
...@@ -4,40 +4,18 @@ ...@@ -4,40 +4,18 @@
Layout = "~/Pages/Shared/_MainLayout.cshtml"; Layout = "~/Pages/Shared/_MainLayout.cshtml";
} }
@*<div class="ibox-content m-b-sm border-bottom">
<table id="tb" class="table table-hover table-bordered" style="width:100%;">
<thead>
<tr>
<th>付款主体</th>
<th>借款方</th>
<th>期初金额</th>
<th>借方发生额</th>
<th>贷方发生额</th>
<th>期末金额</th>
<th>统计日期</th>
</tr>
</thead>
@if (ViewBag.list.Count > 0)
{
foreach (var item in ViewBag.list)
{
<tr>
<td>@ViewBag.PayCompanyName</td>
<td>@item.borrower_or_payer</td>
<td>@item.start_amount.ToString("###,###.##")</td>
<td>@item.debit_amount.ToString("###,###.##")</td>
<td>@item.credit_amount.ToString("###,###.##")</td>
<td>@item.end_amount.ToString("###,###.##")</td>
<td>@item.day.ToString("yyyy-MM-dd")</td>
</tr>
}
}
</table>
</div>*@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -87,6 +65,11 @@ ...@@ -87,6 +65,11 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/OtherReceivableExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank");
}
</script> </script>
} }
...@@ -48,6 +48,15 @@ ...@@ -48,6 +48,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -89,6 +98,11 @@ ...@@ -89,6 +98,11 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/PlatformBalanceExport?date=" + ViewBag.date+ "&paycompanyid="+ViewBag.paycompanyid)', "_blank");
}
</script> </script>
} }
......
...@@ -42,6 +42,15 @@ ...@@ -42,6 +42,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -94,6 +103,11 @@ ...@@ -94,6 +103,11 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/PrePayExport?finish=" + ViewBag.finish + "&date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank");
}
</script> </script>
} }
...@@ -7,6 +7,15 @@ ...@@ -7,6 +7,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -58,6 +67,11 @@ ...@@ -58,6 +67,11 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/PrePayLogisticsExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank");
}
</script> </script>
} }
......
...@@ -7,6 +7,15 @@ ...@@ -7,6 +7,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -40,6 +49,11 @@ ...@@ -40,6 +49,11 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/SemiFinishStockExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank");
}
</script> </script>
} }
......
...@@ -40,6 +40,15 @@ ...@@ -40,6 +40,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom"> <div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="exportFile();">导出</button>
</div>
</div>
</form>
</div>
<div class="ibox-content m-b-sm border-bottom">
<table id="roletable" style="table-layout:fixed;"></table> <table id="roletable" style="table-layout:fixed;"></table>
</div> </div>
</div> </div>
...@@ -79,6 +88,11 @@ ...@@ -79,6 +88,11 @@
tb.bootstrapTable('refresh', { url: url }); tb.bootstrapTable('refresh', { url: url });
} }
} }
function exportFile() {
window.open('@Url.Content("~/Reports/Finance/WithDrawOnWayExport?date=" + ViewBag.date+ "&paycompanyid="+ViewBag.companyid)',"_blank");
}
</script> </script>
} }
......
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