From bc70e7de7925b0a1b34ebb170d6c4b590520ac12 Mon Sep 17 00:00:00 2001 From: hwh2023 <598694955@qq.com> Date: Wed, 22 Nov 2023 21:04:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E4=BF=AE=E6=89=93?= =?UTF-8?q?=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RepairReportStudent/dealIndex.cshtml | 32 ++++++++++--------- .../RepairReportTeacher/dealIndex.cshtml | 26 +++++++-------- 2 files changed, 30 insertions(+), 28 deletions(-) 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 += ' ' + title + ''; + tableHtml += ' ' + (title ? title:"")+ ''; tableHtml += ' '; tableHtml += ' '; tableHtml += ' | ';
@@ -65,7 +65,7 @@
tableHtml += ' ';
tableHtml += ' ';
tableHtml += ' '; - tableHtml += data.OrderNumber; + tableHtml += (data.OrderNumber ? data.OrderNumber : ""); tableHtml += ' | '; tableHtml += '';
tableHtml += ' '; @@ -74,7 +74,7 @@ tableHtml += ' '; tableHtml += ' | ';
tableHtml += ' '; - tableHtml += data.CreateTime; + tableHtml += (data.CreateTime ? data.CreateTime:""); tableHtml += ' | '; tableHtml += '||||||||||||||||||||||
'; - tableHtml += data.CreatorName; + tableHtml += (data.CreatorName ? data.CreateTime:""); tableHtml += ' | '; tableHtml += '';
tableHtml += ' '; @@ -94,7 +94,7 @@ tableHtml += ' '; tableHtml += ' | ';
tableHtml += ' '; - tableHtml += data.StuNo; + tableHtml += (data.StuNo ? data.StuNo:""); tableHtml += ' | '; tableHtml += '|||||||||||||||||||||||
'; - tableHtml += data.DeptNo; + tableHtml += (data.DeptNo ? data.DeptNo:""); tableHtml += ' | '; tableHtml += '';
tableHtml += ' '; @@ -114,7 +114,7 @@ tableHtml += ' '; tableHtml += ' | ';
tableHtml += ' '; - tableHtml += data.MajorNo; + tableHtml += (data.MajorNo ? data.MajorNo:""); tableHtml += ' | '; tableHtml += '|||||||||||||||||||||||
'; - tableHtml += data.TeachClassNo; + tableHtml += (data.TeachClassNo ? data.TeachClassNo:""); tableHtml += ' | '; tableHtml += '';
tableHtml += ' '; @@ -134,7 +134,7 @@ tableHtml += ' '; tableHtml += ' | ';
tableHtml += ' '; - tableHtml += data.Contact; + tableHtml += (data.Contact ? data.Contact:""); tableHtml += ' | '; tableHtml += '|||||||||||||||||||||||
'; - tableHtml += data.Address; + tableHtml += (data.Address ? data.Address:""); tableHtml += ' | '; tableHtml += '|||||||||||||||||||||||||
'; - tableHtml += data.ServiceType; + tableHtml += (data.ServiceType ? data.ServiceType:""); tableHtml += ' | '; tableHtml += '|||||||||||||||||||||||||
'; - tableHtml += data.Remark; + tableHtml += (data.Remark ? data.Remark:""); tableHtml += ' | '; tableHtml += '|||||||||||||||||||||||||
'; - tableHtml += data.LeaveMsg; + tableHtml += (data.LeaveMsg ? data.LeaveMsg:""); tableHtml += ' | '; tableHtml += '|||||||||||||||||||||||||
'; + tableHtml += (data.IsPay == 1 ? "是" : "否"); tableHtml += ' | '; tableHtml += '';
tableHtml += ' '; @@ -239,6 +240,7 @@ tableHtml += ' '; tableHtml += ' | ';
tableHtml += ' '; + tableHtml += (data.Amount ? data.Amount : ""); tableHtml += ' | '; tableHtml += '|||||||||||||||||||||||
'; @@ -71,7 +71,7 @@ tableHtml += ' '; tableHtml += ' | '; tableHtml += ''; - tableHtml += data.OrderNumber; + tableHtml += (data.OrderNumber ? data.OrderNumber:""); tableHtml += ' | '; tableHtml += '';
tableHtml += ' '; @@ -80,7 +80,7 @@ tableHtml += ' '; tableHtml += ' | ';
tableHtml += ' '; - tableHtml += data.CreateTime; + tableHtml += (data.CreateTime ? data.CreateTime:""); tableHtml += ' | '; tableHtml += '|||
'; - tableHtml += data.CreatorName; + tableHtml += (data.CreatorName ? data.CreatorName:""); tableHtml += ' | '; tableHtml += '';
tableHtml += ' '; @@ -100,7 +100,7 @@ tableHtml += ' '; tableHtml += ' | ';
tableHtml += ' '; - tableHtml += data.TeachNo; + tableHtml += (data.TeachNo ? data.TeachNo:""); tableHtml += ' | '; tableHtml += '||||
'; - tableHtml += data.DeptName; + tableHtml += (data.DeptName ? data.DeptName : ""); tableHtml += ' | '; tableHtml += '';
tableHtml += ' '; @@ -120,7 +120,7 @@ tableHtml += ' '; tableHtml += ' | ';
tableHtml += ' '; - tableHtml += data.Contact; + tableHtml += (data.Contact ? data.Contact : ""); tableHtml += ' | '; tableHtml += '||||
'; - tableHtml += data.Address; + tableHtml += (data.Address ? data.Address : ""); tableHtml += ' | '; tableHtml += '||||||
'; - tableHtml += data.ServiceType; + tableHtml += (data.ServiceType ? data.ServiceType : ""); tableHtml += ' | '; tableHtml += '||||||
'; - tableHtml += data.Remark; + tableHtml += (data.Remark ? data.Remark : ""); tableHtml += ' | '; tableHtml += '||||||
'; - tableHtml += data.LeaveMsg; + tableHtml += (data.LeaveMsg ? data.LeaveMsg : ""); tableHtml += ' | '; tableHtml += '||||||
'; - tableHtml += data.Amount; + tableHtml += (data.Amount ? data.Amount : ""); tableHtml += ' | '; tableHtml += '||||||