From d3b4b93d4ba49eb3994e3f9874a3dfda083524ab Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 13 三月 2024 10:44:21 +0800
Subject: [PATCH] 1

---
 WebTM/views/生产管理/报工台工序/停工/Sc_Add_MESStopStepWorkBillList.html |   30 ++++++++++++++++++++++--------
 1 files changed, 22 insertions(+), 8 deletions(-)

diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\345\201\234\345\267\245/Sc_Add_MESStopStepWorkBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\345\201\234\345\267\245/Sc_Add_MESStopStepWorkBillList.html"
index 5fbacd9..e34e203 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\345\201\234\345\267\245/Sc_Add_MESStopStepWorkBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\345\201\234\345\267\245/Sc_Add_MESStopStepWorkBillList.html"
@@ -16,6 +16,7 @@
     <script src="../../../../layuiadmin/Scripts/webConfig.js"></script>
     <script src="../../../../layuiadmin/PubCustom.js"></script>
     <script src="../../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
+    <script src="../../../../layuiadmin/PageTitle.js"></script>
     <style type="text/css">
         .layui-form-label {
             width: 85px;
@@ -346,16 +347,21 @@
             var OperationType = params[params[0]];//鎿嶄綔绫诲瀷
             var linterid = params[params[1]];//婧愬崟id
             var HSBillType = params[params[2]];//婧愬崟绫诲瀷
+            var HBillType = params[params[3]];
+            var HSourceInterID = params[params[4]];
+            var HSourceEntryID = params[params[5]];
+            var HSourceBillNo = params[params[6]];
+            var HSourceBillType = params[params[7]];
         }
 
-        var edit = function (data) {
-            HBillType = data[0].HBillType;
-            HSourceInterID = data[0].HSourceInterID;
-            HSourceEntryID = data[0].HSourceEntryID;
-            HSourceBillNo = data[0].HSourceBillNo;
-            HSourceBillType = data[0].HSourceBillType;
+        //var edit = function (data) {
+        //    HBillType = data[0].HBillType;
+        //    HSourceInterID = data[0].HSourceInterID;
+        //    HSourceEntryID = data[0].HSourceEntryID;
+        //    HSourceBillNo = data[0].HSourceBillNo;
+        //    HSourceBillType = data[0].HSourceBillType;
 
-        }
+        //}
 
 
         layui.config({
@@ -374,6 +380,14 @@
             //#endregion
 
             // #region 椤甸潰鍒濆鍖�
+
+            //#region 銆愬姩鎬佽幏鍙栨ā鍧楀悕绉般��
+            var HModuleType = "3789";
+            //閫氳繃鍗曟嵁绫诲瀷锛屼粠鏁版嵁搴撳姩鎬佽幏鍙栧崟鎹ā鍧楀懡鍚�,寮曠敤js鏂囦欢 PageTitle.js
+            var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType);
+            $("h1").html('<b>' + HPageTitle + '</b>');
+            //#endregion
+
             //鍒濆鍖栬〃鍗曟彃浠�
             set_InitFrom();
 
@@ -596,7 +610,7 @@
                 $.ajax({
                     url: GetWEBURL() + "/Web/GetMAXNum",
                     type: "GET",
-                    data: { "HBillType": '3702' },
+                    data: { "HBillType": '3789' },
                     success: function (d) {
                         $("#HBillNo").val(d.data[0].HBillNo);
                         $("#HInterID").val(0);

--
Gitblit v1.9.1