yangle
2024-04-10 77d1a74ad680e1e48329ee1c169fb221084a737b
生产管理全部模块报工平台
21个文件已修改
578 ■■■■ 已修改文件
WebTM/views/基础资料/公用基础资料/Gy_OrderLev.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Gy_Unit.html 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/上料防错单/Sc_Add_MaterToSourceBillList.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/产量汇报单/Sc_Add_ProductReportBillList.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/不良采集/Sc_QualityReportStepBill.html 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/产量汇报/Sc_Add_ProductReportStepBillList.html 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/停工/Sc_Add_MESStopStepWorkBillList.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/完工/Sc_Add_MESEndStepWorkBillList.html 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/开工/Sc_Add_MESBeginStepWorkBillList.html 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/返工/Sc_Add_MESReturnStepWorkBillList.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/防错/Sc_Add_MaterToSourceStepBillList.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工平台功能页/LineBind.html 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工平台功能页/LineBindStep.html 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产任务单/Sc_ICMOBillEdit.html 91 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产任务单/Sc_ICMOBillEdit_NoTable.html 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产停工单/Sc_Add_MESStopWorkBillList.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产完工单/Sc_Add_MESEndWorkBillList.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产开工单/Sc_Add_MESBeginWorkBillList.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产汇报单/Sc_Add_ICMOReportBillList.html 92 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产物料清单/sc_Gy_ICBomBillMainList.html 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/质量汇报单/Sc_QualityReportBill.html 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_OrderLev.html
@@ -189,6 +189,16 @@
                };
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetOrderLevValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
            //#region æœ¬é¡µé¢æ‰€æœ‰è¢«è°ƒç”¨çš„æ–¹æ³•
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_Unit.html
@@ -130,6 +130,8 @@
            var titleData = ["HItemID","hparentid"];
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
            var params = getUrlVars();
            var Type = params[params[0]];
            //初始化界面
            set_ClearBill();
@@ -368,7 +370,16 @@
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetUnitValue(data);
                switch (Type) {
                    case "AuxiliaryUnit":  //辅助计量单位
                        parent.GetAuxiliaryUnitValue(data);
                        break;
                    default:
                           parent.GetUnitValue(data);
                        break;
                }
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
@@ -697,6 +708,19 @@
            }
            //#endregion
            //#region èŽ·å–å‚æ•°
            function getUrlVars() {
                var vars = [], hash;
                var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
                for (var i = 0; i < hashes.length; i++) {
                    hash = hashes[i].split('=');
                    vars.push(hash[0]);
                    vars[hash[0]] = hash[1];
                }
                return vars;
            }
            //#endregion
            layer.close(index)
            //laydate.render({
WebTM/views/Éú²ú¹ÜÀí/ÉÏÁÏ·À´íµ¥/Sc_Add_MaterToSourceBillList.html
@@ -646,7 +646,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -684,7 +684,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1286,6 +1286,17 @@
            return [year, month, day].join('-');
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HWorkerName").val(obj[0].职员名称);
            $("#HWorkerID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/²úÁ¿»ã±¨µ¥/Sc_Add_ProductReportBillList.html
@@ -757,7 +757,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -797,7 +797,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1040,7 +1040,16 @@
            return Result;
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HWorkManName").val(obj[0].职员名称);
            $("#HWorkManID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
    </script>
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/²»Á¼²É¼¯/Sc_QualityReportStepBill.html
@@ -680,7 +680,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '班组列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../../基础资料/工资基础资料/Gy_Group.html', 'yes']
                    , content: ['../../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', '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', 'yes']
                    , content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -777,7 +777,21 @@
            //以上为layui模块
        });
        //生产资源
        function GetGySource(obj) {
            $("#HSourceName").val(obj.生产资源名称);
            $("#HSourceID").val(obj.HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
        //检验员
        function GetHEmpValue(obj) {
            $("#HCheckManName").val(obj[0].职员名称);
            $("#HCheckManID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/²úÁ¿»ã±¨/Sc_Add_ProductReportStepBillList.html
@@ -746,7 +746,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_Material.html', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_Material.html', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -785,7 +785,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/生产基础资料/Gy_Source.html', 'yes'],
                    content: ['../../../基础资料/生产基础资料/Gy_Source.html', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -823,7 +823,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -864,7 +864,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1197,9 +1197,29 @@
            }
            return Result;
        }
        //物料
        function GetMaterValue(obj) {
            $("#HMaterName").val(obj[0].物料名称);
            $("#HMaterNumber").val(obj[0].物料代码);
            $("#HMaterID").val(obj[0].HItemID);
        }
        //生产资源
        function GetGySource(obj) {
            $("#HSourceName").val(obj.生产资源名称);
            $("#HSourceID").val(obj.HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupNumber").val(obj[0].班组代码);
            $("#HGroupID").val(obj[0].HItemID);
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpNumber").val(obj[0].职员代码);
            $("#HEmpID").val(obj[0].HItemID);
        }
    </script>
</body>
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/Í£¹¤/Sc_Add_MESStopStepWorkBillList.html
@@ -792,7 +792,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -832,7 +832,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -966,6 +966,17 @@
            }
            return Result;
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/Í깤/Sc_Add_MESEndStepWorkBillList.html
@@ -2,7 +2,7 @@
<html>
<head>
    <meta charset="utf-8" />
    <title>完工单</title>
    <title>结班单</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
@@ -96,7 +96,7 @@
                        </div>
                        <div class="layui-card-body">
                            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                                <h1 style="text-align:center;"><b>完工单</b></h1>
                                <h1 style="text-align:center;"><b>结班单</b></h1>
                                <div class="layui-tab-content">
                                    <div class="layui-tab layui-tab-card">
                                        <ul class="layui-tab-title">
@@ -681,7 +681,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -721,7 +721,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -920,6 +920,17 @@
            }
            return Result;
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/¿ª¹¤/Sc_Add_MESBeginStepWorkBillList.html
@@ -957,7 +957,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -997,7 +997,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1121,6 +1121,21 @@
            return [year, month, day].join('-');
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
        //生产车间
        function GetHDeptNameValue(obj) {
            $("#HDeptName").val(obj[0].部门名称);
            $("#HDeptID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/·µ¹¤/Sc_Add_MESReturnStepWorkBillList.html
@@ -860,7 +860,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -900,7 +900,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1033,6 +1033,17 @@
            return [year, month, day].join('-');
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HWorkerName").val(obj[0].职员名称);
            $("#HWorkerID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/·À´í/Sc_Add_MaterToSourceStepBillList.html
@@ -651,7 +651,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -689,7 +689,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1291,6 +1291,17 @@
            return [year, month, day].join('-');
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HWorkerName").val(obj[0].职员名称);
            $("#HWorkerID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Æ½Ì¨¹¦ÄÜÒ³/LineBind.html
@@ -183,7 +183,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../PublicPage/SourceInformation.html', 'yes'],
                    content: ['../../基础资料/生产基础资料/Gy_Source.html', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -193,8 +193,8 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HSourceName").val(checkStatus.data[0].HName);
                        $("#HSourceCode").val(checkStatus.data[0].HNumber);
                        $("#HSourceName").val(checkStatus.data[0].生产资源名称);
                        $("#HSourceCode").val(checkStatus.data[0].生产资源代码);
                        $("#HSourceID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
@@ -223,7 +223,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../PublicPage/UserInformation.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -233,7 +233,7 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HManagerName").val(checkStatus.data[0].HName);
                        $("#HManagerName").val(checkStatus.data[0].职员名称);
                        $("#HManagerID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
@@ -262,7 +262,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../PublicPage/GroupInformation.html', 'yes'],
                    content: ['../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -272,7 +272,7 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HGroupName").val(checkStatus.data[0].HName);
                        $("#HGroupName").val(checkStatus.data[0].班组名称);
                        $("#HGroupID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
@@ -293,8 +293,22 @@
           
            //以上为layui模块
        });
        //生产资源
        function GetGySource(obj) {
            $("#HSourceName").val(obj.生产资源名称);
            $("#HSourceCode").val(obj.生产资源代码);
            $("#HSourceID").val(obj.HItemID);
        }
        //负责人
        function GetHEmpValue(obj) {
            $("#HManagerName").val(obj[0].职员名称);
            $("#HManagerID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Æ½Ì¨¹¦ÄÜÒ³/LineBindStep.html
@@ -183,7 +183,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../PublicPage/SourceInformation.html', 'yes'],
                    content: ['../../基础资料/生产基础资料/Gy_Source.html', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -193,8 +193,8 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HSourceName").val(checkStatus.data[0].HName);
                        $("#HSourceCode").val(checkStatus.data[0].HNumber);
                        $("#HSourceName").val(checkStatus.data[0].生产资源名称);
                        $("#HSourceCode").val(checkStatus.data[0].生产资源代码);
                        $("#HSourceID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
@@ -223,7 +223,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../PublicPage/UserInformation.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -233,7 +233,7 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HManagerName").val(checkStatus.data[0].HName);
                        $("#HManagerName").val(checkStatus.data[0].职员名称);
                        $("#HManagerID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
@@ -262,7 +262,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../PublicPage/GroupInformation.html', 'yes'],
                    content: ['../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -272,7 +272,7 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HGroupName").val(checkStatus.data[0].HName);
                        $("#HGroupName").val(checkStatus.data[0].班组名称);
                        $("#HGroupID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
@@ -293,7 +293,22 @@
           
            //以上为layui模块
        });
        //生产资源
        function GetGySource(obj) {
            $("#HSourceName").val(obj.生产资源名称);
            $("#HSourceCode").val(obj.生产资源代码);
            $("#HSourceID").val(obj.HItemID);
        }
        //负责人
        function GetHEmpValue(obj) {
            $("#HManagerName").val(obj[0].职员名称);
            $("#HManagerID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
       
    </script>
</body>
WebTM/views/Éú²ú¹ÜÀí/Éú²úÈÎÎñµ¥/Sc_ICMOBillEdit.html
@@ -269,7 +269,7 @@
    </script>
    <script>
        var OptionData = [];
        layui.config({
            base: '../../../layuiadmin/' //静态资源所在路径
        }).extend({
@@ -603,7 +603,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '业务员'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -726,6 +726,18 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "HMaterID": OptionData[0].HItemID
                                            , "HMaterNumber": OptionData[0].物料代码
                                            , "HMaterName": OptionData[0].物料名称
                                            , "HModel": OptionData[0].规格型号
                                        })
                                        OptionData = [];
                                    }
                                }
                            })
                        }
                        //生产资源
@@ -755,6 +767,16 @@
                                        , "HSourceName": checkStatus.data[0].生产资源名称
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "HSourceID": OptionData[0].HItemID
                                            , "HSourceName": OptionData[0].生产资源名称
                                        })
                                        OptionData = [];
                                    }
                                }
                            })
                        }
@@ -786,6 +808,16 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "HDeptID": OptionData[0].HItemID
                                            , "HDeptName": OptionData[0].部门名称
                                        })
                                        OptionData = [];
                                    }
                                }
                            })
                        }
                        //计量单位
@@ -814,6 +846,16 @@
                                        , "HUnitID": checkStatus.data[0].HItemID
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "HUnitName": OptionData[0].计量单位名称
                                            , "HUnitID": OptionData[0].HItemID
                                        })
                                        OptionData = [];
                                    }
                                }
                            })
                        }
@@ -844,6 +886,17 @@
                                        ,"HOrderLevID": checkStatus.data[0].HItemID
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "订单等级名称": OptionData[0].订单等级
                                            , "订单等级代码": OptionData[0].订单等级代码
                                            , "HOrderLevID": OptionData[0].HItemID
                                        })
                                        OptionData = [];
                                    }
                                }
                            })
                        }
@@ -1031,6 +1084,40 @@
        });
        //业务员
        function GetHEmpValue(obj) {
            $("#HEmpID").val(obj[0].HItemID);
            $("#HEmpName").val(obj[0].职员名称);
        }
        //工作中心
        function GetWorkCenterValue(obj) {
            $("#HCenterID").val(obj[0].HItemID);
            $("#HCenterName").val(obj[0].工作中心名称);
        }
        //物料
        function GetMaterValue(obj) {
            OptionData = obj;
        }
        //计量单位
        function GetUnitValue(obj) {
            OptionData = obj;
        }
        //客户
        function GetHCusNameValue(obj) {
            OptionData = obj;
        }
        //生产车间
        function GetHDeptNameValue(obj) {
            OptionData = obj;
        }
        //生产资源
        function GetGySource(obj) {
            OptionData[0] = obj;
        }
        //订单等级
        function GetOrderLevValue(obj) {
            OptionData = obj;
        }
    </script>
</body>
WebTM/views/Éú²ú¹ÜÀí/Éú²úÈÎÎñµ¥/Sc_ICMOBillEdit_NoTable.html
@@ -783,7 +783,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '业务员'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -974,7 +974,7 @@
                    , area: ['90%', '90%']//大小
                    , title: "计量单位列表"  //标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_Unit.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_Unit.html?type=AuxiliaryUnit', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1649,6 +1649,55 @@
        }
        //#endregion
        //计量单位
        function GetUnitValue(obj) {
            $("#HUnitID").val(obj[0].HItemID);
            $("#HUnitName").val(obj[0].计量单位名称);
        }
        //业务员
        function GetHEmpValue(obj) {
            $("#HEmpID").val(obj[0].HItemID);
            $("#HEmpName").val(obj[0].职员名称);
        }
        //客户
        function GetHCusNameValue(obj) {
            $("#HCusID").val(obj[0].HItemID);
            $("#HCusName").val(obj[0].客户名称);
        }
        //物料
        function GetMaterValue(obj) {
            $("#HMaterID").val(obj[0].HItemID);
            $("#HMaterNumber").val(obj[0].物料代码);
            $("#HMaterName").val(obj[0].物料名称);
            $("#HModel").val(obj[0].规格型号);
            $("#HUnitID").val(obj[0].HUnitID);//计量单位id
            $("#HUnitName").val(obj[0].计量单位名称);//计量单位名称
            $("#HWidth").val(obj[0].幅宽);//幅宽
            $("#HWeight").val(obj[0].克重);//克重
            $("#HColorRemark").val(obj[0].染色要求);//染色要求
            $("#HRemark").val(obj[0].备注);//备注
        }
        //辅助计量单位
        function GetAuxiliaryUnitValue(obj) {
            $("#HAuxUnit").val(obj[0].HItemID);
            $("#HAuxUnitName").val(obj[0].计量单位名称);
        }
        //工作中心
        function GetWorkCenterValue(obj) {
            $("#HCenterID").val(obj[0].HItemID);
            $("#HCenterName").val(obj[0].工作中心名称);
        }
        //bom
        function GetICBomValue(obj) {
            $("#HBomID").val(obj[0].hmainid);
            $("#HBomName").val(obj[0].单据号);
        }
        //生产车间
        function GetHDeptNameValue(obj) {
            $("#HDeptID").val(obj[0].HItemID);
            $("#HDeptName").val(obj[0].部门名称);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/Éú²úÍ£¹¤µ¥/Sc_Add_MESStopWorkBillList.html
@@ -798,7 +798,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -838,7 +838,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -972,6 +972,17 @@
            }
            return Result;
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/Éú²úÍ깤µ¥/Sc_Add_MESEndWorkBillList.html
@@ -675,7 +675,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -715,7 +715,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -927,6 +927,17 @@
            }
            return Result;
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/Éú²ú¿ª¹¤µ¥/Sc_Add_MESBeginWorkBillList.html
@@ -811,7 +811,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -851,7 +851,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -974,6 +974,17 @@
            return [year, month, day].join('-');
        }
        //操作员
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/Éú²ú»ã±¨µ¥/Sc_Add_ICMOReportBillList.html
@@ -263,6 +263,7 @@
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    </script>
    <script>
        var OptionData = [];
        //#region æŠ˜å æ³¨é‡Š
        //#endregion
        layui.config({
@@ -403,7 +404,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/工资基础资料/Gy_Group.html', 'yes'],
                    content: ['../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -739,8 +740,17 @@
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                }, end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HMaterID: OptionData[0].HItemID,
                                            HMaterCode: OptionData[0].物料代码,
                                            HMaterName: OptionData[0].物料名称,
                                            HMaterSpec: OptionData[0].规格型号,
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -779,9 +789,16 @@
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                }, end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HUnitID: OptionData[0].HItemID,
                                            HUnitCode: OptionData[0].计量单位代码,
                                            HUnitName: OptionData[0].计量单位名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -820,9 +837,16 @@
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                }, end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HSourceID: OptionData[0].HItemID,
                                            HSourceCode: OptionData[0].生产资源代码,
                                            HSourceName: OptionData[0].生产资源名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -838,7 +862,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true,
                                content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                                content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HManager', 'yes'],
                                btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -861,9 +885,16 @@
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                }, end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HWorkerid: OptionData[0].HItemID,
                                            HWorkerCode: OptionData[0].职员代码,
                                            HWorkerName: OptionData[0].职员名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1272,7 +1303,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '职员列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1467,7 +1498,38 @@
            /*window.location.href = url;*/
            window.open(url)
        }
        //生产车间
        function GetHDeptNameValue(obj) {
            $("#HDeptName").val(obj[0].部门名称);
            $("#HDeptID").val(obj[0].HItemID);
            $("#HDeptNumber").val(obj[0].部门代码);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
        //统计员
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        //物料
        function GetMaterValue(obj) {
            OptionData = obj;
        }
        //单位
        function GetUnitValue(obj) {
            OptionData = obj;
        }
        //生产资源
        function GetGySource(obj) {
            OptionData[0] = obj;
        }
        //操作员
        function GetHManagerValue(obj) {
            OptionData = obj;
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/Éú²úÎïÁÏÇåµ¥/sc_Gy_ICBomBillMainList.html
@@ -176,8 +176,19 @@
                get_FastQuery();
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetICBomValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
            //#region  æ­¤é¡µé¢æ‰€æœ‰çš„æ–¹æ³•
            // åˆå§‹åŒ–界面
            function set_ClearBill() {
WebTM/views/Éú²ú¹ÜÀí/ÖÊÁ¿»ã±¨µ¥/Sc_QualityReportBill.html
@@ -674,7 +674,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '班组列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/工资基础资料/Gy_Group.html', 'yes']
                    , content: ['../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -699,7 +699,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '检验员列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -771,7 +771,21 @@
            //以上为layui模块
        });
        //生产资源
        function GetGySource(obj) {
            $("#HSourceName").val(obj.生产资源名称);
            $("#HSourceID").val(obj.HItemID);
        }
        //检验员
        function GetHEmpValue(obj) {
            $("#HCheckManName").val(obj[0].职员名称);
            $("#HCheckManID").val(obj[0].HItemID);
        }
        //生产班组
        function GetHGroupValue(obj) {
            $("#HGroupName").val(obj[0].班组名称);
            $("#HGroupID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>