Commit c0b34578 by guanzhenshan

处理资产负债表导出明细时,url特殊字符自动转义的问题

parent 88383d97
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/BankBalanceExport?date=" + ViewBag.date+ "&paycompanyid="+ViewBag.paycompanyid)', "_blank"); window.open('@Url.Content("~/Reports/Finance/BankBalanceExport?date=")' + '@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)', "_blank");
} }
</script> </script>
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/CopeWithExport?finish="+ViewBag.finish+"&date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank"); window.open('@Url.Content("~/Reports/Finance/CopeWithExport?finish=")'+'@(ViewBag.finish)&date=@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)', "_blank");
} }
</script> </script>
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/CopeWithLogisticsExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank"); window.open('@Url.Content("~/Reports/Finance/CopeWithLogisticsExport?date=")' + '@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)', "_blank");
} }
</script> </script>
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/InventoryBalanceExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid+"&t="+ViewBag.t)', "_blank"); window.open('@Url.Content("~/Reports/Finance/InventoryBalanceExport?date=")' + '@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)&t=@(ViewBag.t)', "_blank");
} }
</script> </script>
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
function exportFile() { function exportFile() {
var pvalue = $('#companyvalue').val(); var pvalue = $('#companyvalue').val();
window.open('@Url.Content("~/Reports/Finance/ListFixedAssetsExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid+ "&companyvalue=")' + pvalue, "_blank"); window.open('@Url.Content("~/Reports/Finance/ListFixedAssetsExport?date=")' + '@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)&companyvalue=' + pvalue, "_blank");
} }
</script> </script>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/ListFixedAssetsDetailsExport?date=" + ViewBag.date+ "&companyvalue=" + ViewBag.companyvalue)', "_blank"); window.open('@Url.Content("~/Reports/Finance/ListFixedAssetsDetailsExport?date=")' + '@(ViewBag.date)&companyvalue=@(ViewBag.companyvalue)', "_blank");
} }
</script> </script>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/OtherPayableExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank"); window.open('@Url.Content("~/Reports/Finance/OtherPayableExport?date=")' + '@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)', "_blank");
} }
</script> </script>
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/OtherReceivableExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank"); window.open('@Url.Content("~/Reports/Finance/OtherReceivableExport?date=")' + '@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)', "_blank");
} }
</script> </script>
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/PlatformBalanceExport?date=" + ViewBag.date+ "&paycompanyid="+ViewBag.paycompanyid)', "_blank"); window.open('@Url.Content("~/Reports/Finance/PlatformBalanceExport?date=")' + '@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)', "_blank");
} }
</script> </script>
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/PrePayExport?finish=" + ViewBag.finish + "&date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank"); window.open('@Url.Content("~/Reports/Finance/PrePayExport?finish=")' + '@(ViewBag.finish)&date=@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)', "_blank");
} }
</script> </script>
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/PrePayLogisticsExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank"); window.open('@Url.Content("~/Reports/Finance/PrePayLogisticsExport?date=")' + '@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)', "_blank");
} }
</script> </script>
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/SemiFinishStockExport?date=" + ViewBag.date+ "&paycompanyid=" + ViewBag.paycompanyid)', "_blank"); window.open('@Url.Content("~/Reports/Finance/SemiFinishStockExport?date=")' + '@(ViewBag.date)&paycompanyid=@(ViewBag.paycompanyid)', "_blank");
} }
</script> </script>
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
} }
function exportFile() { function exportFile() {
window.open('@Url.Content("~/Reports/Finance/WithDrawOnWayExport?date=" + ViewBag.date+ "&paycompanyid="+ViewBag.companyid)',"_blank"); 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