| | |
| | | |
| | | List<TChallengeItemDTO> challengeItemDTOs = Model.challengeItemDTOs; |
| | | |
| | | List<TChallengeRequestInfoDTO> challengeRequestInfoDTOs = Model.challengeRequestInfoDTOs; |
| | | |
| | | |
| | | } |
| | | @{ |
| | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">副本数量:<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input class="form-control" label="副本数量" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"> |
| | | </div> |
| | | |
| | | <div class="col-sm-2 col-md-2"> |
| | | |
| | | <div class="input-group"> |
| | | <input type="text" name="PrintNum" id="PrintNum" class="form-control" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"> |
| | | <div class="input-group-btn"> |
| | | <button type="button" class="btn dropdown-toggle" data-toggle="dropdown"> |
| | | |
| | | <span class="caret"></span> |
| | | </button> |
| | | <ul class="dropdown-menu pull-right"> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =1; ">1</a></li> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =2; ">2</a></li> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =3; ">3</a></li> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =4; ">4</a></li> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =5; ">5</a></li> |
| | | </ul> |
| | | </div><!-- /btn-group --> |
| | | </div><!-- /input-group --> |
| | | </div> |
| | | |
| | | |
| | | |
| | |
| | | <input class="form-control" label="联系电话" id="zhiyiLianxidianhua" name="zhiyiLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@challengecomplaintShouquandaibiaoDTOs[i].Lianxidianhua"> |
| | | |
| | | </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-2 col-md-2" grouptype="Vdata"> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <input class="form-control" label="质疑项目名称" name="zhiyiXmName" id="zhiyiXmName" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@Model.XmName"> |
| | | |
| | | </div> |
| | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">包号</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="包号" name="zhiyiXmPackage" id="zhiyiXmPackage" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@Model.XmPackage"> |
| | | <div class="input-group"> |
| | | <input type="text" name="zhiyiXmPackage" id="zhiyiXmPackage" class="form-control" value="@Model.XmPackage"> |
| | | <div class="input-group-btn"> |
| | | <button type="button" class="btn dropdown-toggle" data-toggle="dropdown"> |
| | | |
| | | <span class="caret"></span> |
| | | </button> |
| | | <ul class="dropdown-menu pull-right"> |
| | | <li><a href="javascript:$('#zhiyiXmPackage').val('第1包')">第1包</a></li> |
| | | <li><a href="javascript:$('#zhiyiXmPackage').val('第2包')">第2包</a></li> |
| | | <li><a href="javascript:$('#zhiyiXmPackage').val('第3包')">第3包</a></li> |
| | | <li><a href="javascript:$('#zhiyiXmPackage').val('第4包')">第4包</a></li> |
| | | <li><a href="javascript:$('#zhiyiXmPackage').val('第5包')">第5包</a></li> |
| | | </ul> |
| | | </div><!-- /btn-group --> |
| | | </div><!-- /input-group --> |
| | | </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-2 col-md-2" grouptype="Vdata"> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <input class="form-control" label="采购人名称" name="zhiyiPurchaserName" id="zhiyiPurchaserName" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@Model.PurchaserName"> |
| | | |
| | | </div> |
| | |
| | | <div id="zhiyishixiang"> |
| | | @for (int i = 0; i < challengeItemDTOs.Count; i++) |
| | | { |
| | | @if (challengeItemDTOs.Count == 1) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">质疑事项</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="Question" data-placeholder="选择 序列 ..." onchange="Questionchangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in question) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question)) |
| | | <div class="zhiyishixiangitem"> |
| | | @if (challengeItemDTOs.Count == 1) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">质疑事项</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="Question" data-placeholder="选择 序列 ..." onchange="Questionchangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in question) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1">质疑事项</button> |
| | | </select> |
| | | <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" /> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" id="Evidentiallabel" class="text-right col-sm-1 col-md-1 control-label">事实依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据" isempty="" maxlength="3500" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@challengeItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | @if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | @if (i == 0) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | |
| | | |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="OpenWindow('新增质疑事项','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">新增质疑事项</button> |
| | | </div> |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | </div> |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">质疑事项@(i+1)</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="Question" data-placeholder="选择 序列 ..." onchange="Questionchangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in question) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | @if (i == 0) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1">质疑事项</button> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">编辑质疑事项</label> |
| | | <div class="col-sm-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑质疑事项" id="Questionname@(i)" name="Questionname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@challengeItemDTOs[i].Questionname"> |
| | | |
| | | </div> |
| | | @*<div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">新增质疑事项</button> |
| | | </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+1)</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据" isempty="" maxlength="3500" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@challengeItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | @if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" id="Evidentiallabel" class="text-right col-sm-1 col-md-1 control-label">事实依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据" isempty="" maxlength="3500" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@challengeItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | @if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | } |
| | | |
| | | |
| | | </div> |
| | | |
| | | } |
| | | else |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addlawinfo('@(challengeItemDTOs[i].Question)')" data-type="1">新增法律依据</button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">质疑事项@(i+1)</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="Question" data-placeholder="选择 序列 ..." onchange="Questionchangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in question) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" /> |
| | | </div> |
| | | @if (i == 0) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | |
| | | |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="OpenWindow('新增质疑事项','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">新增质疑事项</button> |
| | | </div> |
| | | |
| | | @*<div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">新增质疑事项</button> |
| | | </div>*@ |
| | | } |
| | | } |
| | | </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">编辑质疑事项</label> |
| | | <div class="col-sm-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑质疑事项" id="Questionname@(i)" name="Questionname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@challengeItemDTOs[i].Questionname"> |
| | | |
| | | </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">事实依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据" isempty="" maxlength="3500" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@challengeItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | @if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | |
| | | </div> |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | |
| | | </div> |
| | | } |
| | | } |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addlawinfo('@(challengeItemDTOs[i].Question)')" data-type="1">新增法律依据</button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | } |
| | | </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">质疑事项</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | |
| | | <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1" style="width:32px">+</button> |
| | | <button type="button" class="delBtn" onclick="delBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-left col-sm-2 col-md-2 control-label">四、与质疑事项相关的质疑请求</label> |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">请求</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select id="RequestInfo" class="form-control" name="RequestInfo" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in request_info) |
| | | <div id="xiangguanqingqiu"> |
| | | @for (int i = 0; i < challengeRequestInfoDTOs.Count; i++) |
| | | { |
| | | <div class="xiangguanqingqiuitem"> |
| | | @if (challengeRequestInfoDTOs.Count == 1) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.RequestInfo)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" id="RequestInfolabel" class="text-right col-sm-1 col-md-1 control-label">请求</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="RequestInfos" data-placeholder="选择 序列 ..." onchange="RequestInfochangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in request_info) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeRequestInfoDTOs[i].RequestInfo)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | @if (i == 0) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">新增质疑请求</button> |
| | | </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">编辑请求</label> |
| | | <div class="col-sm-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑请求" id="RequestInfoname@(i)" name="RequestInfoname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@challengeRequestInfoDTOs[i].RequestInfoname"> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">请求@(i+1)</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="RequestInfos" data-placeholder="选择 序列 ..." onchange="RequestInfochangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in request_info) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeRequestInfoDTOs[i].RequestInfo)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | </select> |
| | | } |
| | | } |
| | | |
| | | </div> |
| | | </select> |
| | | |
| | | </div> |
| | | @if (i == 0) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">新增质疑请求</button> |
| | | </div> |
| | | |
| | | @*<div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">新增质疑请求</button> |
| | | </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">编辑请求</label> |
| | | <div class="col-sm-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑请求" id="RequestInfoname@(i)" name="RequestInfoname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@challengeRequestInfoDTOs[i].RequestInfoname"> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | </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">质疑请求</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | |
| | | <button type="button" class="addBtn" onclick="addxiangguanqingqiu(this)" data-type="1" style="width:32px">+</button> |
| | | <button type="button" class="delBtn" onclick="delBtnxiangguanqingqiu(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | |
| | | @*<a class="btn btn-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-remove"></i> <span class="bold">删除</span> |
| | | </a>*@ |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="printPosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">打印</span> |
| | | @*<a class="btn btn-success" href="javascript:void(0)" onclick="printPosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">打印</span> |
| | | </a>*@ |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition(1);" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">保存</span> |
| | | </a> |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition(2);" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">提交</span> |
| | | </a> |
| | | <input type="hidden" id="Status" name="Status" value="0" /> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | |
| | | |
| | | // 保存岗位信息 |
| | | var savePosition = function () { |
| | | var savePosition = function (Status) { |
| | | |
| | | if ($.trim($("#GysName").val()) == '') { |
| | | toastr.warning("质疑供应商不能为空"); |
| | |
| | | toastr.warning("副本数量不能为空"); |
| | | return; |
| | | } |
| | | |
| | | $("#Status").val(Status); |
| | | |
| | | //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" } |
| | | $.ajax({ |
| | |
| | | parent.layer.msg('成功保存', { icon: 6 }); |
| | | //window.location = "/Project/add?id=" + data.ReturnID; |
| | | |
| | | if (Status == 1) { |
| | | _reloadPageData(); |
| | | } else { |
| | | try { |
| | | _pageAutoClose();//自动关闭页面方法 |
| | | } |
| | | catch (err) { |
| | | parent._CloseTab1("/CooperOrder/EditZhiyihan"); |
| | | } |
| | | } |
| | | |
| | | try { |
| | | _pageAutoClose();//自动关闭页面方法 |
| | | } |
| | | catch (err) { |
| | | parent._CloseTab1("/CooperOrder/EditZhiyihan"); |
| | | } |
| | | |
| | | } |
| | | else { |
| | |
| | | } |
| | | |
| | | function Questionchangge(i) { |
| | | var Question = document.getElementsByName("Question")[i]; |
| | | var sss = Question.value; |
| | | var index = Question.selectedIndex; // 选中索引 |
| | | var text = Question.options[index].text; // 选中文本 |
| | | $("#Questionname" + i).val(text); |
| | | |
| | | var sss = document.getElementsByName("Question")[i].value; |
| | | var challengeItemId = document.getElementsByName("challengeItemId")[i].value; |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/CooperOrder/getQuestionLaw?id=" + sss + "&no=" + i, |
| | | url: "/CooperOrder/getQuestionLaw?id=" + sss + "&no=" + i + "&challengeItemId=" + challengeItemId, |
| | | dataType: "json", |
| | | global: false, |
| | | data: "", |
| | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label> |
| | | <div class="col-sm-8 col-md-8" > |
| | | 《` + data.DataList[i].CodeSn + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + ` |
| | | 《` + data.DataList[i].Classify3 + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + ` |
| | | |
| | | </div> |
| | | |
| | | <input type="hidden" name="Law" value="` + data.DataList[i].CodeSn + `" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="` + data.Remark + `" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </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+1) + `</label> |
| | | <div class="col-sm-8 col-md-8" > |
| | | 《` + data.DataList[i].CodeSn + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + ` |
| | | 《` + data.DataList[i].Classify3 + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + ` |
| | | |
| | | </div> |
| | | |
| | | <input type="hidden" name="Law" value="` + data.DataList[i].CodeSn + `" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="` + data.Remark + `" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | |
| | | `; |
| | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | else { |
| | |
| | | |
| | | falvyijuhtml += ` </div> `; |
| | | |
| | | falvyijuhtml += ` |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addlawinfo('` + data.Remark2 + `')" data-type="1">新增法律依据</button> |
| | | </div> |
| | | </div> |
| | | `; |
| | | falvyiju.html(falvyijuhtml); |
| | | |
| | | |
| | |
| | | |
| | | |
| | | function addzhiyishouquan(obj) { |
| | | $("#zhiyishouquan").show(); |
| | | $("#zhiyishouquan").toggle(); |
| | | //var sss = document.getElementsByName("zhiyiShouquandaibiao").length; |
| | | |
| | | //$('#zhiyishouquan').append(` <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | |
| | | function addzhiyishixiang(obj) { |
| | | var sss = document.getElementsByName("Question").length; |
| | | if (document.getElementsByName("Question").length == 1) { |
| | | |
| | | |
| | | $('#Questionlabel').text("质疑事项1"); |
| | | $('#Evidentiallabel').text("事实依据1"); |
| | | $('#Evidentiallabel').text("事实依据"); |
| | | } |
| | | |
| | | $('#zhiyishixiang').append(` |
| | | $('#zhiyishixiang').append(` <div class="zhiyishixiangitem"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">质疑事项`+ (sss+1) + `</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | |
| | | } |
| | | |
| | | </select> |
| | | |
| | | <input type="hidden" name="challengeItemId" value="`+ (guid()) + `" /> |
| | | </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">编辑质疑事项</label> |
| | | <div class="col-sm-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑质疑事项" id="Questionname`+ sss + `" name="Questionname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value=""> |
| | | |
| | | </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">事实依据`+ (sss + 1) + `</label> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">事实依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据`+ sss + `" isempty="" maxlength="3500" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'"></textarea> |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据" isempty="" maxlength="3500" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'"></textarea> |
| | | </div> |
| | | </div> |
| | | <div id="falvyiju`+ sss + `"> |
| | |
| | | |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | `); |
| | | $("select" + sss).chosen(); |
| | | } |
| | |
| | | } |
| | | |
| | | var _reloadPageData = function () { |
| | | window.location = "/CooperOrder/EditTousushu?id=" + $("#OrderId").val(); |
| | | window.location = "/CooperOrder/EditZhiyihan?id=" + $("#OrderId").val(); |
| | | } |
| | | var _reloadPageData1 = function (ReturnID) { |
| | | window.location = "/CooperOrder/EditZhiyihan?id=" + $("#OrderId").val() + "&ReturnID=" + ReturnID; |
| | | } |
| | | var addquestion = function () { |
| | | OpenWindow("新增质疑事项", "98%", "90%", "/SysCode/Editquestion/"); |
| | | } |
| | | |
| | | var addrequestinfo = function () { |
| | | OpenWindow("新增质疑请求", "98%", "90%", "/SysCode/Editrequestinfo/"); |
| | | OpenWindow("新增质疑请求", "98%", "90%", "/SysCode/Editrequestinfozidingyi/"); |
| | | } |
| | | var addlawinfo = function (question) { |
| | | OpenWindow("新增法律依据", "98%", "90%", "/SysCode/Editlawzidingyi?Classify1=" + question); |
| | | } |
| | | |
| | | |
| | | //function PrintNumzichangge() { |
| | | // var sss = $('#PrintNumzi').val(); |
| | | // $('#PrintNum').val(sss); |
| | | //} |
| | | |
| | | $(document).ready(function () { |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /* PrintNumzichangge();*/ |
| | | |
| | | }); |
| | | |
| | | function delBtn(obj) { |
| | | var num = $(obj).data().type; |
| | | console.log(num) |
| | | |
| | | if (num == 1) { |
| | | if ($('#zhiyishixiang').find('.zhiyishixiangitem').length > 1) { |
| | | $('#zhiyishixiang').find('.zhiyishixiangitem:last').remove(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | function delBtnxiangguanqingqiu(obj) { |
| | | var num = $(obj).data().type; |
| | | console.log(num) |
| | | |
| | | if (num == 1) { |
| | | if ($('#xiangguanqingqiu').find('.xiangguanqingqiuitem').length > 1) { |
| | | $('#xiangguanqingqiu').find('.xiangguanqingqiuitem:last').remove(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | function addxiangguanqingqiu(obj) { |
| | | var sss = document.getElementsByName("RequestInfos").length; |
| | | if (document.getElementsByName("RequestInfos").length == 1) { |
| | | |
| | | $('#RequestInfolabel').text("请求1"); |
| | | } |
| | | |
| | | $('#xiangguanqingqiu').append(` <div class="xiangguanqingqiuitem"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">请求`+ (sss+1) + `</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="RequestInfos" data-placeholder="选择 序列 ..." onchange="RequestInfochangge(`+ sss + `);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in request_info) |
| | | { |
| | | |
| | | <option value="@item.CodeSn" hassubinfo="true" > |
| | | @item.Comments |
| | | </option> |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | <input type="hidden" name="challengeItemId" value="`+ (guid()) + `" /> |
| | | </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">编辑请求</label> |
| | | <div class="col-sm-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑请求" id="RequestInfoname`+ sss + `" name="RequestInfoname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value=""> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div> |
| | | `); |
| | | $("select" + sss).chosen(); |
| | | } |
| | | |
| | | |
| | | function RequestInfochangge(i) { |
| | | var RequestInfo = document.getElementsByName("RequestInfos")[i]; |
| | | /* var sss = RequestInfo.value;*/ |
| | | var index = RequestInfo.selectedIndex; // 选中索引 |
| | | var text = RequestInfo.options[index].text; // 选中文本 |
| | | $("#RequestInfoname" + i).val(text); |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | function dellawBtn(obj) { |
| | | |
| | | $(obj).parent().parent().remove(); |
| | | |
| | | |
| | | } |
| | | |
| | | function guid() { |
| | | function S4() { |
| | | return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1); |
| | | } |
| | | return (S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4()); |
| | | } |
| | | |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |