diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/RepairReportStudent/dealIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/RepairReportStudent/dealIndex.cshtml index 652d4f68c..c7bd0a918 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/RepairReportStudent/dealIndex.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/RepairReportStudent/dealIndex.cshtml @@ -46,13 +46,13 @@ tableHtml = ''; //数据处理 - tableHtml += ''; + tableHtml += '
'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -65,7 +65,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -85,7 +85,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -105,7 +105,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -125,7 +125,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -145,7 +145,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -156,7 +156,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -167,7 +167,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -178,7 +178,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -231,6 +231,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -270,7 +272,7 @@ LODOP.SET_PRINT_MODE("PRINT_DUPLEX", 2); LODOP.SET_PRINT_MODE("PRINT_DEFAULTSOURCE", 7); - LODOP.ADD_PRINT_HTM(0, 0, '100%', '100%', strFormHtml); + LODOP.ADD_PRINT_HTM("25mm", 0, '100%', '100%', strFormHtml); LODOP.SET_PRINT_STYLEA(0, "AngleOfPageInside", 270); if (flag == "preview") { //打印预览 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/RepairReportTeacher/dealIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/RepairReportTeacher/dealIndex.cshtml index a184c0e07..aa26ecc09 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/RepairReportTeacher/dealIndex.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/RepairReportTeacher/dealIndex.cshtml @@ -52,7 +52,7 @@ tableHtml = ''; //数据处理 - tableHtml += '
'; tableHtml += '

'; tableHtml += ' '; - tableHtml += ' ' + title + ''; + tableHtml += ' ' + (title ? title:"")+ ''; tableHtml += ' '; tableHtml += '

'; tableHtml += '
'; - tableHtml += data.OrderNumber; + tableHtml += (data.OrderNumber ? data.OrderNumber : ""); tableHtml += ' '; tableHtml += '

'; @@ -74,7 +74,7 @@ tableHtml += '

'; tableHtml += '
'; - tableHtml += data.CreateTime; + tableHtml += (data.CreateTime ? data.CreateTime:""); tableHtml += '
'; - tableHtml += data.CreatorName; + tableHtml += (data.CreatorName ? data.CreateTime:""); tableHtml += ' '; tableHtml += '

'; @@ -94,7 +94,7 @@ tableHtml += '

'; tableHtml += '
'; - tableHtml += data.StuNo; + tableHtml += (data.StuNo ? data.StuNo:""); tableHtml += '
'; - tableHtml += data.DeptNo; + tableHtml += (data.DeptNo ? data.DeptNo:""); tableHtml += ' '; tableHtml += '

'; @@ -114,7 +114,7 @@ tableHtml += '

'; tableHtml += '
'; - tableHtml += data.MajorNo; + tableHtml += (data.MajorNo ? data.MajorNo:""); tableHtml += '
'; - tableHtml += data.TeachClassNo; + tableHtml += (data.TeachClassNo ? data.TeachClassNo:""); tableHtml += ' '; tableHtml += '

'; @@ -134,7 +134,7 @@ tableHtml += '

'; tableHtml += '
'; - tableHtml += data.Contact; + tableHtml += (data.Contact ? data.Contact:""); tableHtml += '
'; - tableHtml += data.Address; + tableHtml += (data.Address ? data.Address:""); tableHtml += '
'; - tableHtml += data.ServiceType; + tableHtml += (data.ServiceType ? data.ServiceType:""); tableHtml += '
'; - tableHtml += data.Remark; + tableHtml += (data.Remark ? data.Remark:""); tableHtml += '
'; - tableHtml += data.LeaveMsg; + tableHtml += (data.LeaveMsg ? data.LeaveMsg:""); tableHtml += '
'; + tableHtml += (data.IsPay == 1 ? "是" : "否"); tableHtml += ' '; tableHtml += '

'; @@ -239,6 +240,7 @@ tableHtml += '

'; tableHtml += '
'; + tableHtml += (data.Amount ? data.Amount : ""); tableHtml += '
'; + tableHtml += '
'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -91,7 +91,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -111,7 +111,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -131,7 +131,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -142,7 +142,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -153,7 +153,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -164,7 +164,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -226,7 +226,7 @@ tableHtml += '

'; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; tableHtml += ' '; @@ -307,7 +307,7 @@ LODOP.SET_PRINT_MODE("PRINT_DUPLEX", 2); LODOP.SET_PRINT_MODE("PRINT_DEFAULTSOURCE", 7); - LODOP.ADD_PRINT_HTM(0, 0, '100%', '100%', strFormHtml); + LODOP.ADD_PRINT_HTM("25mm", 0, '100%', '100%', strFormHtml); LODOP.SET_PRINT_STYLEA(0, "AngleOfPageInside", 270); if (flag == "preview") { //打印预览
'; @@ -71,7 +71,7 @@ tableHtml += '

'; tableHtml += '
'; - tableHtml += data.OrderNumber; + tableHtml += (data.OrderNumber ? data.OrderNumber:""); tableHtml += ' '; tableHtml += '

'; @@ -80,7 +80,7 @@ tableHtml += '

'; tableHtml += '
'; - tableHtml += data.CreateTime; + tableHtml += (data.CreateTime ? data.CreateTime:""); tableHtml += '
'; - tableHtml += data.CreatorName; + tableHtml += (data.CreatorName ? data.CreatorName:""); tableHtml += ' '; tableHtml += '

'; @@ -100,7 +100,7 @@ tableHtml += '

'; tableHtml += '
'; - tableHtml += data.TeachNo; + tableHtml += (data.TeachNo ? data.TeachNo:""); tableHtml += '
'; - tableHtml += data.DeptName; + tableHtml += (data.DeptName ? data.DeptName : ""); tableHtml += ' '; tableHtml += '

'; @@ -120,7 +120,7 @@ tableHtml += '

'; tableHtml += '
'; - tableHtml += data.Contact; + tableHtml += (data.Contact ? data.Contact : ""); tableHtml += '
'; - tableHtml += data.Address; + tableHtml += (data.Address ? data.Address : ""); tableHtml += '
'; - tableHtml += data.ServiceType; + tableHtml += (data.ServiceType ? data.ServiceType : ""); tableHtml += '
'; - tableHtml += data.Remark; + tableHtml += (data.Remark ? data.Remark : ""); tableHtml += '
'; - tableHtml += data.LeaveMsg; + tableHtml += (data.LeaveMsg ? data.LeaveMsg : ""); tableHtml += '
'; - tableHtml += data.Amount; + tableHtml += (data.Amount ? data.Amount : ""); tableHtml += '