From e649be7905be7e74f6e09d8d74a7bd7bcd3923b7 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 27 七月 2021 16:17:35 +0800 Subject: [PATCH] 修改 --- zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml index 11bf0b5..422a85c 100644 --- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml @@ -777,6 +777,35 @@ } + + + + + $("#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); -- Gitblit v1.9.1