From e649be7905be7e74f6e09d8d74a7bd7bcd3923b7 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 27 七月 2021 16:17:35 +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