| | |
| | | |
| | | List<TChallengeletterDTO> ChallengeletterChosen = ViewData["ChallengeletterChosen"] as List<TChallengeletterDTO>; |
| | | |
| | | List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>; |
| | | } |
| | | @{ |
| | | Layout = null; |
| | |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in customer) |
| | | { |
| | | @if (!item.Id.Equals(Model.Khdw)) |
| | | @if (!item.Id.Equals(Model.Khdw)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.Name |
| | | </option> |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.Name |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.Name |
| | | </option> |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.Name |
| | | </option> |
| | | } |
| | | |
| | | } |
| | |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in OrderType) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.OrderType)) |
| | | @if (!item.CodeSn.Equals(Model.OrderType)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | |
| | | <input type="hidden" id="order_type1" name="order_type1" value="@Model.OrderType1" /> |
| | | <input type="hidden" id="order_type2" name="order_type2" value="@Model.OrderType2" /> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label" id="dingdanleixing4">订单类型2</label> |
| | | <div class="col-sm-2 col-md-2" id="dingdanleixing5"> |
| | | <input class="form-control" label="客户名称" name="OrderType3" id="OrderType3" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.OrderType2" maxlength="50"> |
| | | |
| | | </div> |
| | | |
| | | |
| | | @*<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"> |
| | |
| | | |
| | | <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"> |
| | | <input class="form-control" label="客户名称" name="OrderNum" id="OrderNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.OrderNum" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')"> |
| | | <input class="form-control" label="客户名称" name="OrderNum" id="OrderNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.OrderNum" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')"> |
| | | |
| | | </div> |
| | | |
| | | <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"> |
| | | <input class="form-control" label="客户名称" name="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Price" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | <input class="form-control" label="客户名称" name="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.Price" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | <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"> |
| | | <input class="form-control" label="客户名称" name="Money" id="Money" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Money" oninput="if(value.length>8)value=value.slice(0,18)" readonly="readonly"> |
| | | <input class="form-control" label="客户名称" name="Money" id="Money" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.Money" oninput="if(value.length>8)value=value.slice(0,18)" readonly="readonly"> |
| | | |
| | | </div> |
| | | |
| | |
| | | |
| | | </div> |
| | | |
| | | <div id="xiangmuxinxi"> |
| | | <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"> |
| | | <input class="form-control" label="项目名称" name="Xmname" id="Xmname" labtype="txt" addvisible="true" maxlength="500" 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="Xmcode" id="Xmcode" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Xmcode"> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <div id="jichujine"> |
| | | <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"> |
| | | <input class="form-control" label="基础金额" name="Jichumoney" id="Jichumoney" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@(Model.Jichumoney.HasValue?Model.Jichumoney.Value.ToString():"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <div id="zhiyi"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | |
| | | |
| | | </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> |
| | |
| | | <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> |
| | |
| | | |
| | | <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="@challengeletterDTO.XmPackage"> |
| | | |
| | | <div class="input-group"> |
| | | <input type="text" name="zhiyiXmPackage" id="zhiyiXmPackage" class="form-control" value="@(string.IsNullOrEmpty(Model.Id)?"第1包":challengeletterDTO.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> |
| | | |
| | | <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"> |
| | | <select id="TsrId" class="form-control" name="TsrId" data-placeholder="选择 序列 ..." onchange="TsrIdchangge();"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in ChallengeletterChosen) |
| | | { |
| | | @if (!item.Id.Equals(complaintletterDTO.TsrId)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.OrderId |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.OrderId |
| | | </option> |
| | | } |
| | | @*<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"> |
| | | <select id="TsrId" class="form-control" name="TsrId" data-placeholder="选择 序列 ..." onchange="TsrIdchangge();"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in ChallengeletterChosen) |
| | | { |
| | | @if (!item.Id.Equals(complaintletterDTO.TsrId)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.OrderId |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.OrderId |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | </select> |
| | | </div> |
| | | </select> |
| | | </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 id="beitousuren"> |
| | | @for (int i = 0; i < complaintRespondentDTOs.Count; i++) |
| | | { |
| | | @if (complaintRespondentDTOs.Count==1) |
| | | @if (complaintRespondentDTOs.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">被投诉人<i class="red">*</i></label> |
| | |
| | | |
| | | </div> |
| | | |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addbeitousuren(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-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addxiangguangongyingshang(this)" data-type="1">相关供应商</button> |
| | | |
| | | <button type="button" class="addBtn" onclick="addbeitousuren(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 id="xiangguangongyingshang"> |
| | |
| | | } |
| | | </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="addxiangguangongyingshang(this)" data-type="2" style="width:32px">+</button> |
| | | <button type="button" class="delBtn" onclick="delBtn(this)" data-type="2" style="width:32px">-</button> |
| | | </div> |
| | | </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="tousuXmPackage" id="tousuXmPackage" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.XmPackage"> |
| | | |
| | | <div class="input-group"> |
| | | <input type="text" name="tousuXmPackage" id="tousuXmPackage" class="form-control" value="@(string.IsNullOrEmpty(Model.Id)?"第1包":complaintletterDTO.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:$('#tousuXmPackage').val('第1包')">第1包</a></li> |
| | | <li><a href="javascript:$('#tousuXmPackage').val('第2包')">第2包</a></li> |
| | | <li><a href="javascript:$('#tousuXmPackage').val('第3包')">第3包</a></li> |
| | | <li><a href="javascript:$('#tousuXmPackage').val('第4包')">第4包</a></li> |
| | | <li><a href="javascript:$('#tousuXmPackage').val('第5包')">第5包</a></li> |
| | | </ul> |
| | | </div><!-- /btn-group --> |
| | | </div><!-- /input-group --> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | </select> |
| | | </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"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label" id="tousuNoticeDatelabel">公告期限</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata" id="tousuNoticeDatediv"> |
| | | <input class="form-control" label="公告期限" name="tousuNoticeDate" id="tousuNoticeDate" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.NoticeDateName" readonly="readonly"> |
| | | |
| | | </div> |
| | |
| | | </select> |
| | | </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"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label" id="tousuResultnoticeDatelabel">公告期限</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata" id="tousuResultnoticeDatediv"> |
| | | <input class="form-control" label="公告期限" name="tousuResultnoticeDate" id="tousuResultnoticeDate" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.ResultnoticeDateName" readonly="readonly"> |
| | | |
| | | </div> |
| | |
| | | <div class="wrapper wrapper-content" style="margin-top:0px"></div> |
| | | <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px "> |
| | | <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="功能按钮:“保存”,“删除”"> |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <a class="btn btn-success Delete" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;display:none;"> |
| | | <i class="glyphicon glyphicon-remove"></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 Update" href="javascript:void(0)" onclick="savePosition();" style="margin-left: 4px; border-radius: 4px; display: none;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">提交</span> |
| | | </a> |
| | | </div> |
| | |
| | | laydate({ elem: "#zhiyiDocumentsDate", format: 'YYYY-MM-DD', istime: true, event: "focus" }); |
| | | laydate({ elem: "#tousuResultnoticeDate", format: 'YYYY-MM-DD', istime: true, event: "focus" }); |
| | | laydate({ elem: "#tousuNoticeDate", format: 'YYYY-MM-DD', istime: true, event: "focus" }); |
| | | |
| | | $("#dingdanleixing4").hide(); |
| | | $("#dingdanleixing5").hide(); |
| | | |
| | | $(document).ready(function () { |
| | | if ("@ShouliStatus" != "1") { |
| | |
| | | |
| | | var id = '@Model.Id'; |
| | | var order_type = '@Model.OrderType'; |
| | | var order_type1 = $("#order_type1").val(); |
| | | var order_type2 = $("#order_type2").val(); |
| | | var order_type1 = '@Html.Raw(Model.OrderType1)';/*$("#order_type1").val();*/ |
| | | var order_type2 = '@Html.Raw(Model.OrderType2)';/*$("#order_type2").val();*/ |
| | | |
| | | var bUpload = false; |
| | | var bAdd = false; // 新增操作 |
| | |
| | | return; |
| | | } |
| | | |
| | | |
| | | |
| | | } else if ($("#OrderType1").val() == "代拟质疑函") { |
| | | if ($.trim($("#GysName").val()) == '') { |
| | | toastr.warning("质疑供应商不能为空"); |
| | |
| | | toastr.warning("采购文件获取日期不能为空"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | $("#putong").show(); |
| | | $("#zhiyi").hide(); |
| | | $("#tousu").hide(); |
| | | |
| | | if (sheng == '03' || sheng == '08') { |
| | | $("#xiangmuxinxi").show(); |
| | | } else { |
| | | $("#xiangmuxinxi").hide(); |
| | | } |
| | | |
| | | if (sheng == '08') { |
| | | $("#jichujine").show(); |
| | | } else { |
| | | $("#jichujine").hide(); |
| | | } |
| | | }); |
| | | |
| | | |
| | |
| | | |
| | | $("#dingdanleixing2").hide(); |
| | | $("#dingdanleixing3").hide(); |
| | | if (sheng == "民事纠纷" || sheng == "其他纠纷") { |
| | | $("#dingdanleixing4").show(); |
| | | $("#dingdanleixing5").show(); |
| | | } else { |
| | | $("#dingdanleixing4").hide(); |
| | | $("#dingdanleixing5").hide(); |
| | | } |
| | | |
| | | } else { |
| | | var aaa = '<option value="" hassubinfo="true">请选择</option>'; |
| | |
| | | $("#putong").show(); |
| | | $("#zhiyi").hide(); |
| | | $("#tousu").hide(); |
| | | if (OrderType == '03' || OrderType == '08') { |
| | | $("#xiangmuxinxi").show(); |
| | | } else { |
| | | $("#xiangmuxinxi").hide(); |
| | | } |
| | | |
| | | if (OrderType == '08') { |
| | | $("#jichujine").show(); |
| | | } else { |
| | | $("#jichujine").hide(); |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | |
| | | $("#OrderType2").change(function () { |
| | | |
| | | var OrderType = $("#OrderType").val(); |
| | | var OrderType1 = $("#OrderType1").val(); |
| | | var OrderType2 = $("#OrderType2").val(); |
| | |
| | | |
| | | |
| | | |
| | | if (id != null && id != '') { |
| | | if (order_type != null && order_type != '') { |
| | | |
| | | $.ajax({ |
| | | type: "GET", |
| | |
| | | |
| | | |
| | | |
| | | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/CooperOrder/getOrderType1?OrderType1=" + order_type1 + "&OrderType=" + order_type, |
| | |
| | | if (order_type != "02" || order_type1 == "电话咨询" || order_type1 == "当面咨询" || order_type1 == "代拟质疑答复" || order_type1 == "代拟投诉处理决定" || order_type1 == "竞争对手和评审专家参加政府采购数据信息查询" || order_type1 == "政采贷") { |
| | | $("#dingdanleixing2").hide(); |
| | | $("#dingdanleixing3").hide(); |
| | | if (order_type1 == "民事纠纷" || order_type1 == "其他纠纷") { |
| | | $("#dingdanleixing4").show(); |
| | | $("#dingdanleixing5").show(); |
| | | } else { |
| | | $("#dingdanleixing4").hide(); |
| | | $("#dingdanleixing5").hide(); |
| | | } |
| | | |
| | | } else { |
| | | var aaa = ''; |
| | |
| | | |
| | | |
| | | |
| | | |
| | | if (id == null || id == '') { |
| | | $("#OrderType2").trigger("change"); |
| | | } |
| | | |
| | | |
| | | }, |
| | |
| | | } |
| | | }); |
| | | |
| | | |
| | | if (order_type == '03' || order_type == '08') { |
| | | $("#xiangmuxinxi").show(); |
| | | } else { |
| | | $("#xiangmuxinxi").hide(); |
| | | } |
| | | |
| | | if (order_type == '08') { |
| | | $("#jichujine").show(); |
| | | } else { |
| | | $("#jichujine").hide(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | $(document).ready(function () { |
| | | |
| | |
| | | $("#putong").show(); |
| | | $("#zhiyi").hide(); |
| | | $("#tousu").hide(); |
| | | if ($("#OrderType").val() == '03' || $("#OrderType").val() == '08') { |
| | | $("#xiangmuxinxi").show(); |
| | | } else { |
| | | $("#xiangmuxinxi").hide(); |
| | | } |
| | | |
| | | if (sheng == '08') { |
| | | $("#jichujine").show(); |
| | | } else { |
| | | $("#jichujine").hide(); |
| | | } |
| | | } |
| | | } else { |
| | | $("#putong").show(); |
| | | $("#zhiyi").hide(); |
| | | $("#tousu").hide(); |
| | | if ($("#OrderType").val() == '03' || $("#OrderType").val() == '08') { |
| | | $("#xiangmuxinxi").show(); |
| | | } else { |
| | | $("#xiangmuxinxi").hide(); |
| | | } |
| | | |
| | | if ($("#OrderType").val() == '08') { |
| | | $("#jichujine").show(); |
| | | } else { |
| | | $("#jichujine").hide(); |
| | | } |
| | | } |
| | | |
| | | if ($("#zhiyiShouquandaibiao").val() != "") { |
| | |
| | | } else { |
| | | $("#tousushouquan").hide(); |
| | | } |
| | | |
| | | |
| | | var sheng = $("#OrderType").val(); |
| | | if (sheng == '08' || sheng == '11' || sheng == '10') { |
| | | $('#Price').removeAttr("readonly");//去除input元素的readonly属性 |
| | | } else { |
| | | $('#Price').attr("readonly", "readonly")//将input元素设置为readonly |
| | | } |
| | | |
| | | $("#TsrId").chosen(); |
| | | |
| | | }); |
| | | $("#TsrId").chosen(); |
| | | |
| | | }); |
| | | |
| | | |
| | | $("#Khdw").change(function () { |
| | |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | |
| | | |
| | | |
| | | $("#Shr").val(data.ShrName); |
| | | $("#ShrAddress").val(data.ShrAddress); |
| | | $("#ShrTel").val(data.ShrTel); |
| | | |
| | | $("#GysName").val(data.Name); |
| | | $("#GysName").val(data.Name); |
| | | $("#GysAddress").val(data.Address); |
| | | $("#GysContacts").val(data.FName); |
| | | $("#GysPhone").val(data.FTel); |
| | |
| | | $("#TsrPostcode").val(data.Postal); |
| | | $("#TsrCorporation").val(data.FName); |
| | | $("#TsrPhone").val(data.FTel); |
| | | |
| | | |
| | | }, |
| | | error: function () { |
| | | |
| | |
| | | |
| | | |
| | | 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 addtousushouquan(obj) { |
| | | $("#tousushouquan").show(); |
| | | $("#tousushouquan").toggle(); |
| | | //var sss = document.getElementsByName("tousuShouquandaibiao").length; |
| | | |
| | | //$('#tousushouquan').append(` <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | |
| | | <input class="form-control" label="相关供应商`+ sss + `" name="Gongytingshang" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value=""> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | |
| | | //$('#zhiyishixiang').html(data.GysId); |
| | | //$("select").chosen(); |
| | | $("#TsrName").val(data.GysName); |
| | |
| | | $("#tousuLianxidianhua").val(data.complaintShouquandaibiaoDTOs[0].Lianxidianhua); |
| | | $("#tousuDizhi").val(data.complaintShouquandaibiaoDTOs[0].Dizhi); |
| | | $("#tousuYoubian").val(data.complaintShouquandaibiaoDTOs[0].Youbian); |
| | | |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | }); |
| | | } |
| | | |
| | | |
| | | function delBtn(obj) { |
| | | var num = $(obj).data().type; |
| | | console.log(num) |
| | | |
| | | if (num == 1) { |
| | | if ($('#beitousuren').find('.clearfix').length > 3) { |
| | | $('#beitousuren').find('.clearfix:last').remove(); |
| | | $('#beitousuren').find('.clearfix:last').remove(); |
| | | $('#beitousuren').find('.clearfix:last').remove(); |
| | | } |
| | | |
| | | } else if (num == 2) { |
| | | if ($('#xiangguangongyingshang').find('.clearfix').length > 1) { |
| | | $('#xiangguangongyingshang').find('.clearfix:last').remove(); |
| | | $('#xiangguangongyingshang').find('.clearfix:last').remove(); |
| | | $('#xiangguangongyingshang').find('.clearfix:last').remove(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | $("#tousuIsNotice").change(function () { |
| | | |
| | | var OrderNum = $("#tousuIsNotice").val(); |
| | | if (OrderNum == 'D') { |
| | | $("#tousuNoticeDatelabel").hide(); |
| | | $("#tousuNoticeDatediv").hide(); |
| | | } else { |
| | | $("#tousuNoticeDatelabel").show(); |
| | | $("#tousuNoticeDatediv").show(); |
| | | } |
| | | |
| | | }); |
| | | |
| | | |
| | | $("#tousuIsResultnotice").change(function () { |
| | | |
| | | var OrderNum = $("#tousuIsResultnotice").val(); |
| | | if (OrderNum == 'D') { |
| | | $("#tousuResultnoticeDatelabel").hide(); |
| | | $("#tousuResultnoticeDatediv").hide(); |
| | | } else { |
| | | $("#tousuResultnoticeDatelabel").show(); |
| | | $("#tousuResultnoticeDatediv").show(); |
| | | } |
| | | |
| | | }); |
| | | var ActionInfo22 = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ActionInfo2))'; |
| | | |
| | | |
| | | |
| | | $(function () { |
| | | var data = JSON.parse(ActionInfo22); |
| | | for (var o in data) { |
| | | if ("@ShouliStatus" == "1") { |
| | | $("." + data[o].PageShortcut).show(); |
| | | } |
| | | |
| | | |
| | | } |
| | | }); |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |