zhengcaioa/Services/CooperOrderService.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
zhengcaioa/zhengcaioa/Controllers/BusinessOrder/CooperOrderController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
zhengcaioa/zhengcaioa/Views/CooperOrder/Index.cshtml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
zhengcaioa/Services/CooperOrderService.cs
@@ -517,7 +517,7 @@ updateproject.ChedanStatus = dto.ChedanStatus; updateproject.Chedan = dto.Chedan; updateproject.ShouliStatus = dto.ShouliStatus; updateproject.Remark = dto.Remark; _context.SaveChanges(); resultEntity.ReturnID = dto.Id; resultEntity.Result = true; zhengcaioa/zhengcaioa/Controllers/BusinessOrder/CooperOrderController.cs
@@ -1346,7 +1346,7 @@ return View(); } [CheckLogin] public IActionResult chedantuihuan(string Chedanid, decimal Price=0) public IActionResult chedantuihuan(string Chedanid, decimal Price=0,string Chedanyuany="") { var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); ViewData["curentuser"] = curentuser; @@ -1413,7 +1413,8 @@ dto.ChedanStatus = "A"; dto.Chedan = Price; dto.ShouliStatus = "0"; if (!string.IsNullOrWhiteSpace(Chedanyuany)) dto.Remark += " " + Chedanyuany; resultEntity = _cooperOrderService.chedan(dto); zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml
@@ -100,12 +100,17 @@ <div class="clearfix layer-area" style="padding-bottom:15px;"> <div class="col-sm-12 col-md-12"> <input class="form-control" label="客户名称" name="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Money" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> <label class="text-right col-sm-2 col-md-2 control-label">撤单退还金额</label> <div class="col-sm-2 col-md-2"> <input class="form-control" label="撤单退还金额" name="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Money" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> </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="Chedanyuany" name="Chedanyuany" 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'"></textarea> </div> </div> @*<input type="hidden" name="Price" id="Price" value="0" />*@ @@ -167,10 +172,10 @@ toastr.warning("撤单退还金额不能为空"); return; } var data = { Chedanid: $("#Chedanid").val(), Price: $("#Price").val()} var data = { Chedanid: $("#Chedanid").val(), Price: $("#Price").val(), Chedanyuany: $("#Chedanyuany").val()} $.ajax({ type: "POST", url: "/CooperOrder/chedantuihuan", zhengcaioa/zhengcaioa/Views/CooperOrder/Index.cshtml
@@ -328,7 +328,7 @@ } function chedan(id) { OpenWindow("撤单", "20%", "30%", "/CooperOrder/Chedan?id=" + id); OpenWindow("撤单", "50%", "60%", "/CooperOrder/Chedan?id=" + id); } function huifang(id) {