zrg
2024-10-15 78de27057cad6ce159d4ba14050cb56510694ccf
完善人机料法环报表
6个文件已修改
547 ■■■■ 已修改文件
WebTM/WebTM.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/layuiadmin/Scripts/webConfig.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/器具报表/Sc_MouldResumeCheckQuery.html 153 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/设备报表/Sb_EquipResumeCheckQuery.html 152 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/质量报表/QC_FiveMenOneRingList.html 188 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/质量报表/SB_TechnologyParameterList.html 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj.user
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <NameOfLastUsedPublishProfile>D:\网站发布\后端代码\MES-WEB-TM\MESWMS-LayUI\WebTM\Properties\PublishProfiles\JFTM.pubxml</NameOfLastUsedPublishProfile>
    <NameOfLastUsedPublishProfile>D:\智云迈思\MES\MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
    <ProjectView>ProjectFiles</ProjectView>
    <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
    <UseIISExpress>true</UseIISExpress>
WebTM/layuiadmin/Scripts/webConfig.js
@@ -3,11 +3,11 @@
    //var WEBURL = "http://192.168.16.80:8011/";          //办公室服务器
    //var WEBURL = "http://localhost:8081/SWEAPI/";       //ch本地*/
    //var WEBURL = "http://61.164.86.218:8099/ABAPI/";
    var WEBURL = "http://localhost/API/";             //颜晓军本地配置
    //var WEBURL = "http://localhost/API/";             //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨乐本地配置
    //var WEBURL = "http://localhost:8082/API/";    //杜贺本地配置
    /*var WEBURL = "http://localhost/API/";*/    //潘浙游本地配置  
    //var WEBURL = "http://localhost:8082/API/";    //张瑞广本地配置
    var WEBURL = "http://localhost:8082/API/";    //张瑞广本地配置
    //var WEBURL = "http://localhost:81/API/"    //翁涛涛本地配置
    //var WEBURL = "http://47.96.97.237/API/";          //智云服务器
    /*var WEBURL = "http://localhost:8082/LuBaoAPI/"; */  //余思杰本地配置
WebTM/views/Ä£Öξ߹ÜÀí/Æ÷¾ß±¨±í/Sc_MouldResumeCheckQuery.html
@@ -10,6 +10,7 @@
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/layui/layui1.js"></script>
    <script src="../../../layuiadmin/PubCustom.js"></script>
    <script src="../../../layuiadmin/Scripts/json2.js"></script>
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
@@ -19,6 +20,7 @@
        .layui-tree-set-active > .layui-tree-entry .layui-tree-main {
            background: #aef0f7;
        }
        .my-btn-container {
            min-width: 380px; /* è®¾ç½®æœ€å°å®½åº¦ */
            /* å…¶ä»–需要的样式 */
@@ -95,10 +97,20 @@
                , soulTable = layui.soulTable
                , tree = layui.tree
            var sWhere = "";
            var HNumber = "";
            var HName = "";
            var option = [];
            var optionResume = [];
            var titleData = ["HInterID", "HBillType"];
            var treeId;
            //获取参数
            var params = getUrlVars();
            var OperationType = params[params[0]]; //从参数中获取 æ•°æ®ç±»åž‹  1添加 ä¿å­˜  2复制  3 ç¼–辑
            var linterid  = params[params[1]]; //从参数中获取 å•据内码
                HNumber = params[params[2]]; //从参数中获取
                HName = params[params[3]]; //从参数中获取
            HNumber = decodeURI(HNumber);
            HName = decodeURI(HName);
            //#endregion
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
@@ -113,7 +125,7 @@
                    case 'get_Refresh': get_Refresh();
                        break;
                    //退出按钮
                    case 'get_Exit': Pub_Close(2);
                    case 'get_Exit': get_Exit();
                        break;
                    //退出按钮
                    case 'get_Search': get_DisplayResume();
@@ -161,9 +173,15 @@
            function set_ClearBill() {
                //初始化表格
                set_InitGrid();
                //查询
                get_Display(sWhere);
                if (OperationType == 3) {
                    $("#HNumber").val(HNumber);
                    $("#HName").val(HName);
                    get_FastQuery();
                    get_DisplayResume(linterid)
                } else {
                    //查询
                    get_Display(sWhere);
                }
                //查询设备分类
                get_Display_Tree();
            }
@@ -310,61 +328,64 @@
            function get_DisplayResume(HInterID) {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var HInterID = data[0].hmainid.toString();
                    var ajaxLoad = layer.load();
                    $.ajax({
                        url: GetWEBURL() + '/Gy_MouldFileMain/GetMouldResumeList',
                        type: "GET",
                        data: { "HInterID": HInterID, "user": sessionStorage["HUserName"] },
                        success: function (data1) {
                            if (data1.count == 1) {
                                var data = [];
                                var col = [];
                                var totalArray = ["数量", "关联数量", "未关联数量", "打印条码数量", "未打印条码数量", "实收数量", "金额", "计划金额"];
                                //给空的数组赋值
                                for (var key in data1.list) {
                                    data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType });
                                }
                                //在列表左边添加勾选框
                                col.push({ type: 'checkbox', fixed: 'left', totalRowText: '合计' });
                                for (var i = 0; i < data.length; i++) {
                                    // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
                                    if ($.inArray(data[i].name, titleData) > -1) {
                                        col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //隐藏id列
                                    }
                                    else if ($.inArray(data[i].name, totalArray) > -1) {  //添加计算列
                                        col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 });
                                    } else {
                                        switch (data[i].Type) {
                                            //int
                                            case 'DateTime':
                                                col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " == null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", width: 200 });
                                                break;
                                            default:
                                                col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 });
                                        }
                                    }
                                }
                                optionResume.cols = [col];
                                optionResume.data = data1.data;
                if (OperationType != 3) {
                    if (checkStatus.data.length === 1) {
                        var HInterID = data[0].hmainid.toString();
                                table.render(optionResume);
                                layer.close(ajaxLoad);
                                //layer.alert("查询成功", { icon: 1 });
                            } else {
                                layer.close(ajaxLoad);
                                layer.alert(data1.code + data1.Message, { icon: 5 });
                    } else {
                        layer.msg('请选择一行数据查询!');
                        return;
                    }
                }
                var ajaxLoad = layer.load();
                $.ajax({
                    url: GetWEBURL() + '/Gy_MouldFileMain/GetMouldResumeList',
                    type: "GET",
                    data: { "HInterID": HInterID, "user": sessionStorage["HUserName"] },
                    success: function (data1) {
                        if (data1.count == 1) {
                            var data = [];
                            var col = [];
                            var totalArray = ["数量", "关联数量", "未关联数量", "打印条码数量", "未打印条码数量", "实收数量", "金额", "计划金额"];
                            //给空的数组赋值
                            for (var key in data1.list) {
                                data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType });
                            }
                        }, error: function () {
                            //在列表左边添加勾选框
                            col.push({ type: 'checkbox', fixed: 'left', totalRowText: '合计' });
                            for (var i = 0; i < data.length; i++) {
                                // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
                                if ($.inArray(data[i].name, titleData) > -1) {
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //隐藏id列
                                }
                                else if ($.inArray(data[i].name, totalArray) > -1) {  //添加计算列
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 });
                                } else {
                                    switch (data[i].Type) {
                                        //int
                                        case 'DateTime':
                                            col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " == null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", width: 200 });
                                            break;
                                        default:
                                            col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 });
                                    }
                                }
                            }
                            optionResume.cols = [col];
                            optionResume.data = data1.data;
                            table.render(optionResume);
                            layer.close(ajaxLoad);
                            layer.alert("接口请求失败!", { icon: 5 });
                            //layer.alert("查询成功", { icon: 1 });
                        } else {
                            layer.close(ajaxLoad);
                            layer.alert(data1.code + data1.Message, { icon: 5 });
                        }
                    });
                } else {
                    layer.msg('请选择一行数据查询!');
                }
                    }, error: function () {
                        layer.close(ajaxLoad);
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
            }
            //快速过滤
@@ -482,6 +503,28 @@
                $("#btnSearch").click();
            }
            //退出
            function get_Exit() {
                if (OperationType != 3) {
                    Pub_Close(2);
                } else {
                    Pub_Close(1);
                }
            }
            //#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
            //以上是layui模块
        });
WebTM/views/É豸¹ÜÀí/É豸±¨±í/Sb_EquipResumeCheckQuery.html
@@ -10,6 +10,7 @@
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/layui/layui1.js"></script>
    <script src="../../../layuiadmin/PubCustom.js"></script>
    <script src="../../../layuiadmin/Scripts/json2.js"></script>
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
@@ -19,6 +20,7 @@
        .layui-tree-set-active > .layui-tree-entry .layui-tree-main {
            background: #aef0f7;
        }
        .my-btn-container {
            min-width: 380px; /* è®¾ç½®æœ€å°å®½åº¦ */
            /* å…¶ä»–需要的样式 */
@@ -95,10 +97,20 @@
                , soulTable = layui.soulTable
                , tree = layui.tree
            var sWhere = "";
            var HNumber = "";
            var HName = "";
            var option = [];
            var optionResume = [];
            var titleData = ["HInterID", "HBillType"];
            var treeId;
            //获取参数
            var params = getUrlVars();
            var OperationType = params[params[0]]; //从参数中获取 æ•°æ®ç±»åž‹  1添加 ä¿å­˜  2复制  3 ç¼–辑
            var linterid = params[params[1]]; //从参数中获取 å•据内码
                HNumber = params[params[2]]; //从参数中获取
                HName = params[params[3]]; //从参数中获取
                HNumber = decodeURI(HNumber);
                HName = decodeURI(HName);
            //#endregion
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
@@ -113,7 +125,7 @@
                    case 'get_Refresh': get_Refresh();
                        break;
                    //退出按钮
                    case 'get_Exit': Pub_Close(2);
                    case 'get_Exit': get_Exit();
                        break;
                    //退出按钮
                    case 'get_Search': get_DisplayResume();
@@ -161,9 +173,15 @@
            function set_ClearBill() {
                //初始化表格
                set_InitGrid();
                //查询
                get_Display(sWhere);
                if (OperationType == 3) {
                    $("#HNumber").val(HNumber);
                    $("#HName").val(HName);
                    get_FastQuery();
                    get_DisplayResume(linterid)
                } else {
                    //查询
                    get_Display(sWhere);
                }
                //查询设备分类
                get_Display_Tree();
            }
@@ -298,60 +316,63 @@
            function get_DisplayResume(HInterID) {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var HInterID = data[0].hmainid.toString();
                    var ajaxLoad = layer.load();
                    $.ajax({
                        url: GetWEBURL() + '/Gy_EquipFileMain/GetResumeList',
                        type: "GET",
                        data: { "HInterID": HInterID, "user": sessionStorage["HUserName"] },
                        success: function (data1) {
                            if (data1.count == 1) {
                                var data = [];
                                var col = [];
                                var totalArray = ["数量", "关联数量", "未关联数量", "打印条码数量", "未打印条码数量", "实收数量", "金额", "计划金额"];
                                //给空的数组赋值
                                for (var key in data1.list) {
                                    data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType });
                                }
                                //在列表左边添加勾选框
                                col.push({ type: 'checkbox', fixed: 'left', totalRowText: '合计' });
                                for (var i = 0; i < data.length; i++) {
                                    // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
                                    if ($.inArray(data[i].name, titleData) > -1) {
                                        col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //隐藏id列
                                    }
                                    else if ($.inArray(data[i].name, totalArray) > -1) {  //添加计算列
                                        col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 });
                                    } else {
                                        switch (data[i].Type) {
                                            //int
                                            case 'DateTime':
                                                col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " == null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", width: 200 });
                                                break;
                                            default:
                                                col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 });
                                        }
                                    }
                                }
                                optionResume.cols = [col];
                                optionResume.data = data1.data;
                                table.render(optionResume);
                                layer.close(ajaxLoad);
                                //layer.alert("查询成功", { icon: 1 });
                            } else {
                                layer.close(ajaxLoad);
                                layer.alert(data1.code + data1.Message, { icon: 5 });
                if (OperationType!=3) {
                    if (checkStatus.data.length === 1) {
                        var HInterID = data[0].hmainid.toString();
                    } else {
                        layer.msg('请选择一行数据查询!');
                        return;
                    }
                }
                var ajaxLoad = layer.load();
                $.ajax({
                    url: GetWEBURL() + '/Gy_EquipFileMain/GetResumeList',
                    type: "GET",
                    data: { "HInterID": HInterID, "user": sessionStorage["HUserName"] },
                    success: function (data1) {
                        if (data1.count == 1) {
                            var data = [];
                            var col = [];
                            var totalArray = ["数量", "关联数量", "未关联数量", "打印条码数量", "未打印条码数量", "实收数量", "金额", "计划金额"];
                            //给空的数组赋值
                            for (var key in data1.list) {
                                data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType });
                            }
                        }, error: function () {
                            //在列表左边添加勾选框
                            col.push({ type: 'checkbox', fixed: 'left', totalRowText: '合计' });
                            for (var i = 0; i < data.length; i++) {
                                // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
                                if ($.inArray(data[i].name, titleData) > -1) {
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //隐藏id列
                                }
                                else if ($.inArray(data[i].name, totalArray) > -1) {  //添加计算列
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 });
                                } else {
                                    switch (data[i].Type) {
                                        //int
                                        case 'DateTime':
                                            col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " == null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", width: 200 });
                                            break;
                                        default:
                                            col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 });
                                    }
                                }
                            }
                            optionResume.cols = [col];
                            optionResume.data = data1.data;
                            table.render(optionResume);
                            layer.close(ajaxLoad);
                            layer.alert("接口请求失败!", { icon: 5 });
                            //layer.alert("查询成功", { icon: 1 });
                        } else {
                            layer.close(ajaxLoad);
                            layer.alert(data1.code + data1.Message, { icon: 5 });
                        }
                    });
                } else {
                    layer.msg('请选择一行数据查询!');
                }
                    }, error: function () {
                        layer.close(ajaxLoad);
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
                
            }
@@ -470,6 +491,27 @@
                $("#btnSearch").click();
            }
            //退出
            function get_Exit() {
                if (OperationType != 3) {
                    Pub_Close(2);
                } else {
                    Pub_Close(1);
                }
            }
            //#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
            //以上是layui模块
        });
WebTM/views/ÖÊÁ¿¹ÜÀí/ÖÊÁ¿±¨±í/QC_FiveMenOneRingList.html
@@ -168,7 +168,7 @@
            //
            var HModName = "QC_FiveMenOneRingList";
            //不需要显示的字段 å¯æ‰©å±• ï¼ˆäººï¼‰
            var titleData = ["流转卡id", "生产订单", "物料代码", "规格型号", "单据主id","物料id","生产资源id","职员id","模具id","设备id"];
            var titleData = ["流转卡id", "生产订单", "物料代码", "规格型号", "单据主id","物料id","生产资源id","职员id","模具id","设备id","工序id"];
            //初始化界面
            set_ClearBill();
            //#endregion
@@ -576,8 +576,15 @@
                                            }, style: 'cursor: pointer;'
                                        });
                                    }
                                    else if (data[j].name == '工序名称') {//添加超链接
                                         col.push({
                                            field: data[j].id, title: data[j].name, align: 'center', sort: true, width: 200, event: '工序名称', templet: function (d) {
                                                return '<span style="color: blue;">' + d.工序名称 + '</span>'
                                            }, style: 'cursor: pointer;'
                                         });
                                    }
                                    else {
                                        switch (data[j].Type) {
                                         switch (data[j].Type) {
                                            //int
                                            case 'DateTime':
                                                col.push({ field: data[j].id, title: data[j].name, align: 'center', sort: true, templet: "<div>{{d." + data[j].name + " ==null ?'':layui.util.toDateString(d." + data[j].name + ", 'yyyy-MM-dd')}}</div>", width: 200 });
@@ -811,33 +818,139 @@
            table.on('tool(mainTable_Machine)', function (obj) {
                var data = obj.data;
                if (obj.event == '单据号') {
                    var linterid = data.单据主id;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '查看设备启动点检清单'
                        , closeBtn: 1
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../车间管理/启动点检单/Sc_WorkBeginDotCheckBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                        , resize: false,
                        end: function () {
                        }
                        , cancel: function () {
                        }
                    })
                    if (data.单据类型 == "设备启动点检单") {
                        var linterid = data.单据主id;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看设备启动点检清单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../车间管理/启动点检单/Sc_WorkBeginDotCheckBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "设备点检记录单") {
                        var linterid = data.单据主id;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看设备点检记录单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../设备管理/Sb_EquipDotCheckBillEdit.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "设备保养记录单") {
                        var linterid = data.单据主id;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看设备保养记录单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../设备管理/Sb_EquipMaintainBillEdit.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "设备维修记录单") {
                        var linterid = data.单据主id;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看设备维修记录单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../设备管理/Sb_Add_EqpMaintenanceBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "模具点检记录单") {
                        var linterid = data.单据主id;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看模具点检记录单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../模治具管理/模治具管理/Sc_Add_MouldDotCheckBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "模具保养记录单") {
                        var linterid = data.单据主id;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看模具保养记录单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../模治具管理/模治具管理/Sc_Add_MouldMaintainBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "模具维修记录单") {
                        var linterid = data.单据主id;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看模具维修记录单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../模治具管理/模治具管理/Sb_Add_MouldRepairWorkBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    }
                } else if (obj.event == '模具名称') {
                    var linterid = data.模具id;
                    var HNumber = data.模具编码;
                    var HName = data.模具名称;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '查看模具档案'
                        , title: '查看模具履历'
                        , closeBtn: 1
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../模治具管理/模治具管理/Gy_MouldFile.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                        , content: '../../模治具管理/器具报表/Sc_MouldResumeCheckQuery.html?OperationType=3&linterid=' + linterid + '&HNumber=' + HNumber + '&HName=' + HName+''
                        , resize: false,
                        end: function () {
                        }
@@ -846,15 +959,17 @@
                    })
                } else if (obj.event == '设备名称') {
                    var linterid = data.设备id;
                    var HNumber = data.设备编码;
                    var HName = data.设备名称;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '查看设备档案'
                        , title: '查看设备履历'
                        , closeBtn: 1
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../设备管理/设备档案/Gy_EquipFileMainEdit.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                        , content: '../../设备管理/设备报表/Sb_EquipResumeCheckQuery.html?OperationType=3&linterid=' + linterid + '&HNumber=' + HNumber + '&HName=' + HName + ''
                        , resize: false,
                        end: function () {
                        }
@@ -960,15 +1075,17 @@
                    })
                } else if (obj.event == '模具名称') {
                    var linterid = data.模具id;
                    var HNumber = data.模具编码;
                    var HName = data.模具名称;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '查看模具档案'
                        , title: '查看模具履历'
                        , closeBtn: 1
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../模治具管理/模治具管理/Gy_MouldFile.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                        , content: '../../模治具管理/器具报表/Sc_MouldResumeCheckQuery.html?OperationType=3&linterid=' + linterid + '&HNumber=' + HNumber + '&HName=' + HName + ''
                        , resize: false,
                        end: function () {
                        }
@@ -977,15 +1094,34 @@
                    })
                } else if (obj.event == '设备名称') {
                    var linterid = data.设备id;
                    var HNumber = data.设备编码;
                    var HName = data.设备名称;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '查看设备档案'
                        , title: '查看设备履历'
                        , closeBtn: 1
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../设备管理/设备档案/Gy_EquipFileMainEdit.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                        , content: '../../设备管理/设备报表/Sb_EquipResumeCheckQuery.html?OperationType=3&linterid=' + linterid + '&HNumber=' + HNumber + '&HName=' + HName + ''
                        , resize: false,
                        end: function () {
                        }
                        , cancel: function () {
                        }
                    })
                } else if (obj.event == '工序名称') {
                    var linterid = data.单据主id;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '查看设备履历'
                        , closeBtn: 1
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../质量管理/质量报表/SB_TechnologyParameterList.html?OperationType=3&linterid=' + linterid + ''
                        , resize: false,
                        end: function () {
                        }
WebTM/views/ÖÊÁ¿¹ÜÀí/ÖÊÁ¿±¨±í/SB_TechnologyParameterList.html
@@ -132,7 +132,9 @@
            var HModName = "SB_TechnologyParameterList";
            //不需要显示的字段 å¯æ‰©å±•
            var titleData = ["å¹´", "月", "工序"];
            var params = getUrlVars();
            var OperationType = params[params[0]]; //从参数中获取 æ•°æ®ç±»åž‹  1添加 ä¿å­˜  2复制  3 ç¼–辑
            var linterid = params[params[1]]; //从参数中获取 å•据内码
            var ins;                        //用于导出excel
            //#endregion
@@ -198,8 +200,11 @@
            function set_ClearBill() {
                set_InitGrid(); //初始化表格
                get_FastQuery();
                ////加载折线图
                //加载折线图
                set_Graphics();
                if (OperationType==3) {
                    Get_SB_EquipICMOTechParamBill(linterid);
                }
            }
            //初始化表格
@@ -656,6 +661,45 @@
                })
            }
            //根据全程追溯报表获取流转卡,工序,设备,物料
            function Get_SB_EquipICMOTechParamBill(linterid) {
                $.ajax({
                    url: GetWEBURL() + "/QC_CustomerAppealReport/Get_EquipICMOTechParamList",
                    type: "GET",
                    async: false,
                    data: { "linterid": linterid, "user": sessionStorage["HUserName"] },
                    success: function (result) {
                        if (result.count == 1) {
                            var data = result.data;
                            $("#HProcExchBillNo").val(data[0]["HProcExchBillNo"]);
                            $("#HProcName").val(data[0]["工序名称"]);
                            $("#HMaterName").val(data[0]["物料名称"]);
                            $("#HEquipName").val(data[0]["设备名称"]);
                        } else {
                            layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        }
                    },
                    error: function (err) {
                        layer.msg("接口请求失败!" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    }
                })
            }
            //#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
            //#region éšè—åˆ—设置
            function get_HideColumn() {