duhe
2025-09-17 19e6c5000df386eac36ea3c2e310d3e98ca2cc71
WebTM/views/¹¤×ʹÜÀí/¼Ó°àÉêÇë/Pay_OverApplyBill.html
@@ -719,7 +719,7 @@
                    , shift: 2                                          //弹出动画
                    , area: ["90%", "90%"]                              //窗体大小
                    , maxmin: true                                      //设置最大最小按钮是否显示
                    , content: ["../../../views/基础资料/工资基础资料/Gy_Group.html?Type=HGroupID", "yes"]
                    , content: ["../../../views/基础资料/工资基础资料/Gy_Group.html?Type=HGroup", "yes"]
                    , btn: ["确定", "取消"]
                    , btn1: function (index, laero) {
                        //按钮一  çš„回调
@@ -753,7 +753,7 @@
                    , shift: 2                                          //弹出动画
                    , area: ["90%", "90%"]                              //窗体大小
                    , maxmin: true                                      //设置最大最小按钮是否显示
                    , content: ["../../../views/Baseset/基础资料/Gy_DepartmentList.html?Type=HDeptID", "yes"]
                    , content: ["../../基础资料/公用基础资料/Gy_DepartmentList.html", "yes"]
                    , btn: ["确定", "取消"]
                    , btn1: function (index, laero) {
                        //按钮一  çš„回调
@@ -765,7 +765,7 @@
                        }
                        $("#HDeptID").val(checkStatus.data[0].HItemID);//内码
                        $("#HDeptName").val(checkStatus.data[0].HName);//名称
                        $("#HDeptName").val(checkStatus.data[0].部门名称);//名称
                        layer.close(index);//关闭弹窗
                    }
                    , btn2: function (index, layero) { }
@@ -784,7 +784,7 @@
                    , shift: 2                                          //弹出动画
                    , area: ["90%", "90%"]                              //窗体大小
                    , maxmin: true                                      //设置最大最小按钮是否显示
                    , content: ["../../../views/Baseset/基础资料/Gy_EmployeeList.html?Type=HEmpID", "yes"]
                    , content: ["../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HManager", "yes"]
                    , btn: ["确定", "取消"]
                    , btn1: function (index, laero) {
                        //按钮一  çš„回调
@@ -796,7 +796,7 @@
                        }
                        $("#HMangerID").val(checkStatus.data[0].HItemID);//内码
                        $("#HMangerName").val(checkStatus.data[0].HName);//名称
                        $("#HMangerName").val(checkStatus.data[0].职员名称);//名称
                        layer.close(index);//关闭弹窗
                    }
                    , btn2: function (index, layero) { }
@@ -1110,7 +1110,7 @@
                                , shift: 2                                          //弹出动画
                                , area: ["90%", "90%"]                              //窗体大小
                                , maxmin: true                                      //设置最大最小按钮是否显示
                                , content: ["../../Baseset/基础资料/Gy_EmployeeList.html", "yes"]
                                , content: ["../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmpList", "yes"]
                                , btn: ["确定", "取消"]
                                , btn1: function (index, laero) {
                                    //按钮一  çš„回调
@@ -1123,10 +1123,17 @@
                                    //更新表格缓存的数据
                                    obj.update({
                                        "HEmpID": checkStatus.data[0].HItemID
                                        , "HEmpNumber": checkStatus.data[0].HNumber
                                        , "HEmpName": checkStatus.data[0].HName
                                        , "HEmpNumber": checkStatus.data[0].职员代码
                                        , "HEmpName": checkStatus.data[0].职员名称
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    obj.update({
                                        "HEmpID": OptionData.HItemID
                                        , "HEmpNumber": OptionData.职员代码
                                        , "HEmpName": OptionData.职员名称
                                    })
                                }
                            })
                        }
@@ -1276,8 +1283,28 @@
        });
        //双击返回基础资料数据    è¡¨å¤´
        function GetHDeptNameValue(obj)  //返回部门
        {
            $("#HDeptName").val(obj[0].部门名称);
            $("#HDeptID").val(obj[0].HItemID);
        }
        function GetHGroupValue(obj)  //返回班组
        {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
            $("#HDeptID").val(obj[0].HDeptID);//部门代码
            $("#HDeptName").val(obj[0].部门名称);//部门名称
        }
        function GetHManagerValue(obj)  //返回主管
        {
            $("#HMangerName").val(obj[0].职员名称);
            $("#HMangerID").val(obj[0].HItemID);
        }
        function GetHEmpListValue(data)  //返回职员
        {
            OptionData = data
        }
    </script>
</body>
</html>