| | |
| | | List<SysCodeDtl> zw = ViewData["zw"] as List<SysCodeDtl>; //职务 |
| | | List<SysCodeDtl> yx = ViewData["yx"] as List<SysCodeDtl>; //成交意向 |
| | | List<SysCodeDtl> jy = ViewData["jy"] as List<SysCodeDtl>; //跟踪建议 |
| | | string IsYwjl = ViewBag.IsYwjl as string; |
| | | |
| | | |
| | | List<IntentionVisitDuanxinDTO> Duanxin = ViewData["Duanxin"] as List<IntentionVisitDuanxinDTO>; //短信 |
| | | |
| | | List<IntentionVisitDTO> visitlishi = ViewData["visitlishi"] as List<IntentionVisitDTO>; //意向客户 |
| | | |
| | | } |
| | | @{ |
| | |
| | | padding-right: 0px; |
| | | font-weight: 400; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | table { |
| | | border-collapse: collapse; |
| | | border: none; |
| | | width: 900px; |
| | | margin-left: 0px; |
| | | text-align: center; |
| | | } |
| | | |
| | | td { |
| | | border: solid #000000 1px; |
| | | height: 30px; |
| | | } |
| | | |
| | | |
| | | </style> |
| | | |
| | | <!-- jqgrid--> |
| | |
| | | |
| | | </select> |
| | | <input type="hidden" id="Id" name="Id" value="@Model.Id" /> |
| | | <input type="hidden" id="IsYwjl" name="IsYwjl" value="@IsYwjl" /> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | |
| | | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">接待人<i class="red">*</i></label> |
| | | <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="Jdr" id="Jdr" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Jdr"> |
| | | |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">职务<i class="red">*</i></label> |
| | | <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="Zw" class="form-control" name="Zw" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | |
| | | </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"> |
| | | <select id="Duanxin" class="form-control" name="Duanxin" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in Duanxin) |
| | | { |
| | | |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.DuanxinTitle |
| | | </option> |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | </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">短信内容</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | <textarea class="form-control bt" id="DuanxinNeirong" name="DuanxinNeirong" title="短信内容" isempty="" maxlength="4000" 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'">@Model.DuanxinNeirong</textarea> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | @if (visitlishi.Count > 0) |
| | | { |
| | | <table class="col-sm-12 col-md-12"> |
| | | @{ |
| | | int i = 1; |
| | | } |
| | | <tr> |
| | | <td style="width:4%;"> 编号</td> |
| | | <td style="width:7%;"> 拜访时间</td> |
| | | |
| | | <td style="width:14%;"> 客户单位</td> |
| | | <td style="width:7%;"> 拜访方式</td> |
| | | <td style="width:7%;"> 接待人</td> |
| | | <td style="width:7%;"> 职务</td> |
| | | <td style="width:14%;"> 交谈类容</td> |
| | | <td style="width:14%;"> 客户反馈</td> |
| | | <td style="width:7%;"> 成交意向</td> |
| | | <td style="width:7%;"> 跟踪建议</td> |
| | | <td style="width:7%;"> 访问人</td> |
| | | </tr> |
| | | @foreach (var visitDTO in visitlishi) |
| | | { |
| | | <tr> |
| | | <td> @i</td> |
| | | <td> @visitDTO.VistimeName</td> |
| | | <td> @visitDTO.Name</td> |
| | | <td> @visitDTO.VisTypeName</td> |
| | | <td> @visitDTO.Jdr</td> |
| | | <td> @visitDTO.ZwName</td> |
| | | <td> @visitDTO.Talk</td> |
| | | <td> @visitDTO.Khfk</td> |
| | | <td> @visitDTO.YxName</td> |
| | | <td> @visitDTO.JyName</td> |
| | | <td> @visitDTO.CreaterName</td> |
| | | </tr> |
| | | |
| | | i++; |
| | | } |
| | | </table> |
| | | } |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | </form> |
| | | <script type="text/javascript"> |
| | | |
| | | var DuanxinNeirong = document.getElementById("DuanxinNeirong"); |
| | | |
| | | DuanxinNeirong.style.height = DuanxinNeirong.scrollHeight + 'px'; |
| | | |
| | | var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 - 95; |
| | | $("#div_content").height(hh); |
| | | |
| | |
| | | toastr.warning("访问业务不能为空"); |
| | | return; |
| | | }; |
| | | |
| | | //if ($("#Zw").val() == '') { |
| | | // toastr.warning("职务不能为空"); |
| | | // return; |
| | | //}; |
| | | |
| | | if ($("#Jdr").val() == '') { |
| | | toastr.warning("接待人不能为空"); |
| | | return; |
| | | } |
| | | //if ($("#Jdr").val() == '') { |
| | | // toastr.warning("接待人不能为空"); |
| | | // return; |
| | | //} |
| | | |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | $("#Duanxin").change(function () { |
| | | var sheng = $("#Duanxin").val(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/IntentionVisit/getDuanxin?id=" + sheng, |
| | | dataType: "json", |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | if (data.Result) { |
| | | $("#DuanxinNeirong").val(data.Message); |
| | | var DuanxinNeirong = document.getElementById("DuanxinNeirong"); |
| | | |
| | | DuanxinNeirong.style.height = DuanxinNeirong.scrollHeight + 'px'; |
| | | } else { |
| | | parent.layer.msg('查询失败', { icon: 5 }); |
| | | } |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('查询失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | function _pageAutoClose() { |
| | | parent.window._reloadPageData(); |