From 7ed6bb82f1e4f7bad2252f6b968ec45adf860efc Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期日, 27 六月 2021 15:18:22 +0800
Subject: [PATCH] 修改
---
zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml | 33 +++++++++++++++++++++++++++++++--
1 files changed, 31 insertions(+), 2 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
index fcb893f..422a85c 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
@@ -611,7 +611,7 @@
$("#Price").val("");
- if (OrderType != "02" || sheng == "鐢佃瘽鍜ㄨ" || sheng == "褰撻潰鍜ㄨ" || sheng == "浠f嫙璐ㄧ枒绛斿" || sheng == "浠f嫙鎶曡瘔澶勭悊鍐冲畾" || sheng == "绔炰簤瀵规墜鍜岃瘎瀹′笓瀹舵煡璇�" || sheng == "鏀块噰璐�") {
+ if (OrderType != "02" || sheng == "鐢佃瘽鍜ㄨ" || sheng == "褰撻潰鍜ㄨ" || sheng == "浠f嫙璐ㄧ枒绛斿" || sheng == "浠f嫙鎶曡瘔澶勭悊鍐冲畾" || sheng == "绔炰簤瀵规墜鍜岃瘎瀹′笓瀹跺弬鍔犳斂搴滈噰璐暟鎹俊鎭煡璇�" || sheng == "鏀块噰璐�") {
if (OrderType == "01") {
$("#Price").val(data.Danjia);
} else if (OrderType == "05") {
@@ -739,7 +739,7 @@
data: "",
success: function (data) {
var city = $("#OrderType2");
- if (order_type != "02" || order_type1 == "鐢佃瘽鍜ㄨ" || order_type1 == "褰撻潰鍜ㄨ" || order_type1 == "浠f嫙璐ㄧ枒绛斿" || order_type1 == "浠f嫙鎶曡瘔澶勭悊鍐冲畾" || order_type1 == "绔炰簤瀵规墜鍜岃瘎瀹′笓瀹舵煡璇�" || order_type1 == "鏀块噰璐�") {
+ if (order_type != "02" || order_type1 == "鐢佃瘽鍜ㄨ" || order_type1 == "褰撻潰鍜ㄨ" || order_type1 == "浠f嫙璐ㄧ枒绛斿" || order_type1 == "浠f嫙鎶曡瘔澶勭悊鍐冲畾" || order_type1 == "绔炰簤瀵规墜鍜岃瘎瀹′笓瀹跺弬鍔犳斂搴滈噰璐暟鎹俊鎭煡璇�" || order_type1 == "鏀块噰璐�") {
} else {
@@ -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