From 90dd02e591779ead7a79421b610542f00c3a9227 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 03 四月 2023 09:21:13 +0800 Subject: [PATCH] 后台app推送 --- zhengcaioa/zhengcaioa/Views/CooperatecustomCustomer/Edit.cshtml | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/CooperatecustomCustomer/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/CooperatecustomCustomer/Edit.cshtml index 2c915c8..d66ec5a 100644 --- a/zhengcaioa/zhengcaioa/Views/CooperatecustomCustomer/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/CooperatecustomCustomer/Edit.cshtml @@ -376,13 +376,13 @@ <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="Shouxinedu" id="Shouxinedu" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@(Model.Shouxinedu.HasValue?Model.Shouxinedu.Value.ToString("f2"):"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> + <input class="form-control" label="瀹㈡埛鍚嶇О" name="Shouxinedu" id="Shouxinedu" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@(Model.Shouxinedu.HasValue?Model.Shouxinedu.Value.ToString("f2"):"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> </div> <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="Taocanjianshu" id="Taocanjianshu" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@(Model.Taocanjianshu.HasValue?Model.Taocanjianshu.Value.ToString():"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^[1-9]{1}[0-9]*$/)"> + <input class="form-control" label="瀹㈡埛鍚嶇О" name="Taocanjianshu" id="Taocanjianshu" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@(Model.Taocanjianshu.HasValue?Model.Taocanjianshu.Value.ToString():"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^[1-9]{1}[0-9]*$/)"> </div> @@ -1084,6 +1084,34 @@ } }); + + $("#Name").change(function () { + + var Name = $("#Name").val(); + $.ajax({ + type: "GET", + url: "/IntentionCustomer/getTitle?Name=" + Name + "&Id=" + $("#Id").val(), + dataType: "json", + global: false, + data: "", + success: function (data) { + + if (!data.Result) { + toastr.warning(data.Message); + } + + + + + + }, + error: function () { + + + parent.layer.msg('澶辫触', { icon: 5 }); + } + }); + }); </script> </body> </html> \ No newline at end of file -- Gitblit v1.9.1