yxj
2024-12-06 24ee69cf7ec887b3319e6a7b199e5b7c47e5c2dc
WebTM/views/ÖÊÁ¿¹ÜÀí/ÖÊÁ¿±¨±í/QC_FiveMenOneRingList.html
@@ -126,6 +126,7 @@
                                                    <li>法</li>
                                                    <li>环</li>
                                                    <li>测</li>
                                                    <li>ä¿¡</li>
                                                </ul>
                                                <div class="layui-tab-content">
                                                    <div class="layui-tab-item layui-show">
@@ -151,6 +152,10 @@
                                                    <div class="layui-tab-item">
                                                        <!--测-->
                                                        <table class="layui-hide" id="mainTable_Measure" lay-filter="mainTable_Measure"></table>
                                                    </div>
                                                    <div class="layui-tab-item">
                                                        <!--ä¿¡-->
                                                        <table class="layui-hide" id="mainTable_Message" lay-filter="mainTable_Message"></table>
                                                    </div>
                                                </div>
                                            </div>
@@ -225,6 +230,7 @@
            var option_Method = "";  //法
            var option_Environments = ""; //环
            var option_Measure = ""; //测
            var option_Message = ""; //ä¿¡
            var option_HB_SN = ""; //黑白标
            var ins;
            //#endregion
@@ -334,6 +340,8 @@
                set_InitGrid_Environments();
                //初始化测列表
                set_InitGrid_Measure();
                //初始化信列表
                set_InitGrid_Message();
                //初始化黑白标列表
                set_InitGrid_HB_SN();
                //查询
@@ -500,6 +508,20 @@
                };
            }
            //初始化信列表
            function set_InitGrid_Message() {
                option_Man = {
                    elem: '#mainTable_Message'
                    , toolbar: '#toolbarDemo2'
                    , totalRow: true
                    , height: 600
                    , cellMinWidth: 90
                    , limit: Number.MAX_VALUE//默认显示全部
                    , cols: []
                    , data: []
                };
            }
            //初始化黑白标列表
            function set_InitGrid_HB_SN() {
                option_HB_SN = {
@@ -548,6 +570,13 @@
                                            }, 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) {
                                            //int
@@ -572,7 +601,7 @@
                                , cellMinWidth: 90
                            }
                            table.render(option);
                            //人
                            option_Man = {
                                elem: '#mainTable_Man'
                                , toolbar: '#toolbarDemo2'
@@ -582,7 +611,7 @@
                                , cellMinWidth: 90
                            }
                            table.render(option_Man);
                            //机
                            option_Machine = {
                                elem: '#mainTable_Machine'
                                , toolbar: '#toolbarDemo2'
@@ -592,7 +621,7 @@
                                , cellMinWidth: 90
                            }
                            table.render(option_Machine);
                            //料
                            option_Material = {
                                elem: '#mainTable_Material'
                                , toolbar: '#toolbarDemo2'
@@ -602,7 +631,7 @@
                                , cellMinWidth: 90
                            }
                            table.render(option_Material);
                            //法
                            option_Method = {
                                elem: '#mainTable_Method'
                                , toolbar: '#toolbarDemo2'
@@ -612,7 +641,7 @@
                                , cellMinWidth: 90
                            }
                            table.render(option_Method);
                            //环
                            option_Environments = {
                                elem: '#mainTable_Environments'
                                , toolbar: '#toolbarDemo2'
@@ -622,7 +651,7 @@
                                , cellMinWidth: 90
                            }
                            table.render(option_Environments);
                            //测
                            option_Measure = {
                                elem: '#mainTable_Measure'
                                , toolbar: '#toolbarDemo2'
@@ -632,6 +661,16 @@
                                , cellMinWidth: 90
                            }
                            table.render(option_Measure);
                            //ä¿¡
                            option_Message = {
                                elem: '#mainTable_Message'
                                , toolbar: '#toolbarDemo2'
                                , cols: [Listcol[1]]
                                , data: data1.data.h_p_QC_FiveMenOneRingList1
                                , height: 'full-80'
                                , cellMinWidth: 90
                            }
                            table.render(option_Message);
                                                                   
                            $("#HMaterNumber").val(data1.data.h_p_QC_FiveMenOneRingList[0].物料代码);
                            $("#HMaterName").val(data1.data.h_p_QC_FiveMenOneRingList[0].物料名称);
@@ -740,8 +779,8 @@
                    success: function (data1) {
                        if (data1.count == 1) {                           
                            var linterid = data1.data[0].hmainid;
                            var SNs = "";
                            getTable_Right(linterid, SNs);
                            var SNs = ""; var HProcID = "";
                            getTable_Right(linterid, HProcID, SNs);
                            layer.close(ajaxLoad);
                        } else {
@@ -815,12 +854,18 @@
            table.on('tool(mainTable)', function (obj) {
                var data = obj.data;             
                var linterid;
                var HProcID;
                var SNs = $("#SN").val();
                //单据号超链接
                if (obj.event == '流转卡') {                  //检查 obj.event æ˜¯å¦ç­‰äºŽå­—符串 '单据号'。如果等于,则执行if循环
                    linterid = data.流转卡id;
                    getTable_Right(linterid, SNs);
                }
                    HProcID = data.工序id;
                    getTable_Right(linterid, HProcID, SNs);
                } else if (obj.event == '工序') {                  //检查 obj.event æ˜¯å¦ç­‰äºŽå­—符串 '单据号'。如果等于,则执行if循环
                    linterid = data.流转卡id;
                    HProcID = data.工序id;
                    getTable_Right(linterid, HProcID, SNs);
                }
            });
            //#endregion  
@@ -878,118 +923,7 @@
            //人
            table.on('tool(mainTable_Man)', function (obj) {
                var data = obj.data;
                if (obj.event == '单据号') {
                    if (data.单据类型=="汇报单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看出站单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../车间管理/工序出站汇报单/Cj_StationOutBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0&HBillNo=' + HBillNo + '&closeType=1'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "工序进站单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看进站单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../车间管理/工序进站接收单/Cj_StationInBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0&HBillNo=' + HBillNo + '&closeType=1'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "取样单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看取样单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../质量管理/检验取样还样单/QC_Add_TakeSampleCheckBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "开工单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看开工单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../生产管理/报工台工序/开工/Sc_Add_MESBeginStepWorkBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "停工单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看取样单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../生产管理/报工台工序/停工/Sc_MESStopStepWorkBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "完工单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看取样单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../生产管理/报工台工序/完工/Sc_Add_MESEndStepWorkBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    }
                } else if (obj.event == '职员') {
                if (obj.event == '职员') {
                    var HName = data.职员;
                    var HProcID = data.工序id;
                    layer.open({
@@ -1000,7 +934,7 @@
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../人事管理/人员履历/HR_PersonnelResumeList.html?OperationType=2&HNumber=&HName=' + HName + '&HProcID=' + HProcID +''
                        , content: '../../人事管理/人员履历/HR_PersonnelResumeList.html?OperationType=2&HNumber=&HName=' + HName + '&HProcID=' + HProcID + ''
                        , resize: false,
                        end: function () {
                        }
@@ -1008,7 +942,6 @@
                        }
                    })
                }
            });
            //机
@@ -1198,22 +1131,24 @@
            table.on('tool(mainTable_Material)', 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_Add_MaterToSourceStepBillList.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_Add_MaterToSourceStepBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    }
                } else if (obj.event == '职员') {
                    var HName = data.职员;
                    var HProcID = data.工序id;
@@ -1240,23 +1175,24 @@
                var data = obj.data;
                if (obj.event == '单据号') {
                    var linterid = data.单据主id;
                    if (data.单据类型 == "工序流转卡") {
                    if (data.单据类型 == "产品工艺参数") {
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看设备工艺参数点检'
                            , title: '查看产品工艺参数清单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../车间管理/工序流转卡/Sc_ProcessExchangeBill.html?OperationType=3&linterid=' + linterid + '&HEntryID=&HSouceBillType=3772'
                            , content: '../../计划管理/工艺路线/Gy_MaterialTechParamBillMain.html?OperationType=3&linterid=' + linterid + '&HEntryID=&HSouceBillType='
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "工艺参数点检单") {
                    }
                    else if (data.单据类型 == "工艺参数点检单") {
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
@@ -1272,7 +1208,26 @@
                            , cancel: function () {
                            }
                        })
                    }
                    }
                    else if (data.单据类型 == "作业指导书") {
                        var HProcID = data.工序id;
                        var HMaterID = data.物料id;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看作业指导书'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../生产管理/作业指导书/Gy_SOPBill_Video.html?OperationType=5&HMaterID=' + HMaterID + '&HSourceNo=&HSourceEntryID=&HProcID=' + HProcID
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    }
                } else if (obj.event == '职员') {
                    var HName = data.职员;
                    var HProcID = data.工序id;
@@ -1285,25 +1240,6 @@
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../人事管理/人员履历/HR_PersonnelResumeList.html?OperationType=2&HNumber=&HName=' + HName + '&HProcID=' + HProcID + ''
                        , 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: '查看模具履历'
                        , closeBtn: 1
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../模治具管理/器具报表/Sc_MouldResumeCheckQuery.html?OperationType=3&linterid=' + linterid + '&HNumber=' + HNumber + '&HName=' + HName + ''
                        , resize: false,
                        end: function () {
                        }
@@ -1329,47 +1265,70 @@
                        , cancel: function () {
                        }
                    })
                } else if (obj.event == '工序名称') {
                    if (data.单据类型 == "工序流转卡") {
                        var linterid = data.单据主id;
                        var HProcID = 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 + '&HProcID=' + HProcID + ''
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    }
                    else {
                } else if (obj.event == '工艺参数') {
                    if (data.单据类型 == "产品工艺参数") {
                        var linterid = data.流转卡id;
                        var HProcID = data.工序id;
                        var HTeachName = data.工艺参数;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看设备履历'
                            , title: '查看设备工艺参数趋势图'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../质量管理/质量报表/SB_TechnologyParameterList.html?OperationType=3&linterid=' + linterid + '&HProcID=' + HProcID + ''
                            , content: '../../质量管理/质量报表/SB_TechnologyParameterList.html?OperationType=3&linterid=' + linterid + '&HProcID=' + HProcID + '&HTeachName=' + HTeachName + ''
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    }
                    }
                    }
                }
                   
            });
            //环
            table.on('tool(mainTable_Environments)', 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: '../../质量管理/环境检测单/QC_EnvironmentTestDotCheckBillEdit.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
                        , resize: false,
                        end: function () {
                        }
                        , cancel: function () {
                        }
                    })
                } else if (obj.event == '职员') {
                    var HName = data.职员;
                    var HProcID = data.工序id;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '查看职员档案'
                        , closeBtn: 1
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../人事管理/人员履历/HR_PersonnelResumeList.html?OperationType=2&HNumber=&HName=' + HName + '&HProcID=' + HProcID + ''
                        , resize: false,
                        end: function () {
                        }
                        , cancel: function () {
                        }
                    })
                }
            });
            //测
@@ -1500,15 +1459,151 @@
                }
            });
            //ä¿¡
            table.on('tool(mainTable_Message)', function (obj) {
                var data = obj.data;
                if (obj.event == '单据号') {
                    if (data.单据类型 == "汇报单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看汇报单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../车间管理/工序出站汇报单/Cj_StationOutBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0&HBillNo=' + HBillNo + '&closeType=1'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "工序进站单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看进站单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../车间管理/工序进站接收单/Cj_StationInBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0&HBillNo=' + HBillNo + '&closeType=1'
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "取样单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看取样单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../质量管理/检验取样还样单/QC_Add_TakeSampleCheckBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "开工单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看开工单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../生产管理/报工台工序/开工/Sc_Add_MESBeginStepWorkBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "停工单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看取样单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../生产管理/报工台工序/停工/Sc_MESStopStepWorkBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    } else if (data.单据类型 == "完工单") {
                        var linterid = data.单据主id;
                        var HBillNo = data.单据号;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '查看取样单'
                            , closeBtn: 1
                            , shade: 0.6 //遮罩透明度
                            , maxmin: true //允许全屏最小化
                            , anim: 0 //0-6的动画形式,-1不开启
                            , content: '../../生产管理/报工台工序/完工/Sc_Add_MESEndStepWorkBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                            , resize: false,
                            end: function () {
                            }
                            , cancel: function () {
                            }
                        })
                    }
                } else if (obj.event == '职员') {
                    var HName = data.职员;
                    var HProcID = data.工序id;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '查看职员档案'
                        , closeBtn: 1
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: '../../人事管理/人员履历/HR_PersonnelResumeList.html?OperationType=2&HNumber=&HName=' + HName + '&HProcID=' + HProcID + ''
                        , resize: false,
                        end: function () {
                        }
                        , cancel: function () {
                        }
                    })
                }
            });
            //#endregion     
            //#region æµè½¬å¡ç‚¹å‡»æŸ¥è¯¢ äººæœºæ–™æ³•环
            function getTable_Right(linterid,SNs) {
            function getTable_Right(linterid,HProcID,SNs) {
                var ajaxLoad = layer.load();
                $.ajax({
                    url: GetWEBURL() + '/QC_CustomerAppealReport/Get_QC_FiveMenOneRingList_Right',
                    type: "GET",
                    data: { "linterid": linterid, "SNs": SNs, "user": sessionStorage["HUserName"] },
                    data: { "linterid": linterid, "HProcID": HProcID, "SNs": SNs, "user": sessionStorage["HUserName"] },
                    success: function (data1) {
                        if (data1.count == 1) {
                            var Listcol = [];
@@ -1552,10 +1647,24 @@
                                            }, style: 'cursor: pointer;'
                                        });
                                    }
                                    else if (data[j].name == '工序名称') {//添加超链接
                                    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>'
                                            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 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 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;'
                                        });
                                    }
@@ -1644,13 +1753,25 @@
                                , page: false
                            }
                            table.render(option_Measure);
                            //ä¿¡
                            option_Message = {
                                elem: '#mainTable_Message'
                                , toolbar: '#toolbarDemo2'
                                , cols: [Listcol[6]]
                                , data: data1.data.h_p_QC_FiveMenOneRingList_Query6
                                , height: 'full-80'
                                , cellMinWidth: 90
                                , limit: Number.MAX_VALUE//默认显示全部
                                , page: false
                            }
                            table.render(option_Message);
                            if (SNs =="") {
                                //左侧表格
                                option = {
                                    elem: '#mainTable'
                                    , toolbar: '#toolbarDemo'
                                    , cols: [Listcol[6]]
                                    , data: data1.data.h_p_QC_FiveMenOneRingList_Query6
                                    , cols: [Listcol[7]]
                                    , data: data1.data.h_p_QC_FiveMenOneRingList_Query7
                                    , height: 'full-80'
                                    , cellMinWidth: 90
                                }