From 3de6a9eb5d6c00a756831fbab13da264c198ece7 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期四, 25 四月 2024 16:16:50 +0800
Subject: [PATCH] 用户编辑页面添加 IC卡号 自动;异常反馈单刷卡签到

---
 WebTM/views/项目管理/工程项目/PM_ProjectBeginBillMainList.html |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\347\250\213\351\241\271\347\233\256/PM_ProjectBeginBillMainList.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\347\250\213\351\241\271\347\233\256/PM_ProjectBeginBillMainList.html"
index e9b2278..ed42b2f 100644
--- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\347\250\213\351\241\271\347\233\256/PM_ProjectBeginBillMainList.html"
+++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\347\250\213\351\241\271\347\233\256/PM_ProjectBeginBillMainList.html"
@@ -14,7 +14,7 @@
     <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
     <script src="../../../layuiadmin/PubCustom.js"></script>
     <script src="../../../layuiadmin/soulTable.slim.js"></script>
-
+    <script src="../../../layuiadmin/PageTitle.js"></script>
 
 </head>
 <body>
@@ -132,6 +132,13 @@
             var option = [];
             var sWhere = "";
             var HModName = "PM_WorkTaskBillList";
+
+
+            //#region 銆愬姩鎬佽幏鍙栨ā鍧楀悕绉般��
+            var HModuleType = "4760";
+            //閫氳繃鍗曟嵁绫诲瀷锛屼粠鏁版嵁搴撳姩鎬佽幏鍙栧崟鎹ā鍧楀懡鍚�,寮曠敤js鏂囦欢 PageTitle.js
+            var HPageTitle = get_PageTitle(HModuleType) == "" ? document.title : get_PageTitle(HModuleType);
+        //#endregion
 
             //涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
             var titleData = ["HInterID", "HBillStatus", "HProjectID", "HPMTeamID", "HPMEmpID", "HWorkEmpID", "HCusID", "HManagerID", "HOrgID","HEntryID"];
@@ -448,7 +455,7 @@
                     type: 2
                     , skin: 'layui-layer-rim' //鍔犱笂杈规
                     , area: ['100%', '100%']
-                    , title: '宸ヤ綔浠诲姟鍒楄〃-鏂板'
+                    , title: '鏂板' + HPageTitle
                     , shift: 0//寮瑰嚭鍔ㄧ敾
                     , content: '../../椤圭洰绠$悊/宸ョ▼椤圭洰/PM_ProjectBeginBillMain.html?OperationType=1&linterid=0&HSouceBillType='
                     ,btn: ['纭畾'],
@@ -470,7 +477,7 @@
                     layer.open({
                         type: 2
                         , area: ['100%', '100%']
-                        , title: '宸ヤ綔浠诲姟鍒楄〃-缂栬緫'
+                        , title: '缂栬緫' + HPageTitle
                         , shift: 0//寮瑰嚭鍔ㄧ敾
                         , content: '../../椤圭洰绠$悊/宸ョ▼椤圭洰/PM_ProjectBeginBillMain.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                         , btn: ['纭畾'],
@@ -547,7 +554,7 @@
                         $.ajax({
                             url: GetWEBURL() + '/PM_ProjectBill/CheckPM_ProjectBeginBillMain',
                             type: "GET",
-                            data: { "HInterID": InterID, "IsAudit": nums, "user": sessionStorage["HUserName"] },
+                            data: { "HInterID": InterID, "IsAudit": nums, "CurUserName": sessionStorage["HUserName"] },
                             success: function (result) {
                                 if (result.count == 1) {
                                     layer.msg(result.Message, { icon: 1 });
@@ -577,7 +584,7 @@
                         $.ajax({
                             url: GetWEBURL() + '/PM_ProjectBill/CheckPM_ProjectBeginBillMain',
                             type: "GET",
-                            data: { "HInterID": InterID, "IsAudit": nums, "user": sessionStorage["HUserName"] },
+                            data: { "HInterID": InterID, "IsAudit": nums, "CurUserName": sessionStorage["HUserName"] },
                             success: function (result) {
                                 if (result.count == 1) {
                                     layer.msg(result.Message, { icon: 1 });

--
Gitblit v1.9.1