From 6029d9cca9e132c4ba7a64cefe3db5eeaaecdf74 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 07 十一月 2025 09:24:53 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI

---
 WebTM/views/项目管理/工程项目/PM_WorkPlanMonthBillMain.html |   36 +++++++++++++++++++++++++++++++++---
 1 files changed, 33 insertions(+), 3 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_WorkPlanMonthBillMain.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_WorkPlanMonthBillMain.html"
index cabfe34..329aff5 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_WorkPlanMonthBillMain.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_WorkPlanMonthBillMain.html"
@@ -247,6 +247,9 @@
                 , form = layui.form
                 , element = layui.element;
 
+
+            //鍏ㄥ眬鍙橀噺
+            window.optionData = [];
             //妯″潡鍚�
             var HBillType = "4758";
             //琛ㄦ牸娓叉煋鍙傛暟
@@ -900,6 +903,30 @@
                             layer.close(index);//鍏抽棴寮圭獥
                         };
                     }
+                    , end: function () {
+
+                        var ProcessNumber = [];
+                        for (var i = 0; i < optionData.length; i++) {
+                            ProcessNumber.push(checkStatus.data[i]);
+                        }
+
+                        //鑾峰彇褰撳墠浣嶇疆鎵�鍦ㄨ鏁�
+                        var NowNum = 0;
+                        NowNum = option.data.length;
+
+                        var j = 0;
+                        for (var i = 0; i < ProcessNumber.length; i++) {
+                            option.data.push({
+                                "HProNumber": optionData[j].椤圭洰浠g爜, "椤圭洰鍚嶇О": optionData[j].椤圭洰鍚嶇О, "HProjectStageID": optionData[j].HProjectStageID, "椤圭洰闃舵": optionData[j].椤圭洰闃舵,
+                                "椤圭洰闃舵璇︾粏鍐呭": optionData[j].椤圭洰闃舵璇︾粏鍐呭, "鐩稿叧浜や粯鐗�": optionData[j].闃舵鐩稿叧浜や粯鐗�,
+                                "鏄惁閲岀▼纰�": optionData[j].閲岀▼纰�, "涓氱哗鍗犳瘮": optionData[j].闃舵涓氱哗鍗犳瘮,
+                                "HSourceBillNo": optionData[j].鍗曟嵁鍙�, "HSourceBillType": optionData[j].鍗曟嵁绫诲瀷, "HSourceInterID": optionData[j].HInterID, "HSourceEntryID": optionData[j].HEntryID,
+                            })
+                            j++;
+                            table.render(option);
+                            layer.close(index);//鍏抽棴寮圭獥
+                        };
+                    }
                 });
 
             }
@@ -1049,7 +1076,7 @@
                     $.ajax({
                         url: GetWEBURL() + '/PM_ProjectBill/CheckPM_WorkPlanMonthBillMain',
                         type: "GET",
-                        data: { "HInterID": $("#HInterID").val(), "IsAudit": nums, "user": sessionStorage["HUserName"] },
+                        data: { "HInterID": $("#HInterID").val(), "IsAudit": nums, "CurUserName": sessionStorage["HUserName"] },
                         success: function (result) {
                             if (result.count == 1) {
                                 $('#set_CheckBill').addClass("layui-btn-disabled").attr("disabled", true);
@@ -1075,7 +1102,7 @@
                     $.ajax({
                         url: GetWEBURL() + '/PM_ProjectBill/CheckPM_WorkPlanMonthBillMain',
                         type: "GET",
-                        data: { "HInterID": $("#HInterID").val(), "IsAudit": nums, "user": sessionStorage["HUserName"] },
+                        data: { "HInterID": $("#HInterID").val(), "IsAudit": nums, "CurUserName": sessionStorage["HUserName"] },
                         success: function (result) {
                             if (result.count == 1) {
                                 $('#set_CheckBill').removeClass("layui-btn-disabled").attr("disabled", false);
@@ -1205,7 +1232,10 @@
             //#endregion
         });
 
-
+        //宸ョ▼椤圭洰
+        function GetProjectBillValue(obj) {
+            optionData = obj;
+        }
     </script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1