| | |
| | | List<SysCodeDtl> InfoSource = ViewData["InfoSource"] as List<SysCodeDtl>; //客户来源 |
| | | List<SysCodeDtl> expertType = ViewData["expertType"] as List<SysCodeDtl>; //专家类型 |
| | | List<SysCodeDtl> level = ViewData["level"] as List<SysCodeDtl>; //专家等级 |
| | | List<SysCodeDtl> ReviewItem = ViewData["ReviewItem"] as List<SysCodeDtl>; //评审品目 |
| | | |
| | | } |
| | | @{ |
| | | Layout = null; |
| | | Layout = null; |
| | | } |
| | | |
| | | <!DOCTYPE html> |
| | |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | </select> |
| | | |
| | |
| | | |
| | | <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="ReviewItem" id="ReviewItem" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.ReviewItem" autocomplete="off"> |
| | | <select id="ReviewItem" class="form-control" name="ReviewItem" multiple data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in ReviewItem) |
| | | { |
| | | @if (Model.ReviewItem !=null && Model.ReviewItem.Split(',').Contains(item.CodeSn)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" > |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | </select> |
| | | |
| | | |
| | | |
| | | |
| | | </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"> |
| | | <div style="width:120px;float:left;"> |
| | | <div style="width:110px;float:left;"> |
| | | <select id="Province" class="form-control" name="Province" data-placeholder="选择 序列 ..." style="font-weight:normal;"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in Province) |
| | |
| | | |
| | | </select> |
| | | </div> |
| | | <div style="width:120px;float:left;"> |
| | | <div style="width:110px;float:left;"> |
| | | <select id="City" class="form-control" name="City" data-placeholder="选择 序列 ..." style="font-weight:normal;"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in City) |
| | |
| | | |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">联系电话</label> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">联系电话1</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input class="form-control" label="联系电话" name="Phone1" id="Phone1" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.Phone1" autocomplete="off"> |
| | | <input class="form-control" label="联系电话1" name="Phone1" id="Phone1" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.Phone1" autocomplete="off"> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">联系电话</label> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">联系电话2</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input class="form-control" label="联系电话" name="Phone2" id="Phone2" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.Phone2" autocomplete="off"> |
| | | <input class="form-control" label="联系电话2" name="Phone2" id="Phone2" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.Phone2" autocomplete="off"> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">QQ</label> |
| | |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | $("#ReviewItem").chosen({ |
| | | search_contains: true, |
| | | disable_search_threshold: 5 |
| | | }); |
| | | |
| | | |
| | | }); |
| | | |
| | | |
| | |
| | | //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" } |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "/Expert/Save", |
| | | url: "/Expert/Save?ReviewItemSelect=" + $("#ReviewItem").val(), |
| | | dataType: "json", |
| | | global: false, |
| | | data: $('form').serializeArray(), |