From c9c8c89f0cd11ad0d6dfce782af78739c30302c7 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 30 九月 2022 15:21:02 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Views/Project/Add.cshtml | 2 +- zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Index.cshtml | 3 +++ zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Edit.cshtml | 25 +++++++++++++++++-------- zhengcaioa/DTO/LZhuanjiahuidumDTO.cs | 1 + zhengcaioa/Services/LZhuanjiahuidumService.cs | 1 + 5 files changed, 23 insertions(+), 9 deletions(-) diff --git a/zhengcaioa/DTO/LZhuanjiahuidumDTO.cs b/zhengcaioa/DTO/LZhuanjiahuidumDTO.cs index 289e854..807c9c6 100644 --- a/zhengcaioa/DTO/LZhuanjiahuidumDTO.cs +++ b/zhengcaioa/DTO/LZhuanjiahuidumDTO.cs @@ -14,6 +14,7 @@ public string RecStatus { get; set; } public string Creater { get; set; } public DateTime Createtime { get; set; } + public string CreatetimeName { get; set; } public string Modifier { get; set; } public DateTime Modifytime { get; set; } public string HuidaStatus { get; set; } diff --git a/zhengcaioa/Services/LZhuanjiahuidumService.cs b/zhengcaioa/Services/LZhuanjiahuidumService.cs index 3171e70..c80e448 100644 --- a/zhengcaioa/Services/LZhuanjiahuidumService.cs +++ b/zhengcaioa/Services/LZhuanjiahuidumService.cs @@ -108,6 +108,7 @@ Createtime = a.Createtime, Modifier = a.Modifier, Modifytime = a.Modifytime, + CreatetimeName = a.Createtime.ToString("yyyy-MM-dd HH:mm:ss"), }).OrderByDescending(x => x.Modifytime).ToList(); diff --git a/zhengcaioa/zhengcaioa/Views/Project/Add.cshtml b/zhengcaioa/zhengcaioa/Views/Project/Add.cshtml index 3ad0f1e..affdf9b 100644 --- a/zhengcaioa/zhengcaioa/Views/Project/Add.cshtml +++ b/zhengcaioa/zhengcaioa/Views/Project/Add.cshtml @@ -987,7 +987,7 @@ + '<div class="col-sm-2 col-md-2" style="width:10%;">' + '<input class="form-control" label="涓爣锛堟垚浜わ級渚涘簲鍟�" name="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="' + data.Projectzhongbiaos[i].Price +'">' + '<input type="hidden" name="ZhongbiaoId" value="" />' - + ' < input type = "hidden" name = "ZbZhiyistatus" />' + + ' <input type="hidden" name = "ZbZhiyistatus" />' + ' <input type="hidden" name="ZbZhiyishijian" />' + '<input type="hidden" name="ZbZhiyichengli" />' + '<input type="hidden" name="ZbTousustatus" />' diff --git a/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Edit.cshtml index 74a2ccc..fe1ac01 100644 --- a/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Edit.cshtml @@ -96,25 +96,34 @@ <div id="div_content" class="ibox-content" style="background-color:white;"> <div class="row"> @*<div class="clearfix layer-area" style="padding-bottom:15px;"> - <label class="text-right col-sm-1 col-md-1 control-label">鎻愰棶浜�</label> - <div class="col-sm-2 col-md-2"> - <label class="text-right col-sm-12 col-md-12 control-label">@Model.Username</label> - - <input type="hidden" id="Username" name="Username" value="@Model.Username" /> - </div> + <label class="text-right col-sm-1 col-md-1 control-label">鎻愰棶浜�</label> + <div class="col-sm-2 col-md-2"> + <label class="text-right col-sm-12 col-md-12 control-label">@Model.Username</label> + + <input type="hidden" id="Username" name="Username" value="@Model.Username" /> + </div> - </div>*@ + </div>*@ <div class="clearfix layer-area" style="padding-bottom:15px;"> <label class="text-right col-sm-1 col-md-1 control-label">闂</label> <div class="col-sm-11 col-md-11"> - <label class="text-left col-sm-12 col-md-12 control-label">@Model.Question</label> + @Model.Question </div> <input type="hidden" id="Question" name="Question" value="@Model.Question" /> <input type="hidden" id="Id" name="Id" value="@Model.Id" /> <input type="hidden" id="Userid" name="Userid" value="@Model.Userid" /> </div> + + <div class="clearfix layer-area" style="padding-bottom:15px;"> + <label class="text-right col-sm-1 col-md-1 control-label">鎻愰棶鏃堕棿</label> + <div class="col-sm-11 col-md-11"> + @Model.Createtime.ToString("yyyy-MM-dd HH:mm:ss") + </div> + + </div> + <div class="clearfix layer-area" style="padding-bottom:15px;"> <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鍥炵瓟<i class="red">*</i></label> <div class="col-sm-11 col-md-11"> diff --git a/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Index.cshtml b/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Index.cshtml index bd34b02..a2406b7 100644 --- a/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Index.cshtml +++ b/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Index.cshtml @@ -24,7 +24,10 @@ // return "<a onclick=\"OpenWindow('鍥炵瓟闂','98%','100%', '/Zhuanjiahuida/Edit?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; //} }, + { + label: '鎻愰棶鏃堕棿', name: 'CreatetimeName', labtype: 'txt', hidden: false, width: 100 + }, { label: '鍥炵瓟', name: 'Anwser', labtype: 'txt', hidden: false, width: 300 -- Gitblit v1.9.1