From 3b9bf8c309d77d9817e973aa036e045695c78d70 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 26 七月 2021 16:17:45 +0800
Subject: [PATCH] 今日开发   加班申请·                统计报表:没有任何工作的人,不显示。显示人员的      部门  职位  姓名   工作时间                   在计算考勤的时候只有有加班申请的加班才算加班

---
 zhengcaioa/zhengcaioa/Views/Project/Add.cshtml |   28 ++++++++++++++++++++++++++--
 1 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/Project/Add.cshtml b/zhengcaioa/zhengcaioa/Views/Project/Add.cshtml
index 79fcb8d..e740abf 100644
--- a/zhengcaioa/zhengcaioa/Views/Project/Add.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/Project/Add.cshtml
@@ -476,12 +476,24 @@
                                     <div class="col-sm-3 col-md-3">
                                         <input id="Caigourenname" class="form-control" label="閲囪喘浜哄悕绉�" name="Caigourenname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Caigourenname">
                                     </div>
+                                    <div class="col-sm-1 col-md-1" style="width:100px;">
+                                        @if (Model.Caigourennamecunzai != null && Model.Caigourennamecunzai == "yes")
+                                        {
+                                            <button type="button" data-type="1">娣诲姞渚涘簲鍟�</button>
+                                        }
+                                        else
+                                        {
+                                            <button type="button" onclick="_pageAdd('@Model.Caigourenname')" data-type="1" style="color:red;">娣诲姞渚涘簲鍟�</button>
+                                        }
+
+
+                                    </div>
                                     <label class="text-right col-sm-1 col-md-1 control-label">鍦板潃</label>
                                     <div class="col-sm-3 col-md-3">
                                         <input id="Caigourenaddress" class="form-control" label="鍦板潃" name="Caigourenaddress" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Caigourenaddress">
                                     </div>
                                     <label class="text-right col-sm-1 col-md-1 control-label">鑱旂郴鏂瑰紡</label>
-                                    <div class="col-sm-3 col-md-3">
+                                    <div class="col-sm-2 col-md-2">
                                         <input id="Caigourencontact" class="form-control" label="鑱旂郴鏂瑰紡" name="Caigourencontact" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Caigourencontact">
                                     </div>
                                 </div>
@@ -491,12 +503,24 @@
                                     <div class="col-sm-3 col-md-3">
                                         <input id="Dailiname" class="form-control" label="閲囪喘浜哄悕绉�" name="Dailiname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Dailiname">
                                     </div>
+                                    <div class="col-sm-1 col-md-1" style="width:100px;">
+                                        @if (Model.Dailinamecunzai != null && Model.Dailinamecunzai == "yes")
+                                        {
+                                            <button type="button" data-type="1">娣诲姞渚涘簲鍟�</button>
+                                        }
+                                        else
+                                        {
+                                            <button type="button" onclick="_pageAdd('@Model.Dailiname')" data-type="1" style="color:red;">娣诲姞渚涘簲鍟�</button>
+                                        }
+
+
+                                    </div>
                                     <label class="text-right col-sm-1 col-md-1 control-label">鍦板潃</label>
                                     <div class="col-sm-3 col-md-3">
                                         <input id="Dailiaddress" class="form-control" label="鍦板潃" name="Dailiaddress" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Dailiaddress">
                                     </div>
                                     <label class="text-right col-sm-1 col-md-1 control-label">鑱旂郴鏂瑰紡</label>
-                                    <div class="col-sm-3 col-md-3">
+                                    <div class="col-sm-2 col-md-2">
                                         <input id="Dailicontact" class="form-control" label="鑱旂郴鏂瑰紡" name="Dailicontact" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Dailicontact">
                                     </div>
                                 </div>

--
Gitblit v1.9.1