工作任务,业绩指标单,工作总结,工作周计划,项目启动单,项目验收单,项目需求及问题清单,项目费用单,月度阶段计划选择基础资料双击返回
11个文件已修改
321 ■■■■■ 已修改文件
WebTM/views/基础资料/公用基础资料/Gy_ProjectMoney.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/业绩指标/PM_YearEmployeeMoneyBill.html 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/周计划/PM_WorkReportWeekBillMain.html 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/周计划/PM_WorkTaskWeekBill.html 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/工作任务/PM_WorkTaskBill.html 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/工程项目/PM_CustomerTaskBillMain.html 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/工程项目/PM_ProjectBeginBillMain.html 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/工程项目/PM_ProjectBillList.html 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/工程项目/PM_ProjectEndBillMain.html 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/工程项目/PM_ProjectMoneyBillMain.html 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/工程项目/PM_WorkPlanMonthBillMain.html 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_ProjectMoney.html
@@ -206,7 +206,15 @@
                });
            })
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetProjectMoneyValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#region æ­¤é¡µé¢æ‰€æœ‰æ–¹æ³•
            // åˆå§‹åŒ–界面
WebTM/views/ÏîÄ¿¹ÜÀí/Òµ¼¨Ö¸±ê/PM_YearEmployeeMoneyBill.html
@@ -465,7 +465,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HEmp&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -482,6 +482,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -817,7 +818,11 @@
            //#endregion
        });
        //汇报人
        function GetHEmpValue(obj) {
            $("#HEmpID").val(obj[0].HItemID);//负责人id
            $("#HEmpName").val(obj[0].职员名称);//负责人名称
        }
    </script>
</body>
</html>
WebTM/views/ÏîÄ¿¹ÜÀí/Öܼƻ®/PM_WorkReportWeekBillMain.html
@@ -665,7 +665,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HEmp&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -684,6 +684,7 @@
                        getHUserNameHours();
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -977,7 +978,11 @@
            //#endregion
        });
        //总结人
        function GetHEmpValue(obj) {
            $("#HReportEmpID").val(obj[0].HItemID);//客户id
            $("#HPlanEmpName").val(obj[0].职员名称);//客户名称
        }
    </script>
</body>
WebTM/views/ÏîÄ¿¹ÜÀí/Öܼƻ®/PM_WorkTaskWeekBill.html
@@ -1013,7 +1013,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HEmp&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1030,6 +1030,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -1925,7 +1926,11 @@
            //#endregion
        });
        //计划人
        function GetHEmpValue(obj) {
            $("#HPlanEmpID").val(obj[0].HItemID);//客户id
            $("#HPlanEmpName").val(obj[0].职员名称);//客户名称
        }
    </script>
</body>
</html>
WebTM/views/ÏîÄ¿¹ÜÀí/¹¤×÷ÈÎÎñ/PM_WorkTaskBill.html
@@ -768,7 +768,7 @@
                            $("#HMainSourceInterID").val(checkStatus.data[0].HInterID);
                            $("#HMainSourceEntryID").val(checkStatus.data[0].HEntryID);
                            $("#HMainSourceBillNo").val(checkStatus.data[0].单据号);
                            $("#HMainSourceBillType").val(checkStatus.data[0].单据类型);
                            $("#HMainSourceBillType").val(checkStatus.data[0].单据类型);
                        } else {
                            layer.msg("该项目已关闭,不可选择!");
@@ -776,6 +776,7 @@
                        layer.close(index);//关闭弹窗
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -807,6 +808,8 @@
                        layer.close(index);//关闭弹窗
                    }
                    , btn2: function (index, layero) { }
                    , end: function () {
                    }
                })
            }
            //#endregion
@@ -820,7 +823,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HSecManager&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -836,6 +839,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -849,7 +853,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HReceive&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -865,6 +869,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -1584,6 +1589,37 @@
        }
            //#endregion
        //项目代码
        function GetProjectBillValue(obj) {
            if (obj[0].关闭人 == null || obj[0].关闭人 == "") {
                $("#HProjectID").val(obj[0].HInterID);
                $("#HProNumber").val(obj[0].项目代码);//工程项目代码
                $("#HProName").val(obj[0].项目名称);//工程项目代码
                $("#HProjectStageID").val(obj[0].HProjectStageID);//工程项目代码
                $("#HProjectStageName").val(obj[0].项目阶段);//工程项目代码
                $("#HMainSourceInterID").val(obj[0].HInterID);
                $("#HMainSourceEntryID").val(obj[0].HEntryID);
                $("#HMainSourceBillNo").val(obj[0].单据号);
                $("#HMainSourceBillType").val(obj[0].单据类型);
            } else {
                layer.msg("该项目已关闭,不可选择!");
            }
        }
        //项目阶段
        function GetProjectStageValue(obj) {
            $("#HProjectStageID").val(obj[0].HItemID);//项目阶段id
            $("#HProjectStageName").val(obj[0].阶段名称);//项目阶段名称
        }
        //派单人
        function GetHSecManagerValue(obj) {
            $("#HSendEmp").val(obj[0].职员名称);//客户名称
        }
        //接收人
        function GetHReceiveValue(obj) {
            $("#HReceiveEmp").val(obj[0].职员名称);//接收人名称
        }
    </script>
</body>
</html>
WebTM/views/ÏîÄ¿¹ÜÀí/¹¤³ÌÏîÄ¿/PM_CustomerTaskBillMain.html
@@ -634,6 +634,7 @@
                        layer.close(index);//关闭弹窗
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -665,6 +666,7 @@
                        layer.close(index);//关闭弹窗
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -1224,6 +1226,37 @@
        }
            //#endregion
        //工程项目
        function GetProjectBillValue(obj) {
            if (obj[0].关闭人 == null || obj[0].关闭人 == "") {
                $("#HProjectID").val(obj[0].HInterID);
                $("#HProNumber").val(obj[0].项目代码);//工程项目代码
                $("#HProName").val(obj[0].项目名称);//工程项目名称
                $("#HProjectStageID").val(obj[0].HProjectStageID);//项目阶段id
                $("#HProjectStageName").val(obj[0].项目阶段);//项目阶段名称
                $("#HCusID").val(obj[0].HCusID);//客户id
                $("#HCusName").val(obj[0].客户);//客户名称
                $("#HMainSourceInterID").val(obj[0].HInterID);
                $("#HMainSourceEntryID").val(obj[0].HEntryID);
                $("#HMainSourceBillNo").val(obj[0].单据号);
                $("#HMainSourceBillType").val(obj[0].单据类型);
            } else {
                layer.msg("该项目已关闭,不可选择!");
            }
        }
        //项目阶段
        function GetProjectStageValue(obj) {
            $("#HProjectStageID").val(obj[0].HItemID);//项目阶段id
            $("#HProjectStageName").val(obj[0].阶段名称);//项目阶段名称
        }
        //接收人
        function GetHReceiveValue(obj) {
            $("#HReceiveEmp").val(obj[0].职员名称);//接收人名称
        }
    </script>
</body>
</html>
WebTM/views/ÏîÄ¿¹ÜÀí/¹¤³ÌÏîÄ¿/PM_ProjectBeginBillMain.html
@@ -615,6 +615,7 @@
                        layer.close(index);//关闭弹窗
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -628,7 +629,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HPM&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -645,6 +646,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -658,7 +660,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HWorker&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -675,6 +677,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -688,7 +691,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HManager&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -705,6 +708,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -718,7 +722,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '供应商表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html?openType=HSup&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -735,6 +739,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -1018,7 +1023,44 @@
        });
        //工程项目
        function GetProjectBillValue(obj) {
            if (obj[0].关闭人 == null || obj[0].关闭人 == "") {
                $("#HProjectID").val(obj[0].HInterID);
                $("#HProNumber").val(obj[0].项目代码);//工程项目代码
                $("#HProName").val(obj[0].项目名称);//工程项目名称
                $("#HCusID").val(obj[0].HCusID);//客户id
                $("#HCusName").val(obj[0].客户);//客户名称
                $("#HMainSourceInterID").val(obj[0].HInterID);
                $("#HMainSourceEntryID").val(obj[0].HEntryID);
                $("#HMainSourceBillNo").val(obj[0].单据号);
                $("#HMainSourceBillType").val(obj[0].单据类型);
            } else {
                layer.msg("该项目已关闭,不可选择!");
            }
        }
        //管理员
        function GetHManagerValue(obj) {
            $("#HManagerID").val(obj[0].HItemID);//管理员id
            $("#HManagerName").val(obj[0].职员名称);//管理员名称
        }
        //项目经理
        function GetHPMValue(obj) {
            $("#HPMEmpID").val(obj[0].HItemID);//客户id
            $("#HPMEmpName").val(obj[0].职员名称);//客户名称
        }
        //实施担当
        function GetHWorkerValue(obj) {
            $("#HWorkEmpID").val(obj[0].HItemID);//员工id
            $("#HWorkEmpName").val(obj[0].职员名称);//员工名称
        }
        //交付方
        function GetHSupNameValue(obj) {
            $("#HPMTeamID").val(obj[0].HItemID);//交付方id
            $("#HPMTeamName").val(obj[0].供应商名称);//供应商名称
        }
    </script>
WebTM/views/ÏîÄ¿¹ÜÀí/¹¤³ÌÏîÄ¿/PM_ProjectBillList.html
@@ -296,6 +296,17 @@
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetProjectBillValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#region æœ¬é¡µé¢æ‰€æœ‰è¢«è°ƒç”¨çš„æ–¹æ³•
            //#region åˆå§‹åŒ–界面
WebTM/views/ÏîÄ¿¹ÜÀí/¹¤³ÌÏîÄ¿/PM_ProjectEndBillMain.html
@@ -645,7 +645,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HPM&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -675,7 +675,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HWorker&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -705,7 +705,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HManager&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -722,6 +722,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -735,7 +736,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '供应商表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html?openType=HSup&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -752,6 +753,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -765,7 +767,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HEmp&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -782,6 +784,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -1049,8 +1052,50 @@
        });
        //工程项目
        function GetProjectBillValue(obj) {
            if (obj[0].关闭人 == null || obj[0].关闭人 == "") {
                $("#HProjectID").val(obj[0].HInterID);
                $("#HProNumber").val(obj[0].项目代码);//工程项目代码
                $("#HProName").val(obj[0].项目名称);//工程项目名称
                $("#HCusID").val(obj[0].HCusID);//客户id
                $("#HCusName").val(obj[0].客户);//客户名称
                $("#HMainSourceInterID").val(obj[0].HInterID);
                $("#HMainSourceEntryID").val(obj[0].HEntryID);
                $("#HMainSourceBillNo").val(obj[0].单据号);
                $("#HMainSourceBillType").val(obj[0].单据类型);
            } else {
                layer.msg("该项目已关闭,不可选择!");
            }
        }
        //管理员
        function GetHManagerValue(obj) {
            $("#HManagerID").val(obj[0].HItemID);//管理员id
            $("#HManagerName").val(obj[0].职员名称);//管理员名称
        }
        //项目经理
        function GetHPMValue(obj) {
            $("#HPMEmpID").val(obj[0].HItemID);//客户id
            $("#HPMEmpName").val(obj[0].职员名称);//客户名称
        }
        //实施担当
        function GetHWorkerValue(obj) {
            $("#HWorkEmpID").val(obj[0].HItemID);//员工id
            $("#HWorkEmpName").val(obj[0].职员名称);//员工名称
        }
        //测试人员
        function GetHSupNameValue(obj) {
            $("#HPMTeamID").val(obj[0].HItemID);//交付方id
            $("#HPMTeamName").val(obj[0].供应商名称);//供应商名称
        }
        //交付方
        function GetHEmpValue(obj) {
            $("#HTestEmp").val(obj[0].HItemID);//测试人员id
            $("#HTestEmpName").val(obj[0].职员名称);//测试人员名称
        }
    </script>
</body>
</html>
WebTM/views/ÏîÄ¿¹ÜÀí/¹¤³ÌÏîÄ¿/PM_ProjectMoneyBillMain.html
@@ -314,6 +314,8 @@
            var HModName = "PM_ProjectMoneyBillMain";
            //#region
            //全局变量
            window.optiondata = [];
            //记录组织的值
            var HOrgIDBar = 0;
            //获取参数
@@ -717,7 +719,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HPM&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -734,6 +736,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -747,7 +750,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HWorker&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -764,6 +767,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -777,7 +781,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=HManager&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -794,6 +798,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -807,7 +812,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html?openType=HSup&HOrgID=' + HOrgID, 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -824,6 +829,7 @@
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) { }
                    , end: function () { }
                })
            }
            //#endregion
@@ -859,6 +865,12 @@
                                        , "HProMoneyName": checkStatus.data[0].项目费用名称
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    obj.update({
                                        "HProMoneyID": optiondata[0].HItemID
                                        , "HProMoneyName": optiondata[0].项目费用名称
                                    })
                                }
                            })
                        }
@@ -1156,7 +1168,48 @@
        });
        //工程项目
        function GetProjectBillValue(obj) {
            if (obj[0].关闭人 == null || obj[0].关闭人 == "") {
                $("#HProjectID").val(obj[0].HInterID);
                $("#HProNumber").val(obj[0].项目代码);//工程项目代码
                $("#HProName").val(obj[0].项目名称);//工程项目名称
                $("#HCusID").val(obj[0].HCusID);//客户id
                $("#HCusName").val(obj[0].客户);//客户名称
                $("#HMainSourceInterID").val(obj[0].HInterID);
                $("#HMainSourceEntryID").val(obj[0].HEntryID);
                $("#HMainSourceBillNo").val(obj[0].单据号);
                $("#HMainSourceBillType").val(obj[0].单据类型);
            } else {
                layer.msg("该项目已关闭,不可选择!");
            }
        }
        //管理员
        function GetHManagerValue(obj) {
            $("#HManagerID").val(obj[0].HItemID);//管理员id
            $("#HManagerName").val(obj[0].职员名称);//管理员名称
        }
        //项目经理
        function GetHPMValue(obj) {
            $("#HPMEmpID").val(obj[0].HItemID);//客户id
            $("#HPMEmpName").val(obj[0].职员名称);//客户名称
        }
        //实施担当
        function GetHWorkerValue(obj) {
            $("#HWorkEmpID").val(obj[0].HItemID);//员工id
            $("#HWorkEmpName").val(obj[0].职员名称);//员工名称
        }
        //供应商
        function GetHSupNameValue(obj) {
            $("#HPMTeamID").val(obj[0].HItemID);//交付方id
            $("#HPMTeamName").val(obj[0].供应商名称);//供应商名称
        }
        //项目费用
        function GetProjectMoneyValue(obj) {
            optiondata = obj;
        }
    </script>
</body>
WebTM/views/ÏîÄ¿¹ÜÀí/¹¤³ÌÏîÄ¿/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].项目代码, "项目名称": 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);//关闭弹窗
                        };
                    }
                });
            }
@@ -1205,7 +1232,10 @@
            //#endregion
        });
        //工程项目
        function GetProjectBillValue(obj) {
            optionData = obj;
        }
    </script>
</body>
</html>