From 072169e3c5446f94e2cf4e570e5c7952bb5b15b9 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 27 七月 2021 14:47:44 +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