username@email.com
2023-02-28 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c
zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml
@@ -3,7 +3,7 @@
@using zhengcaioa.Models;
@{
    string Chedanid = ViewData["Chedanid"] as string; //拜访方式
    string Money = ViewData["Money"] as string; //拜访方式
}
@{
@@ -99,16 +99,21 @@
                                @*<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="number" value="" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
                                <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-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>
                                <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" />
                                @*<input type="hidden"  name="Price" id="Price" value="0" />*@
@@ -163,14 +168,14 @@
            //if ($.trim($("#Price").val()) == '') {
            //    toastr.warning("撤单退还金额不能为空");
            //    return;
            //}
            if ($.trim($("#Price").val()) == '') {
                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",