WebTM/views/ÖÊÁ¿¹ÜÀí/ÖÊÁ¿±¨±í/QC_FiveMenOneRingList.html
@@ -759,23 +759,116 @@
            table.on('tool(mainTable_Man)', function (obj) {
                var data = obj.data;
                if (obj.event == '单据号') {
                    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 () {
                        }
                    })
                    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 linterid = data.职员id;
                    layer.open({