From 1537186f437bb5f07269231724772f8de68e8a72 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 20 六月 2025 08:56:44 +0800 Subject: [PATCH] no message --- zhengcaioa/zhengcaioa/Views/IntentionCustomer/Edit.cshtml | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/IntentionCustomer/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/IntentionCustomer/Edit.cshtml index 28eb990..ea6cd37 100644 --- a/zhengcaioa/zhengcaioa/Views/IntentionCustomer/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/IntentionCustomer/Edit.cshtml @@ -815,6 +815,35 @@ } }); + + + $("#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