| | |
| | | List<Area> shi = ViewData["shi"] as List<Area>; //市 |
| | | List<Area> quxian = ViewData["quxian"] as List<Area>; //区县 |
| | | List<SysCodeDtl> flbx = ViewData["flbx"] as List<SysCodeDtl>; //问题类型 |
| | | |
| | | |
| | | List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>; |
| | | |
| | | List<Projectreason> projectreasons = Model.projectreasons; |
| | | |
| | |
| | | <div class="col-sm-2 col-md-2" style="width:10%;"> |
| | | <input class="form-control" label="报价" name="Price" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Projectzhongbiaos[i].Price"> |
| | | <input type="hidden" name="ZhongbiaoId" value="@Projectzhongbiaos[i].ZhongbiaoId" /> |
| | | <input type="hidden" name="ZbZhiyistatus" value="@Projectzhongbiaos[i].ZbZhiyistatus" /> |
| | | <input type="hidden" name="ZbZhiyishijian" value="@Projectzhongbiaos[i].ZbZhiyishijian" /> |
| | | <input type="hidden" name="ZbZhiyichengli" value="@Projectzhongbiaos[i].ZbZhiyichengli" /> |
| | | <input type="hidden" name="ZbTousustatus" value="@Projectzhongbiaos[i].ZbTousustatus" /> |
| | | <input type="hidden" name="ZbTousushijian" value="@Projectzhongbiaos[i].ZbTousushijian" /> |
| | | <input type="hidden" name="ZbTousuchengli" value="@Projectzhongbiaos[i].ZbTousuchengli" /> |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label" style="width:60px;">评审得分</label> |
| | | <div class="col-sm-2 col-md-2" style="width:10%;"> |
| | |
| | | <button type="button" onclick="_pageAdd('@Projectzhongbiaos[i].Names')" data-type="1" style="color:red;">添加供应商</button> |
| | | } |
| | | |
| | | |
| | | </div> |
| | | <div class="col-sm-1 col-md-1" style="width: 120px;"> |
| | | |
| | | <button type="button" onclick="zhiyi('@Model.Id','@Projectzhongbiaos[i].ZhongbiaoId','1','@(Projectzhongbiaos[i].Names)质疑')" data-type="1">@(Projectzhongbiaos[i].ZbZhiyistatus == "A"? "已质疑" : "质疑") </button> |
| | | |
| | | <button type="button" onclick="tousu('@Model.Id','@Projectzhongbiaos[i].ZhongbiaoId','1','@(Projectzhongbiaos[i].Names)投诉')" data-type="1">@(Projectzhongbiaos[i].ZbTousustatus == "A"? "已投诉" : "投诉") </button> |
| | | |
| | | </div> |
| | | @if (i == 0) |
| | |
| | | |
| | | |
| | | </div> |
| | | <div class="col-sm-1 col-md-1" style="width: 120px;"> |
| | | |
| | | <button type="button" onclick="zhiyi('@Model.Id','','2','@(Model.Drhx)质疑')" data-type="1">@(Model.DehxZhiyistatus == "A"? "已质疑" : "质疑") </button> |
| | | |
| | | <button type="button" onclick="tousu('@Model.Id','','2','@(Model.Drhx)投诉')" data-type="1">@(Model.DehxTousustatus == "A"? "已投诉" : "投诉") </button> |
| | | |
| | | |
| | | </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> |
| | | <div class="col-sm-1 col-md-1" style="width: 120px;"> |
| | | |
| | | <button type="button" onclick="zhiyi('@Model.Id','','3','@(Model.Dshx)质疑')" data-type="1">@(Model.DshxZhiyistatus == "A"? "已质疑" : "质疑") </button> |
| | | |
| | | <button type="button" onclick="tousu('@Model.Id','','3','@(Model.Dshx)投诉')" data-type="1">@(Model.DshxTousustatus == "A"? "已投诉" : "投诉") </button> |
| | | |
| | | </div> |
| | | </div> |
| | | <div id="addlist_2"> |
| | | @for (int i = 0; i < Projectyouxiaos.Count; i++) |
| | |
| | | <input class="form-control" label="公告时间" name="namesyouxiao" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Projectyouxiaos[i].Namesyouxiao"> |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label" style="width:30px;">报价</label> |
| | | <div class="col-sm-2 col-md-2" style="width:10%;"> |
| | | <div class="col-sm-2 col-md-2" style="width:10%;"> |
| | | <input class="form-control" label="公告时间" name="priceyouxiao" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Projectyouxiaos[i].Priceyouxiao"> |
| | | <input type="hidden" name="YouxiaoId" value="@Projectyouxiaos[i].YouxiaoId" /> |
| | | <input type="hidden" name="YxZhiyistatus" value="@Projectyouxiaos[i].YxZhiyistatus" /> |
| | | <input type="hidden" name="YxZhiyishijian" value="@Projectyouxiaos[i].YxZhiyishijian" /> |
| | | <input type="hidden" name="YxZhiyichengli" value="@Projectyouxiaos[i].YxZhiyichengli" /> |
| | | <input type="hidden" name="YxTousustatus" value="@Projectyouxiaos[i].YxTousustatus" /> |
| | | <input type="hidden" name="YxTousushijian" value="@Projectyouxiaos[i].YxTousushijian" /> |
| | | <input type="hidden" name="YxTousuchengli" value="@Projectyouxiaos[i].YxTousuchengli" /> |
| | | </div> |
| | | <div class="col-sm-1 col-md-1" style="width:100px;"> |
| | | <div class="col-sm-1 col-md-1" style="width:100px;"> |
| | | @if (Projectyouxiaos[i].ProjectId != null && Projectyouxiaos[i].ProjectId == "yes") |
| | | { |
| | | <button type="button" data-type="1" >添加供应商</button> |
| | | <button type="button" data-type="1">添加供应商</button> |
| | | } |
| | | else |
| | | { |
| | | <button type="button" onclick="_pageAdd('@Projectyouxiaos[i].Namesyouxiao')" data-type="1" style="color:red;">添加供应商</button> |
| | | } |
| | | |
| | | |
| | | </div> |
| | | <div class="col-sm-1 col-md-1" style="width: 120px;"> |
| | | |
| | | <button type="button" onclick="zhiyi('@Model.Id','@Projectyouxiaos[i].YouxiaoId','4','@(Projectyouxiaos[i].Namesyouxiao)质疑')" data-type="1">@(Projectyouxiaos[i].YxZhiyistatus == "A"? "已质疑" : "质疑") </button> |
| | | |
| | | <button type="button" onclick="tousu('@Model.Id','@Projectyouxiaos[i].YouxiaoId','4','@(Projectyouxiaos[i].Namesyouxiao)投诉')" data-type="1">@(Projectyouxiaos[i].YxTousustatus == "A"? "已投诉" : "投诉") </button> |
| | | |
| | | </div> |
| | | @if (i == 0) |
| | |
| | | <input class="form-control" label="无效供应商" name="reasonname" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="500" ismust="true" type="text" value="@projectreasons[i].Reasonname"> |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label" style="width:30px;">原因</label> |
| | | <div class="col-sm-2 col-md-2" style="width:10%;"> |
| | | <div class="col-sm-2 col-md-2" style="width:10%;"> |
| | | @*<textarea class="form-control bt" name="reasonremark" maxlength="4000" title="原因" isempty="" length="long">@projectreasons[i].Reasonremark</textarea>*@ |
| | | <input class="form-control" label="原因" name="reasonremark" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="@projectreasons[i].Reasonremark"> |
| | | <input type="hidden" name="ReasonId" value="@projectreasons[i].ReasonId" /> |
| | | |
| | | <input type="hidden" name="WxZhiyistatus" value="@projectreasons[i].WxZhiyistatus" /> |
| | | <input type="hidden" name="WxZhiyishijian" value="@projectreasons[i].WxZhiyishijian" /> |
| | | <input type="hidden" name="WxZhiyichengli" value="@projectreasons[i].WxZhiyichengli" /> |
| | | <input type="hidden" name="WxTousustatus" value="@projectreasons[i].WxTousustatus" /> |
| | | <input type="hidden" name="WxTousushijian" value="@projectreasons[i].WxTousushijian" /> |
| | | <input type="hidden" name="WxTousuchengli" value="@projectreasons[i].WxTousuchengli" /> |
| | | |
| | | </div> |
| | | <div class="col-sm-1 col-md-1" style="width:100px;"> |
| | | @if (projectreasons[i].ProjectId != null && projectreasons[i].ProjectId == "yes") |
| | | { |
| | | <button type="button" data-type="1" >添加供应商</button> |
| | | <button type="button" data-type="1">添加供应商</button> |
| | | } |
| | | else |
| | | { |
| | | <button type="button" onclick="_pageAdd('@projectreasons[i].Reasonname')" data-type="1" style="color:red;">添加供应商</button> |
| | | } |
| | | |
| | | |
| | | </div> |
| | | <div class="col-sm-1 col-md-1" style="width:120px;"> |
| | | |
| | | <button type="button" onclick="zhiyi('@Model.Id','@projectreasons[i].ReasonId','5','@(projectreasons[i].Reasonname)质疑')" data-type="1">@(projectreasons[i].WxZhiyistatus == "A"? "已质疑" : "质疑") </button> |
| | | |
| | | <button type="button" onclick="tousu('@Model.Id','@projectreasons[i].ReasonId','5','@(projectreasons[i].Reasonname)投诉')" data-type="1">@(projectreasons[i].WxTousustatus == "A"? "已投诉" : "投诉") </button> |
| | | |
| | | |
| | | </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> |
| | |
| | | <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=""> |
| | | <input type="hidden" name="ZhongbiaoId" value="" /> |
| | | <input type="hidden" name="ZbZhiyistatus" /> |
| | | <input type="hidden" name="ZbZhiyishijian" /> |
| | | <input type="hidden" name="ZbZhiyichengli" /> |
| | | <input type="hidden" name="ZbTousustatus" /> |
| | | <input type="hidden" name="ZbTousushijian" /> |
| | | <input type="hidden" name="ZbTousuchengli" /> |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label" style="width:60px;">评审得分</label> |
| | | <div class="col-sm-2 col-md-2" style="width:10%;"> |
| | |
| | | <div class="col-sm-2 col-md-2" style="width:10%;"> |
| | | <input class="form-control" label="公告时间" name="Priceyouxiao" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value=""> |
| | | <input type="hidden" name="YouxiaoId" value="" /> |
| | | <input type="hidden" name="YxZhiyistatus" /> |
| | | <input type="hidden" name="YxZhiyishijian" /> |
| | | <input type="hidden" name="YxZhiyichengli" /> |
| | | <input type="hidden" name="YxTousustatus" /> |
| | | <input type="hidden" name="YxTousushijian" /> |
| | | <input type="hidden" name="YxTousuchengli" /> |
| | | </div> |
| | | |
| | | |
| | |
| | | |
| | | <input class="form-control" label="原因" name="reasonremark" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value=""> |
| | | <input type="hidden" name="ReasonId" value="" /> |
| | | <input type="hidden" name="WxZhiyistatus" /> |
| | | <input type="hidden" name="WxZhiyishijian" /> |
| | | <input type="hidden" name="WxZhiyichengli" /> |
| | | <input type="hidden" name="WxTousustatus" /> |
| | | <input type="hidden" name="WxTousushijian" /> |
| | | <input type="hidden" name="WxTousuchengli" /> |
| | | </div> |
| | | |
| | | |
| | |
| | | starttime.val(data.StartTimestr); |
| | | var Number = $("#Number"); |
| | | Number.val(data.Number); |
| | | var Caigouyusuan = $("#Caigouyusuan"); |
| | | Caigouyusuan.val(data.CaigouyusuanName); |
| | | var Fbyy = $("#Fbyy"); |
| | | Fbyy.val(data.Fbyy); |
| | | var Fblx = $("#Fblx"); |
| | | Fblx.val(data.Fblx); |
| | | |
| | | var Name = $("#Name"); |
| | | Name.val(data.Name); |
| | | var Zhuanjia = $("#Zhuanjia"); |
| | |
| | | var oTr = document.createElement('div'); |
| | | $('#addlist_1').append(oTr); |
| | | $(oTr).html('<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-6 col-md-6">' |
| | | +'<div class="col-sm-4 col-md-4">' |
| | | + '<input class="form-control" label="中标(成交)供应商" name="Names" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="' + data.Projectzhongbiaos[i].Names+'">' |
| | | + '</div>' |
| | | + '<label class="text-right col-sm-1 col-md-1 control-label" style="width:30px;">报价</label>' |
| | | + '<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="ZbZhiyishijian" />' |
| | | + '<input type="hidden" name="ZbZhiyichengli" />' |
| | | + '<input type="hidden" name="ZbTousustatus" />' |
| | | + '<input type="hidden" name="ZbTousushijian" />' |
| | | + '<input type="hidden" name="ZbTousuchengli" />' |
| | | + ' </div>' |
| | | + ' <label class="text-right col-sm-1 col-md-1 control-label" style="width:60px;">评审得分</label>' |
| | | + ' <div class="col-sm-2 col-md-2" style="width:10%;">' |
| | | + ' <input class="form-control" label="评审得分" name="Defen" id="Defen" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)" >' |
| | | +' </div>' |
| | | + '<div class="col-sm-1 col-md-1" style="width:100px;">' |
| | | + '<button type = "button" onclick = "_pageAdd(\'' + data.Projectzhongbiaos[i].Names +'\')" data - type="1" style="color:red;" >添加供应商</button >' |
| | | + ' </div>' |
| | |
| | | function _pageAdd(namecus) { |
| | | OpenWindow("新增意向客户", "98%", "90%", "/IntentionCustomer/Edit?namecus=" + namecus); |
| | | } |
| | | |
| | | var ActionInfo22 = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ActionInfo2))'; |
| | | |
| | | |
| | | |
| | | $(function () { |
| | | var data = JSON.parse(ActionInfo22); |
| | | for (var o in data) { |
| | | $("." + data[o].PageShortcut).show(); |
| | | |
| | | } |
| | | }); |
| | | |
| | | function zhiyi(projectid, mingid, type, title) { |
| | | if ((type == "1" || type == "4" || type == "5") && mingid == "") { |
| | | parent.layer.msg('无供应商', { icon: 5 }); |
| | | return; |
| | | } |
| | | |
| | | OpenWindow(title, "50%", "60%", "/Project/Zhiyi?projectid=" + projectid + "&mingid=" + mingid + "&type=" + type); |
| | | |
| | | } |
| | | |
| | | function tousu(projectid, mingid, type, title) { |
| | | if ((type == "1" || type == "4" || type == "5") && mingid == "") { |
| | | parent.layer.msg('无供应商', { icon: 5 }); |
| | | return; |
| | | } |
| | | OpenWindow(title, "50%", "60%", "/Project/Tousu?projectid=" + projectid + "&mingid=" + mingid + "&type=" + type); |
| | | |
| | | } |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |