wtt
2024-11-01 b9192f4bb658390c8b3263ba5cfd3038c501349e
WebTM/views/³µ¼ä¹ÜÀí/¹¤ÐòÁ÷ת¿¨/Sc_ProcessExchangeBillList.html
@@ -3105,25 +3105,32 @@
            function set_FirstPieceCheck() {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                var checkStatus2 = table.checkStatus('mainTable2')
                    , data2 = checkStatus2.data;
                if (checkStatus.data.length === 1) {
                    var linterid = data[0].hmainid.toString();
                    var OperationType = 2;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '首件检验单-编辑'
                        , shade: 0.6
                        , maxmin: false
                        , anim: 0
                        , content: ['../../质量管理/首件检验单/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=3772&HICMOEntryID=0', 'yes']
                        , resize: false
                        , cancel: function () {
                            btnIs();
                        }
                        , end: function () {
                            get_FastQuery();
                        }
                    })
                    if (data2.length > 0) {
                        var HEntryID = data2[0].HEntryID.toString();
                        var OperationType = 2;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '首件检验单-编辑'
                            , shade: 0.6
                            , maxmin: false
                            , anim: 0
                            , content: ['../../质量管理/首件检验单/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=3772&HICMOEntryID=0&HEntryID=' + HEntryID + '', 'yes']
                            , resize: false
                            , cancel: function () {
                                btnIs();
                            }
                            , end: function () {
                                get_FastQuery();
                            }
                        })
                    } else {
                        layer.msg('请在下方表格选择对应的工序!');
                    }
                } else {
                    layer.msg('请选择一行数据编辑!');
                }
@@ -3133,84 +3140,105 @@
            function set_ProcessCheck() {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                var checkStatus2 = table.checkStatus('mainTable2')
                    , data2 = checkStatus2.data;
                if (checkStatus.data.length === 1) {
                    var linterid = data[0].hmainid.toString();
                    var OperationType = 2;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '工序转移检验单-编辑'
                        , shade: 0.6
                        , maxmin: false
                        , anim: 0
                        , content: ['../../质量管理/工序检验单/QC_ProcessCheckBill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=3772&HICMOEntryID=0', 'yes']
                        , resize: false
                        , cancel: function () {
                            btnIs();
                        }
                        , end: function () {
                            get_FastQuery();
                        }
                    })
                    if (data2.length > 0) {
                        var HEntryID = data2[0].HEntryID.toString();
                        var OperationType = 2;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '工序转移检验单-编辑'
                            , shade: 0.6
                            , maxmin: false
                            , anim: 0
                            , content: ['../../质量管理/工序检验单/QC_ProcessCheckBill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=3772&HICMOEntryID=0&HEntryID=' + HEntryID +'', 'yes']
                            , resize: false
                            , cancel: function () {
                                btnIs();
                            }
                            , end: function () {
                                get_FastQuery();
                            }
                        })
                    } else {
                        layer.msg('请在下方表格选择对应的工序!');
                    }
                } else {
                    layer.msg('请选择一行数据编辑!');
                }
                }
            }
            //巡检
            function set_PatrolCheck() {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                var checkStatus2 = table.checkStatus('mainTable2')
                    , data2 = checkStatus2.data;
                if (checkStatus.data.length === 1) {
                    var linterid = data[0].hmainid.toString();
                    var OperationType = 2;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '巡检记录单-编辑'
                        , shade: 0.6
                        , maxmin: false
                        , anim: 0
                        , content: ['../../质量管理/巡检记录单/QC_Add_Edit_PatrolProcCheckOtherill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=3772&HICMOEntryID=0', 'yes']
                        , resize: false
                        , cancel: function () {
                            btnIs();
                        }
                        , end: function () {
                            get_FastQuery();
                        }
                    })
                    if (data2.length > 0) {
                        var HEntryID = data2[0].HEntryID.toString();
                        var OperationType = 2;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '巡检记录单-编辑'
                            , shade: 0.6
                            , maxmin: false
                            , anim: 0
                            , content: ['../../质量管理/巡检记录单/QC_Add_Edit_PatrolProcCheckOtherill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=3772&HICMOEntryID=0&HEntryID=' + HEntryID +'', 'yes']
                            , resize: false
                            , cancel: function () {
                                btnIs();
                            }
                            , end: function () {
                                get_FastQuery();
                            }
                        })
                    } else {
                        layer.msg('请在下方表格选择对应的工序!');
                    }
                } else {
                    layer.msg('请选择一行数据编辑!');
                }
                }
            }
            //车间自检
            function set_WorkCheck() {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                var checkStatus2 = table.checkStatus('mainTable2')
                    , data2 = checkStatus2.data;
                if (checkStatus.data.length === 1) {
                    var linterid = data[0].hmainid.toString();
                    var OperationType = 2;
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '车间自检单-编辑'
                        , shade: 0.6
                        , maxmin: false
                        , anim: 0
                        , content: ['../../质量管理/车间自检单/QC_Add_Edit_WorkSelfCheckBill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=3772&HICMOEntryID=0', 'yes']
                        , resize: false
                        , cancel: function () {
                            btnIs();
                        }
                        , end: function () {
                            get_FastQuery();
                        }
                    })
                    if (data2.length > 0) {
                        var HEntryID = data2[0].HEntryID.toString();
                        var OperationType = 2;
                        layer.open({
                            type: 2
                            , area: ['100%', '100%']
                            , title: '车间自检单-编辑'
                            , shade: 0.6
                            , maxmin: false
                            , anim: 0
                            , content: ['../../质量管理/车间自检单/QC_Add_Edit_WorkSelfCheckBill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=3772&HICMOEntryID=0&HEntryID=' + HEntryID +'', 'yes']
                            , resize: false
                            , cancel: function () {
                                btnIs();
                            }
                            , end: function () {
                                get_FastQuery();
                            }
                        })
                    } else {
                        layer.msg('请在下方表格选择对应的工序!');
                    }
                } else {
                    layer.msg('请选择一行数据编辑!');
                }
                }
            }
            //生产质量汇报单