订单管理:
订单数量默认1
列表 订单类别 显示三级
收货人默认客户资料的收货人
订单批量打印 打印需要批量打印
回访:需要增加 接待人,回访情况,用户评价.客户意见,
送货。 送货公司,单号,时间
| | |
| | | public DateTime? Songhuotime { get; set; } |
| | | |
| | | public string OrderType1 { get; set; } |
| | | |
| | | public string OrderType1Name { get; set; } |
| | | public string OrderType2 { get; set; } |
| | | |
| | | public string SonghuoGongsi { get; set; } |
| | | public string SonghuoDanhao { get; set; } |
| | | public DateTime? SonghuoTime1 { get; set; } |
| | | public string HuifangJdr { get; set; } |
| | | public string HuifangKehuyijian { get; set; } |
| | | } |
| | | |
| | | public class CooperOrderDTOSearch : SearchEntity |
| | |
| | | public string HuifangStatussss { get; set; } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | public DateTime? Songhuotime { get; set; } |
| | | public string OrderType1 { get; set; } |
| | | public string OrderType2 { get; set; } |
| | | public string SonghuoGongsi { get; set; } |
| | | public string SonghuoDanhao { get; set; } |
| | | public DateTime? SonghuoTime1 { get; set; } |
| | | public string HuifangJdr { get; set; } |
| | | public string HuifangKehuyijian { get; set; } |
| | | } |
| | | } |
| | |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.HuifangJdr) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("huifang_jdr"); |
| | | |
| | | entity.Property(e => e.HuifangKehuyijian) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("huifang_kehuyijian"); |
| | | |
| | | entity.Property(e => e.HuifangStatus) |
| | | .HasMaxLength(2) |
| | | .HasColumnName("huifang_status") |
| | |
| | | .HasColumnName("shr_tel") |
| | | .HasComment("èç³»çµè¯"); |
| | | |
| | | entity.Property(e => e.SonghuoDanhao) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("songhuo_danhao"); |
| | | |
| | | entity.Property(e => e.SonghuoGongsi) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("songhuo_gongsi"); |
| | | |
| | | entity.Property(e => e.SonghuoStatus) |
| | | .HasMaxLength(2) |
| | | .HasColumnName("songhuo_status") |
| | | .HasDefaultValueSql("('D')") |
| | | .HasComment("éè´§ç¶æ"); |
| | | |
| | | entity.Property(e => e.SonghuoTime1) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("songhuo_time"); |
| | | |
| | | entity.Property(e => e.Songhuoer) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("songhuoer"); |
| | |
| | | updateproject.Modifier = entity.Modifier; |
| | | updateproject.Modifytime = entity.Modifytime; |
| | | |
| | | updateproject.SonghuoGongsi = entity.SonghuoGongsi; |
| | | updateproject.SonghuoDanhao = entity.SonghuoDanhao; |
| | | updateproject.SonghuoTime1 = entity.SonghuoTime1; |
| | | updateproject.HuifangJdr = entity.HuifangJdr; |
| | | updateproject.HuifangKehuyijian = entity.HuifangKehuyijian; |
| | | |
| | | } |
| | | |
| | | _context.SaveChanges(); |
| | |
| | | into ksssss |
| | | from kkk in ksssss.DefaultIfEmpty() |
| | | |
| | | join l in _context.FiBooks |
| | | on a.OrderType1 equals l.Id |
| | | into lsssss |
| | | from lll in lsssss.DefaultIfEmpty() |
| | | |
| | | join m in _context.FiMembers |
| | | on a.OrderType1 equals m.Id |
| | | into msssss |
| | | from mmm in msssss.DefaultIfEmpty() |
| | | |
| | | where a.RecStatus == "A" |
| | | && (string.IsNullOrWhiteSpace(searchEntity.XdTime) || (a.XdTime >= XdTimestart && a.XdTime <= XdTimeend)) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Ywjl) || ggg.Ywjl == searchEntity.Ywjl.Trim()) |
| | |
| | | YouhuiStatus = kkk.Id, |
| | | OrderType1 = a.OrderType1, |
| | | OrderType2 = a.OrderType2, |
| | | OrderType1Name = string.IsNullOrEmpty(lll.BookName)? string.IsNullOrEmpty(mmm.MemberType)? a.OrderType1 : mmm.MemberType : lll.BookName, |
| | | |
| | | SonghuoGongsi = a.SonghuoGongsi, |
| | | SonghuoDanhao = a.SonghuoDanhao, |
| | | SonghuoTime1 = a.SonghuoTime1, |
| | | HuifangJdr = a.HuifangJdr, |
| | | HuifangKehuyijian = a.HuifangKehuyijian, |
| | | } |
| | | ).OrderByDescending(x => x.OrderNo).ToList(); |
| | | |
| | |
| | | updateproject.SonghuoStatus = dto.SonghuoStatus; |
| | | updateproject.Songhuoer = dto.Songhuoer; |
| | | updateproject.Songhuotime = dto.Songhuotime; |
| | | updateproject.ShouliStatus = dto.ShouliStatus; |
| | | |
| | | |
| | | updateproject.SonghuoTime1 = dto.SonghuoTime1; |
| | | updateproject.SonghuoDanhao = dto.SonghuoDanhao; |
| | | updateproject.SonghuoGongsi = dto.SonghuoGongsi; |
| | | |
| | | _context.SaveChanges(); |
| | | resultEntity.ReturnID = dto.Id; |
| | |
| | | var updateproject = _context.CooperOrders.Find(dto.Id); |
| | | |
| | | |
| | | |
| | | |
| | | updateproject.HuifangKehuyijian = dto.HuifangKehuyijian; |
| | | updateproject.HuifangJdr = dto.HuifangJdr; |
| | | updateproject.Huifanger = dto.Huifanger; |
| | | updateproject.Huifangtime = dto.Huifangtime; |
| | | updateproject.HuifangStatus = dto.HuifangStatus; |
| | | updateproject.Huifangremark = dto.Huifangremark; |
| | | |
| | | updateproject.PingjiaStatus = dto.PingjiaStatus; |
| | | |
| | | _context.SaveChanges(); |
| | | resultEntity.ReturnID = dto.Id; |
| | |
| | | actionEntity1.PageIco = "fa fa-plus"; |
| | | actionEntity1.ActionName = "æ°å¢"; |
| | | actionlist.Add(actionEntity1); |
| | | |
| | | ActionEntity actionEntity3 = new ActionEntity(); |
| | | actionEntity3.OpenType = 0; |
| | | actionEntity3.ActionUrl = ""; |
| | | actionEntity3.ActionFun = "Print"; |
| | | actionEntity3.PageIco = "fa fa-print"; |
| | | actionEntity3.ActionName = "æå°"; |
| | | actionlist.Add(actionEntity3); |
| | | |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | List<PageEntity> pageEntities = _pltPageService.GetUserPage(curentuser.Id, "/CooperOrder/Index/"); |
| | |
| | | |
| | | ViewBag.PingjiaStatus = _liaotianService.GetSYScode("CooperOrder", "pingjia_status").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | ViewBag.ShouliStatus = _liaotianService.GetSYScode("CooperOrder", "shouli_status").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | return View(); |
| | | |
| | | } |
| | |
| | | actionEntity.ActionName = "æ¥è¯¢"; |
| | | actionlist.Add(actionEntity); |
| | | |
| | | |
| | | |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | ViewBag.OrderType = _liaotianService.GetSYScode("CooperVisit", "jtype").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | |
| | | else |
| | | { |
| | | dto.XdTime = DateTime.Now; |
| | | dto.OrderNum = 1; |
| | | ViewBag.ShouliStatus = "1"; |
| | | } |
| | | |
| | |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | CooperOrderDTO dto= new CooperOrderDTO(); |
| | | dto.Id = id; |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | resultEntity.Result = false; |
| | | |
| | | CooperOrderDTO dto = _cooperOrderService.Get(id); |
| | | if(dto.ShouliStatus != "1") |
| | | { |
| | | resultEntity.Result = false; |
| | | resultEntity.Message = "åªæå·²ä¸åç¶æç订åæè½åç"; |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | dto.Shoulier = curentuser.Id; |
| | | dto.Shoulitime = DateTime.Now; |
| | | dto.ShouliStatus = "2"; |
| | | |
| | | ResultEntity resultEntity = _cooperOrderService.shouli(dto); |
| | | resultEntity = _cooperOrderService.shouli(dto); |
| | | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// éè´§ |
| | | /// </summary> |
| | | /// <param name="data">å²ä½å®ä½ç±»å¯¹è±¡</param> |
| | | /// <returns></returns> |
| | | /// |
| | | |
| | | public IActionResult Songhuo(string id) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | CooperOrderDTO dto = _cooperOrderService.Get(id); |
| | | // dto.Id = id; |
| | | dto.Songhuoer = curentuser.Id; |
| | | dto.Songhuotime = DateTime.Now; |
| | | dto.ShouliStatus = "5"; |
| | | |
| | | ResultEntity resultEntity = _cooperOrderService.save(dto); |
| | | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | |
| | | public IActionResult Chedan(string id = null) |
| | | { |
| | |
| | | |
| | | public IActionResult chedantuihuan(decimal Price, string Chedanid) |
| | | { |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | resultEntity.Result = true; |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | resultEntity.Result = false; |
| | | |
| | | CooperOrderDTO dto = _cooperOrderService.Get(Chedanid); |
| | | if (dto.ShouliStatus != "2") |
| | | { |
| | | resultEntity.Result = false; |
| | | resultEntity.Message = "åªæåçç¶æç订åæè½æ¤å"; |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | |
| | | CooperOrderDTO dto = new CooperOrderDTO(); |
| | | dto.Id = Chedanid; |
| | | dto.Chedaner = curentuser.Id; |
| | | dto.Chedantime = DateTime.Now; |
| | | dto.ChedanStatus = "A"; |
| | |
| | | ViewData["curentuser"] = curentuser; |
| | | ViewData["Huifangid"] = id; |
| | | |
| | | |
| | | ViewData["PingjiaStatus"] = _liaotianService.GetSYScode("CooperOrder", "pingjia_status"); |
| | | ViewData.Model = _cooperOrderService.Get(id); |
| | | |
| | | return View(); |
| | | } |
| | | |
| | | public IActionResult Huifangtuihuan(string Huifangremark, string Huifangid) |
| | | public IActionResult Huifangtuihuan(CooperOrderDTO dto) |
| | | { |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | resultEntity.Result = true; |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | |
| | | CooperOrderDTO dto = new CooperOrderDTO(); |
| | | dto.Id = Huifangid; |
| | | |
| | | |
| | | dto.Huifanger = curentuser.Id; |
| | | dto.Huifangtime = DateTime.Now; |
| | | dto.HuifangStatus = "A"; |
| | | dto.Huifangremark = Huifangremark; |
| | | |
| | | |
| | | resultEntity = _cooperOrderService.huifang(dto); |
| | | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// éè´§ |
| | | /// </summary> |
| | | /// <param name="data">å²ä½å®ä½ç±»å¯¹è±¡</param> |
| | | /// <returns></returns> |
| | | /// |
| | | |
| | | public IActionResult Songhuo(string id) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | ViewData["Huifangid"] = id; |
| | | |
| | | var cooperOrderDTO = _cooperOrderService.Get(id); |
| | | if (!cooperOrderDTO.SonghuoTime1.HasValue) |
| | | { |
| | | cooperOrderDTO.SonghuoTime1 = DateTime.Now; |
| | | } |
| | | |
| | | ViewData.Model = cooperOrderDTO; |
| | | |
| | | return View(); |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | public IActionResult Songhuotuihuan(CooperOrderDTO dto) |
| | | { |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | resultEntity.Result = true; |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | var cooperOrderDTO = _cooperOrderService.Get(dto.Id); |
| | | if (cooperOrderDTO.ShouliStatus != "2") |
| | | { |
| | | resultEntity.Result = false; |
| | | resultEntity.Message = "åªæåçç¶æç订åæè½éè´§"; |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | dto.Songhuoer = curentuser.Id; |
| | | dto.Songhuotime = DateTime.Now; |
| | | dto.ShouliStatus = "5"; |
| | | |
| | | resultEntity = _cooperOrderService.Songhuo(dto); |
| | | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | |
| | | public IActionResult Pingjia(string id = null) |
| | | { |
| | |
| | | } |
| | | |
| | | |
| | | public IActionResult printList(CooperOrderDTOSearch search) |
| | | { |
| | | //JsonResult jsonResult = new JsonResult(_liaotianService.SearchByPaging(search), new Newtonsoft.Json.Serialization.DefaultContractResolver()); |
| | | search.rows = 1000; |
| | | search.page = 1; |
| | | ViewBag.ListCooperOrderDTO = _cooperOrderService.SearchByPaging(search).DataList as List<CooperOrderDTO>; |
| | | |
| | | |
| | | |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// è·åç©å |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | public IActionResult GetCustomer(string id) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | |
| | | |
| | | |
| | | var cooperatecustomCustomerDTO = _cooperatecustomCustomerService.Get(id); |
| | | |
| | | |
| | | |
| | | return new JsonResult(cooperatecustomCustomerDTO); |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¿å |
| | | /// </summary> |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | $("#Khdw").change(function () { |
| | | var Khdw = $("#Khdw").val(); |
| | | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/CooperatecustomCustomer/GetCustomer?id=" + Khdw, |
| | | dataType: "json", |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | $("#Shr").val(data.ShrName); |
| | | $("#ShrAddress").val(data.ShrAddress); |
| | | $("#ShrTel").val(data.ShrTel); |
| | | |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | |
| | | function _pageAutoClose() { |
| | | parent.window._reloadPageData(); |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | |
| | | @model DTO.CooperatecustomCustomerDTO |
| | | @model DTO.CooperOrderDTO |
| | | @using DTO; |
| | | @using zhengcaioa.Models; |
| | | @{ |
| | | string Huifangid = ViewData["Huifangid"] as string; //æè®¿æ¹å¼ |
| | | |
| | | |
| | | List<SysCodeDtl> PingjiaStatus = ViewData["PingjiaStatus"] as List<SysCodeDtl>; //订åç±»å |
| | | } |
| | | @{ |
| | | Layout = null; |
| | |
| | | <div class="col-sm-12"> |
| | | <div class="ibox float-e-margins"> |
| | | <div class="ibox-title"> |
| | | <h5> <i class="fa fa-list"></i> åè®¿å¤æ³¨</h5> |
| | | <h5> <i class="fa fa-list"></i> å访</h5> |
| | | </div> |
| | | <div id="div_content" class="ibox-content" style="background-color:white;"> |
| | | <div class="row"> |
| | | |
| | | <input type="hidden" id="Huifangid" name="Huifangid" value="@Huifangid" /> |
| | | <input type="hidden" id="Id" name="Id" value="@Huifangid" /> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-2 col-md-2 control-label">æ¥å¾
人</label> |
| | | <div class="col-sm-6 col-md-6"> |
| | | <input id="HuifangJdr" class="form-control" label="æ¥å¾
人" name="HuifangJdr" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.HuifangJdr" > |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <div class="col-sm-12 col-md-12"> |
| | | <textarea class="form-control bt" id="Huifangremark" name="Huifangremark" title="åè®¿å¤æ³¨" isempty="" maxlength="4000" length="long"></textarea> |
| | | <label class="text-right col-sm-2 col-md-2 control-label">å访æ
åµ<i class="red">*</i></label> |
| | | <div class="col-sm-10 col-md-10"> |
| | | <textarea class="form-control bt" id="Huifangremark" name="Huifangremark" 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.Huifangremark</textarea> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-2 col-md-2 control-label">ç¨æ·è¯ä»·<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="PingjiaStatus" class="form-control" name="PingjiaStatus" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in PingjiaStatus) |
| | | { |
| | | |
| | | @if (!item.CodeSn.Equals(Model.PingjiaStatus)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | </select> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-2 col-md-2 control-label">å®¢æ·æè§</label> |
| | | <div class="col-sm-10 col-md-10"> |
| | | <textarea class="form-control bt" id="HuifangKehuyijian" name="HuifangKehuyijian" title="å®¢æ·æè§" isempty="" maxlength="500" 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.HuifangKehuyijian</textarea> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | |
| | | |
| | | </form> |
| | | <script type="text/javascript"> |
| | | var Huifangremark = document.getElementById("Huifangremark"); |
| | | |
| | | Huifangremark.style.height = Huifangremark.scrollHeight + 'px'; |
| | | |
| | | var HuifangKehuyijian = document.getElementById("HuifangKehuyijian"); |
| | | |
| | | HuifangKehuyijian.style.height = HuifangKehuyijian.scrollHeight + 'px'; |
| | | |
| | | |
| | | var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 - 95; |
| | | $("#div_content").height(hh); |
| | | |
| | |
| | | |
| | | // var id = '@Model.'; |
| | | |
| | | $(document).ready(function () { |
| | | if ("@Model.HuifangStatus" == "A") { |
| | | $("input").attr('readonly', true); |
| | | $("textarea").attr('readonly', true); |
| | | $(':radio').attr('disabled', true); |
| | | $(':checkbox').attr('disabled', true); |
| | | $(':button').attr('disabled', true); |
| | | $('a').removeAttr('onclick'); |
| | | $('select').attr('disabled', true); |
| | | $('.btn-success').hide(); |
| | | |
| | | } |
| | | }); |
| | | |
| | | // ä¿åå²ä½ä¿¡æ¯ |
| | | var savePosition = function () { |
| | |
| | | |
| | | |
| | | if ($.trim($("#Huifangremark").val()) == '') { |
| | | toastr.warning("åè®¿å¤æ³¨ä¸è½ä¸ºç©º"); |
| | | toastr.warning("å访æ
åµä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($.trim($("#PingjiaStatus").val()) == '') { |
| | | toastr.warning("ç¨æ·è¯ä»·ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | |
| | | var data = { Huifangid: $("#Huifangid").val(), Huifangremark: $("#Huifangremark").val()} |
| | | // var data = { Huifangid: $("#Huifangid").val(), Huifangremark: $("#Huifangremark").val()} |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "/CooperOrder/Huifangtuihuan", |
| | | dataType: "json", |
| | | global: false, |
| | | data: data, |
| | | data: $('form').serializeArray(), |
| | | success: function (data) { |
| | | |
| | | |
| | | |
| | | |
| | | if (data.Result) { |
| | |
| | | var Khlx = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Khlx))'; |
| | | var HuifangStatus = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.HuifangStatus))'; |
| | | var PingjiaStatus = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.PingjiaStatus))'; |
| | | var ShouliStatus = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.ShouliStatus))'; |
| | | |
| | | |
| | | var pageEntities = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.pageEntities))'; |
| | | var pageEntitiesJson = JSON.parse(pageEntities); |
| | |
| | | pingjiabool = false; |
| | | } else if (pageEntitiesJson[i].PageName == "伿 ") { |
| | | youhuibool = false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | //gridConfig = { multiselect: true, selectcol: "Id" }; |
| | | loseherght = 60; |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | |
| | | } |
| | | }, |
| | | |
| | | { label: '订åç±»å«', name: 'OrderTypeName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { |
| | | label: '订åç±»å«', name: 'OrderTypeName', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | var OrderTypea = rowObject.OrderTypeName; |
| | | if (rowObject.OrderType1Name != null && rowObject.OrderType1Name != '') { |
| | | OrderTypea += '-' + rowObject.OrderType1Name; |
| | | } |
| | | if (rowObject.OrderType2 != null && rowObject.OrderType2 != '') { |
| | | OrderTypea += '-' + rowObject.OrderType2; |
| | | } |
| | | return OrderTypea; |
| | | } }, |
| | | { label: '客æ·åç§°', name: 'KhdwName', labtype: 'txt', hidden: false, width: 200 }, |
| | | |
| | | { label: 'æ°é', name: 'OrderNum', labtype: 'txt', hidden: false, width: 60 }, |
| | |
| | | label: 'éè´§', name: 'SonghuoStatusName', labtype: 'txt', hidden: songhuobool, width: 60, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | if (rowObject.ShouliStatus == '5') { |
| | | return "â"; |
| | | return "<a onclick=\"songhuo('" + rowObject.Id + "')\" >â</a>"; |
| | | } else { |
| | | if (rowObject.ShouliStatus == '1' || rowObject.ChedanStatus == 'A') { |
| | | return ""; |
| | |
| | | } |
| | | |
| | | } else { |
| | | return "â"; |
| | | return "<a onclick=\"huifang('" + rowObject.Id + "')\" >â</a>"; |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | label: 'è¯ä»·', name: 'PingjiaStatusName', labtype: 'txt', hidden: pingjiabool, width: 60, |
| | | label: 'è¯ä»·', name: 'PingjiaStatusName', labtype: 'txt', hidden: true, width: 60, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | if (rowObject.PingjiaStatus == 'D') { |
| | | if (rowObject.ShouliStatus == '1') { |
| | |
| | | ]; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | dataUrl = "/CooperOrder/GetList"; |
| | |
| | | { label: 'å访', name: 'HuifangStatus', labtype: 'combox', hidden: false, data: JSON.parse(HuifangStatus), cwidth: '5%', cccwidth: '8%' }, |
| | | { label: 'è¯ä»·', name: 'PingjiaStatus', labtype: 'combox', hidden: false, data: JSON.parse(PingjiaStatus), cwidth: '5%', cccwidth: '8%' }, |
| | | |
| | | |
| | | |
| | | { label: '订åç¶æ', name: 'ShouliStatus', labtype: 'combox', hidden: false, data: JSON.parse(ShouliStatus), cwidth: '5%', cccwidth: '8%' }, |
| | | |
| | | |
| | | |
| | | |
| | |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | |
| | | if (data.Result) { |
| | | toastr.success("åçæå"); |
| | | window._reloadPageData(); |
| | |
| | | } |
| | | |
| | | function huifang(id) { |
| | | OpenWindow("å访", "20%", "30%", "/CooperOrder/Huifang?id=" + id); |
| | | OpenWindow("å访", "50%", "60%", "/CooperOrder/Huifang?id=" + id); |
| | | } |
| | | |
| | | function pingjia(id) { |
| | |
| | | |
| | | |
| | | function songhuo(id) { |
| | | OpenWindow("éè´§", "50%", "60%", "/CooperOrder/Songhuo?id=" + id); |
| | | //// 1ãæå¼å¼¹åºå± |
| | | //var index = layer.open({ |
| | | // type: 1,ãã//åºæ¬å±ç±»å |
| | | // icon: 0, //徿 |
| | | // content: '确认éè´§ï¼', //å
容 |
| | | // shade: 0.3, //é®ç½©,妿æ³å®ä¹å«çé¢è²,å¯ä»¥shade:[0.5,'#fff'] |
| | | // shadeClose: 1, //æ¯å¦ç¹å»é®ç½©å
³é |
| | | // skin: 'demoClass', //æ ·å¼ç±»å |
| | | // moveType: 1, //ææ½é£æ ¼,é»è®¤ä¸º0(ä¼æä¸ªè¿åº¦çéææ¡) |
| | | // btn: ['ç¡®å®', 'åæ¶'], //æé® |
| | | // btn1: function () { //æé®ä¸çåè° |
| | | |
| | | // 1ãæå¼å¼¹åºå± |
| | | var index = layer.open({ |
| | | type: 1,ãã//åºæ¬å±ç±»å |
| | | icon: 0, //徿 |
| | | content: '确认éè´§ï¼', //å
容 |
| | | shade: 0.3, //é®ç½©,妿æ³å®ä¹å«çé¢è²,å¯ä»¥shade:[0.5,'#fff'] |
| | | shadeClose: 1, //æ¯å¦ç¹å»é®ç½©å
³é |
| | | skin: 'demoClass', //æ ·å¼ç±»å |
| | | moveType: 1, //ææ½é£æ ¼,é»è®¤ä¸º0(ä¼æä¸ªè¿åº¦çéææ¡) |
| | | btn: ['ç¡®å®', 'åæ¶'], //æé® |
| | | btn1: function () { //æé®ä¸çåè° |
| | | // layer.close(index); |
| | | |
| | | layer.close(index); |
| | | // $.ajax({ |
| | | // type: "GET", |
| | | // url: "/CooperOrder/Songhuo?id=" + id, |
| | | // dataType: "json", |
| | | // global: false, |
| | | // data: "", |
| | | // success: function (data) { |
| | | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/CooperOrder/Songhuo?id=" + id, |
| | | dataType: "json", |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | if (data.Result) { |
| | | toastr.success("éè´§æå"); |
| | | window._reloadPageData(); |
| | | } else { |
| | | toastr.error("é货失败" + data.Message); |
| | | } |
| | | }, |
| | | error: function () { |
| | | // if (data.Result) { |
| | | // toastr.success("éè´§æå"); |
| | | // window._reloadPageData(); |
| | | // } else { |
| | | // toastr.error("é货失败" + data.Message); |
| | | // } |
| | | // }, |
| | | // error: function () { |
| | | |
| | | |
| | | toastr.error("é货失败"); |
| | | } |
| | | }); |
| | | }, |
| | | // btn2:function(){ //æé®äºçåè° |
| | | // |
| | | // } |
| | | }); |
| | | // toastr.error("é货失败"); |
| | | // } |
| | | // }); |
| | | // }, |
| | | // // btn2:function(){ //æé®äºçåè° |
| | | // // |
| | | // // } |
| | | //}); |
| | | } |
| | | |
| | | function wangong(id) { |
| | |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | |
| | | if (data.Result) { |
| | | toastr.success("å®å·¥æå"); |
| | | window._reloadPageData(); |
| | |
| | | // } |
| | | }); |
| | | } |
| | | |
| | | var _pagePrint = function () { |
| | | |
| | | var XdTime = $("#PBSXdTime").val(); |
| | | var OrderNo = $("#PBSOrderNo").val(); |
| | | var OrderType = $("#PBSOrderType").val(); |
| | | var Ywjl = $("#PBSYwjl").val(); |
| | | var KhdwName = $("#PBSKhdwName").val(); |
| | | |
| | | |
| | | var Khlx = $("#PBSKhlx").val(); |
| | | var HuifangStatus = $("#PBSHuifangStatus").val(); |
| | | var PingjiaStatus = $("#PBSPingjiaStatus").val(); |
| | | |
| | | |
| | | |
| | | var url = "/CooperOrder/printList?XdTime=" + XdTime + "&OrderNo=" + OrderNo + "&OrderType=" + OrderType + "&Ywjl=" + Ywjl + "&KhdwName=" + KhdwName + "&Khlx=" + Khlx + "&HuifangStatus=" + HuifangStatus + "&PingjiaStatus=" + PingjiaStatus; |
| | | var me = window.open(url, "æå°"); //æå¼æ°çªå£ |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | var _afterSave = function (result) { |
| | | if (result) { |
| | | toastr.success("ä¿åæå"); |
| | |
| | | <tr> |
| | | <td style="width:10%;"> 订åç±»å</td> |
| | | <td style="width:40%;"> @Model.OrderTypeName</td> |
| | | <td style="width:10%;"> </td> |
| | | <td style="width:40%;"> </td> |
| | | <td style="width:10%;"> 订åç¶æ</td> |
| | | <td style="width:40%;"> @Model.ShouliStatusName </td> |
| | | </tr> |
| | | <tr> |
| | | <td style="width:10%;"> 订åç±»å1</td> |
New file |
| | |
| | | @model DTO.CooperOrderDTO |
| | | @using DTO; |
| | | @using zhengcaioa.Models; |
| | | @{ |
| | | string Huifangid = ViewData["Huifangid"] as string; //æè®¿æ¹å¼ |
| | | |
| | | } |
| | | @{ |
| | | Layout = null; |
| | | } |
| | | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> |
| | | <meta name="description" content=""> |
| | | <meta name="author" content="ThemeBucket"> |
| | | <title>@(SiteConfig.SiteName)</title> |
| | | <link href="~/css/bootstrap.min.css" rel="stylesheet"> |
| | | <link href="~/css/font-awesome.min.css" rel="stylesheet"> |
| | | <link href="~/css/animate.min.css" rel="stylesheet"> |
| | | |
| | | @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet"> |
| | | @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@ |
| | | @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" /> |
| | | <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" /> |
| | | |
| | | <style type="text/css"> |
| | | .webuploader-pick { |
| | | position: relative; |
| | | display: inline-block; |
| | | cursor: pointer; |
| | | background: #00b7ee; |
| | | padding: 8px 14px 7px 14px; |
| | | color: #fff; |
| | | text-align: center; |
| | | border-radius: 3px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | div.clearfix > label { |
| | | padding-top: 8px; |
| | | } |
| | | |
| | | .chosen-container { |
| | | border-radius: 1px; |
| | | border: 1px solid #e5e6e7; |
| | | } |
| | | |
| | | .col-md-1.control-label { |
| | | padding-right: 0px; |
| | | font-weight: 400; |
| | | } |
| | | </style> |
| | | |
| | | <!-- jqgrid--> |
| | | @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@ |
| | | <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script> |
| | | <script src="~/js/bootstrap.min.js"></script> |
| | | @*<script src="~/js/plugins/bootstro/bootstro.js"></script>*@ |
| | | |
| | | <!--容å¨--> |
| | | @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script> |
| | | @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/jqgrid/i18n/grid.locale-cn.js" type="text/javascript"></script>*@ |
| | | <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/webuploader/webuploader.min.js"></script> |
| | | |
| | | <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@ |
| | | <script src="~/js/TUJS.js"></script> |
| | | </head> |
| | | <body class="gray-bg" style="overflow:auto"> |
| | | <form id="formtest"> |
| | | <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;"> |
| | | <div class="row"> |
| | | <div class="col-sm-12"> |
| | | <div class="ibox float-e-margins"> |
| | | <div class="ibox-title"> |
| | | <h5> <i class="fa fa-list"></i> éè´§</h5> |
| | | </div> |
| | | <div id="div_content" class="ibox-content" style="background-color:white;"> |
| | | <div class="row"> |
| | | |
| | | <input type="hidden" id="Id" name="Id" value="@Huifangid" /> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-2 col-md-2 control-label">éè´§å
¬å¸<i class="red">*</i></label> |
| | | <div class="col-sm-6 col-md-6"> |
| | | <input id="SonghuoGongsi" class="form-control" label="éè´§å
¬å¸" name="SonghuoGongsi" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.SonghuoGongsi"> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-2 col-md-2 control-label">éè´§åå·<i class="red">*</i></label> |
| | | <div class="col-sm-6 col-md-6"> |
| | | <input id="SonghuoDanhao" class="form-control" label="éè´§åå·" name="SonghuoDanhao" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.SonghuoDanhao"> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-2 col-md-2 control-label">éè´§æ¶é´<i class="red">*</i></label> |
| | | <div class="col-sm-6 col-md-6"> |
| | | <input id="SonghuoTime1" class="form-control" label="éè´§æ¶é´" name="SonghuoTime1" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.SonghuoTime1.Value.ToString("yyyy-MM-dd")" readonly="readonly"> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </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;"> |
| | | <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;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">æäº¤</span> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | </form> |
| | | <script type="text/javascript"> |
| | | |
| | | |
| | | |
| | | var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 - 95; |
| | | $("#div_content").height(hh); |
| | | |
| | | toastr.options = { |
| | | "closeButton": true, |
| | | "debug": false, |
| | | "progressBar": true, |
| | | "positionClass": "toast-bottom-right", |
| | | "onclick": null, |
| | | "showDuration": "300", |
| | | "hideDuration": "600", |
| | | "timeOut": "4500", |
| | | "extendedTimeOut": "600", |
| | | "showEasing": "swing", |
| | | "hideEasing": "linear", |
| | | "showMethod": "fadeIn", |
| | | "hideMethod": "fadeOut" |
| | | }; |
| | | |
| | | |
| | | // var id = '@Model.'; |
| | | |
| | | $(document).ready(function () { |
| | | if ("@Model.ShouliStatus" == "5") { |
| | | $("input").attr('readonly', true); |
| | | $("textarea").attr('readonly', true); |
| | | $(':radio').attr('disabled', true); |
| | | $(':checkbox').attr('disabled', true); |
| | | $(':button').attr('disabled', true); |
| | | $('a').removeAttr('onclick'); |
| | | $('select').attr('disabled', true); |
| | | $('.btn-success').hide(); |
| | | |
| | | } else { |
| | | laydate({ elem: "#SonghuoTime1", format: 'YYYY-MM-DD', istime: true, event: "focus" }); |
| | | } |
| | | }); |
| | | |
| | | // ä¿åå²ä½ä¿¡æ¯ |
| | | var savePosition = function () { |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | if ($.trim($("#SonghuoGongsi").val()) == '') { |
| | | toastr.warning("éè´§å
¬å¸ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($.trim($("#SonghuoDanhao").val()) == '') { |
| | | toastr.warning("éè´§åå·ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($.trim($("#SonghuoTime1").val()) == '') { |
| | | toastr.warning("éè´§æ¶é´ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | // var data = { Huifangid: $("#Huifangid").val(), Huifangremark: $("#Huifangremark").val()} |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "/CooperOrder/Songhuotuihuan", |
| | | dataType: "json", |
| | | global: false, |
| | | data: $('form').serializeArray(), |
| | | success: function (data) { |
| | | |
| | | |
| | | |
| | | if (data.Result) { |
| | | // parent._afterSave(true); |
| | | parent.layer.msg('éè´§æå', { icon: 6 }); |
| | | //window.location = "/Project/add?id=" + data.ReturnID; |
| | | |
| | | |
| | | |
| | | _pageAutoClose();//èªå¨å
³é页颿¹æ³ |
| | | |
| | | |
| | | } |
| | | else { |
| | | // toastr.error("失败"); |
| | | parent.layer.msg(data.Message, { icon: 5 }); |
| | | } |
| | | |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | function _pageAutoClose() { |
| | | parent.window._reloadPageData(); |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | | parent.layer.isRefresh = true; |
| | | parent.layer.closeAll('loading'); |
| | | parent.layer.close(index); |
| | | return false; |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | @model DTO.CooperOrderDTO |
| | | @using DTO; |
| | | @{ |
| | | ViewBag.Title = "CooperOrder"; |
| | | Layout = null; |
| | | List<CooperOrderDTO> ListCooperOrderDTO = ViewBag.ListCooperOrderDTO as List<CooperOrderDTO>; //é®é¢ç±»å |
| | | } |
| | | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| | | <meta http-equiv="Pragma" content="no-cache"> |
| | | <meta http-equiv="Cache-Control" content="no-siteapp" /> |
| | | <meta http-equiv="Cache-Control" content="no-cache"> |
| | | <meta http-equiv="Expires" content="0"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> |
| | | <meta name="renderer" content="webkit"> |
| | | <title>@SiteConfig.SiteName</title> |
| | | <meta name="keywords" content="@SiteConfig.Keywords"> |
| | | <meta name="description" content="@SiteConfig.Description"> |
| | | <meta name="author" content="@SiteConfig.Author"> |
| | | <link rel="icon" type="image/x-icon" href="@SiteConfig.ShortcutIcon"> |
| | | <!-- uc强å¶ç«å± --> |
| | | <meta name="screen-orientation" content="portrait"> |
| | | <!-- QQ强å¶ç«å± --> |
| | | <meta name="x5-orientation" content="portrait"> |
| | | <!-- UC强å¶å
¨å± --> |
| | | <meta name="full-screen" content="yes"> |
| | | <!-- QQ强å¶å
¨å± --> |
| | | <meta name="x5-fullscreen" content="true"> |
| | | <!--[if lt IE 9]> |
| | | <meta http-equiv="refresh" content="0;ie.html" /> |
| | | <![endif]--> |
| | | <script src="~/js/jquery.min.js"></script> |
| | | <style type="text/css"> |
| | | body { |
| | | text-align: left; |
| | | font-size: 12px; |
| | | } |
| | | |
| | | table { |
| | | border-collapse: collapse; |
| | | border: none; |
| | | width: 900px; |
| | | margin-left: 0px; |
| | | text-align: center; |
| | | } |
| | | |
| | | td { |
| | | border: solid #000000 1px; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <button type="button" onclick="onprint()">æå°</button> |
| | | <div id="printArea"> |
| | | @if (ListCooperOrderDTO != null && ListCooperOrderDTO.Count > 0) |
| | | {<table> |
| | | @foreach (var CooperOrderDTO in ListCooperOrderDTO) |
| | | { |
| | | |
| | | <tr> |
| | | <td style="width:10%;"> 订åå·</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.OrderNo</td> |
| | | <td style="width:10%;"> 客æ·åä½</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.KhdwName</td> |
| | | |
| | | </tr> |
| | | |
| | | |
| | | |
| | | |
| | | <tr> |
| | | <td style="width:10%;"> 订åç±»å</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.OrderTypeName</td> |
| | | <td style="width:10%;"> 订åç¶æ </td> |
| | | <td style="width:40%;"> @CooperOrderDTO.ShouliStatusName </td> |
| | | </tr> |
| | | <tr> |
| | | <td style="width:10%;"> 订åç±»å1</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.OrderType1</td> |
| | | <td style="width:10%;"> 订åç±»å2</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.OrderType2</td> |
| | | </tr> |
| | | <tr> |
| | | <td style="width:10%;"> è®¢åæ°é</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.OrderNum</td> |
| | | <td style="width:10%;"> åä»·</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.Price</td> |
| | | </tr> |
| | | <tr> |
| | | <td style="width:10%;"> éé¢</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.Money</td> |
| | | <td style="width:10%;"> æ¶è´§äºº</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.Shr</td> |
| | | </tr> |
| | | <tr> |
| | | <td style="width:10%;"> æ¶è´§å°å</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.ShrAddress</td> |
| | | <td style="width:10%;"> èç³»çµè¯</td> |
| | | <td style="width:40%;"> @CooperOrderDTO.ShrTel</td> |
| | | </tr> |
| | | <tr> |
| | | <td style="width:10%;"> 夿³¨</td> |
| | | <td style="width:90%;" colspan="3"> @CooperOrderDTO.Remark</td> |
| | | |
| | | </tr> |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </table> |
| | | } |
| | | </div> |
| | | </body> |
| | | <script type="text/javascript"> |
| | | |
| | | function printHtml(html) { |
| | | var bodyHtml = document.body.innerHTML; |
| | | document.body.innerHTML = html; |
| | | window.print(); |
| | | document.body.innerHTML = bodyHtml; |
| | | } |
| | | function onprint() { |
| | | var html = $("#printArea").html(); |
| | | printHtml(html); |
| | | } |
| | | </script> |
| | | </html> |
| | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[CooperOrder] ADD [songhuo_gongsi] [nvarchar](100) NULL |
| | | GO |
| | | ALTER TABLE [dbo].[CooperOrder] ADD [songhuo_danhao] [nvarchar](100) NULL |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[CooperOrder] ADD [songhuo_time] [datetime] NULL |
| | | GO |
| | | |
| | | |
| | | |
| | | ALTER TABLE [dbo].[CooperOrder] ADD [huifang_jdr] [nvarchar](100) NULL |
| | | GO |
| | | |
| | | |
| | | ALTER TABLE [dbo].[CooperOrder] ADD [huifang_kehuyijian] [nvarchar](500) NULL |
| | | GO |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | /****** Object: Table [dbo].[Liaotian_shoucang] Script Date: 2021/7/8 8:49:01 ******/ |
| | | SET ANSI_NULLS ON |
| | | GO |