From ab39ba9bc952554ab8271f0406b1ded2f2a6daf9 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 10 八月 2023 14:55:00 +0800
Subject: [PATCH] 离职申请单:由职员带出部门和岗位
---
WebTM/views/人事管理/离职申请/HR_EmpDimissionBill.html | 33 +++++++++++++++++++++++++++------
WebTM/Properties/PublishProfiles/JFTM.pubxml.user | 2 +-
2 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
index 2fdd93d..b843b4d 100644
--- a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
+++ b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
@@ -1740,7 +1740,7 @@
<publishTime>07/21/2023 08:25:45</publishTime>
</File>
<File Include="views/浜轰簨绠$悊/绂昏亴鐢宠/HR_EmpDimissionBill.html">
- <publishTime>07/25/2023 17:11:59</publishTime>
+ <publishTime>08/10/2023 14:51:32</publishTime>
</File>
<File Include="views/浜轰簨绠$悊/绂昏亴鐢宠/HR_EmpDimissionBillList.html">
<publishTime>07/21/2023 10:15:10</publishTime>
diff --git "a/WebTM/views/\344\272\272\344\272\213\347\256\241\347\220\206/\347\246\273\350\201\214\347\224\263\350\257\267/HR_EmpDimissionBill.html" "b/WebTM/views/\344\272\272\344\272\213\347\256\241\347\220\206/\347\246\273\350\201\214\347\224\263\350\257\267/HR_EmpDimissionBill.html"
index 8a17d87..0ede490 100644
--- "a/WebTM/views/\344\272\272\344\272\213\347\256\241\347\220\206/\347\246\273\350\201\214\347\224\263\350\257\267/HR_EmpDimissionBill.html"
+++ "b/WebTM/views/\344\272\272\344\272\213\347\256\241\347\220\206/\347\246\273\350\201\214\347\224\263\350\257\267/HR_EmpDimissionBill.html"
@@ -75,20 +75,20 @@
<div class="layui-form-item" style="padding-top: 10px;">
<div class="layui-row">
<div class="layui-inline" style="width:500px;">
- <label class="layui-form-label" style="width: 85px;">鍗曟嵁鍙�</label>
+ <label class="layui-form-label" style="width: 85px;">鍗曟嵁鍙�<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 120px;width:180px;">
<input type="text" class="layui-input" name="HBillNo" lay-verify="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly>
<input type="hidden" name="HInterID" id="HInterID" lay-verify="HInterID">
</div>
</div>
<div class="layui-inline" style="width:500px;">
- <label class="layui-form-label" style="width: 85px;">鏃ユ湡</label>
+ <label class="layui-form-label" style="width: 85px;">鏃ユ湡<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 120px; width: 180px; ">
<input type="date" class="layui-input" lay-verify="HDate" name="HDate" id="HDate" style="padding-left: 80px;">
</div>
</div>
<div class="layui-inline" style="width:500px;">
- <label class="layui-form-label" style="width: 85px;">鍐呴儴鍗曟嵁鍙�<label style="color:red"> * </label></label>
+ <label class="layui-form-label" style="width: 85px;">鍐呴儴鍗曟嵁鍙�</label>
<div class="layui-input-block" style="margin-left: 120px; width: 180px;">
<input type="text" class="layui-input" lay-verify="HInnerBillNo" name="HInnerBillNo" id="HInnerBillNo">
</div>
@@ -96,7 +96,7 @@
</div>
<div class="layui-row">
<div class="layui-inline" style="width:500px;">
- <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">鑱� 鍛�</label>
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">鑱� 鍛�<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 77px; width:270px;">
<input type="text" class="layui-input" lay-verify="HEmpName" name="HEmpName" id="HEmpName" style="background-color:#efefef4d; width:180px; display: inline-block;" readonly>
<input type="hidden" name="HEmpID" id="HEmpID" lay-verify="HEmpID" value="0">
@@ -106,7 +106,7 @@
</div>
</div>
<div class="layui-inline" style="width:500px;" ">
- <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">閮� 闂�</label>
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">閮� 闂�<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 77px; width: 270px;">
<input type="text" class="layui-input" lay-verify="HDeptName" name="HDeptName" id="HDeptName" style="background-color: #efefef4d; width: 180px; display: inline-block;" readonly>
<input type="hidden" name="HDeptID" id="HDeptID" lay-verify="HDeptID" value="0">
@@ -116,7 +116,7 @@
</div>
</div>
<div class="layui-inline" style="width:500px;" ">
- <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">宀� 浣�</label>
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">宀� 浣�<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 77px; width: 270px;">
<input type="text" class="layui-input" lay-verify="HPostName" name="HPostName" id="HPostName" style="background-color: #efefef4d; width: 180px; display: inline-block;" readonly>
<input type="hidden" name="HPostID" id="HPostID" lay-verify="HPostID" value="0">
@@ -537,6 +537,27 @@
$("#HEmpID").val(checkStatus.data[0].HItemID);//鍐呯爜
$("#HEmpName").val(checkStatus.data[0].HName);//鍚嶇О
+
+ var HEmpID = checkStatus.data[0].HItemID;
+ $.ajax({
+ url: GetWEBURL() + "HR_EmpDimissionBill/getInfoByHEmpID",
+ type: "GET",
+ data: {
+ "HEmpID": HEmpID
+ },
+ success: function (result) {
+ if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+ $("#HDeptID").val(result.data[0]["HDeptID"]);
+ $("#HDeptName").val(result.data[0]["HDeptName"]);
+ $("#HPostID").val(result.data[0]["HPostID"]);//鍐呯爜
+ $("#HPostName").val(result.data[0]["HPostName"]);//鍐呯爜
+ } else {
+ layer.alert(result.code + result.Message, { icon: 5 });
+ }
+ }, error: function () {
+ layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ }
+ });
layer.close(index);//鍏抽棴寮圭獥
}
, btn2: function (index, layero) { }
--
Gitblit v1.9.1