|
|
@@ -28,7 +28,24 @@ var rendering = false;
|
|
|
// 下一个要渲染的页面
|
|
|
var nextRenderingPage;
|
|
|
|
|
|
-document.title = getParameter("reportName");
|
|
|
+var titleJson = {
|
|
|
+ "Purchase" : "采购订单",
|
|
|
+ "PurchaseIn" : "采购验收单",
|
|
|
+ "PurchaseOut" : "采购验退单",
|
|
|
+ "OtherIn" : "其它入库单",
|
|
|
+ "OtherOut" : "其它出库单",
|
|
|
+ "Sale" : "销售订单",
|
|
|
+ "SaleOut" : "出货单",
|
|
|
+ "SaleIn" : "销售退货单",
|
|
|
+ "PayBalance" : "付款单",
|
|
|
+ "OthReceipts" : "其它收入单",
|
|
|
+ "OthSpendings" : "其它支出单",
|
|
|
+ "Verification" : "核销单"
|
|
|
+};
|
|
|
+
|
|
|
+var title = titleJson[getParameter("reportName")];
|
|
|
+document.title = title ? title : getParameter("reportName");
|
|
|
+
|
|
|
getWindowWidth();
|
|
|
loadData();
|
|
|
|