报工台点击异常跳转获取,物料,代码,数量,规格型号,登录人的上级,不良采集增加批量保存方法
10个文件已修改
283 ■■■■■ 已修改文件
WebTM/WebTM.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/layuiadmin/Scripts/webConfig.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/IpadIndex.html 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/异常反馈单/OA_ErrMsgBackCheckBillMain.html 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/异常反馈单/Sc_Add_MESExecptFeedBackBillList.html 165 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/异常反馈单/Sc_MESExecptFeedBackBillType.html 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/异常反馈单/Sc_Reply_MESExecptFeedBackBill.html 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/质量汇报单/Sc_QualityReportBill.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/质量汇报单/Sc_QualityReportBillSumSave.html 63 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/异常反馈/OA_ErrMsgBackSelfQuery.html 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj.user
@@ -3,7 +3,7 @@
  <PropertyGroup>
    <NameOfLastUsedPublishProfile>D:\智云迈思\MES\MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
    <ProjectView>ProjectFiles</ProjectView>
    <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
    <UseIISExpress>true</UseIISExpress>
    <Use64BitIISExpress />
    <IISExpressSSLPort />
WebTM/layuiadmin/Scripts/webConfig.js
@@ -6,10 +6,10 @@
    //var WEBURL = "http://localhost/API/";             //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨乐本地配置
    //var WEBURL = "http://localhost:8082/API/";    //杜贺本地配置
    var WEBURL = "http://localhost:81/API/";    //王彬本地配置
    //var WEBURL = "http://localhost:81/API/";    //王彬本地配置
    /*var WEBURL = "http://localhost:8083/API/";  //陈雯静本地配置*/
    //var WEBURL = "http://localhost:81/API/"    //翁涛涛本地配置
    /*var WEBURL = "http://localhost:8082/API/";    //张瑞广本地配置*/
    var WEBURL = "http://localhost:8082/API/";    //张瑞广本地配置*/
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //余思杰本地配置
    //var WEBURL = "http://localhost:8088/ARAPI/";    //余思杰本地配置(安瑞)
    //var WEBURL = "http://10.1.4.155/API/";   //江丰客户NEW
WebTM/views/IpadIndex.html
@@ -1160,7 +1160,8 @@
                    var data = [];
                    data.push({
                        "HICMOBillNo": HICMOBillNo,//工单号
                        "HSourceName": HSBName //设备
                        "HSourceName": HSBName, //设备
                        "HSourceBillNo": HSourceBillNo //工序流转卡
                    });
                    //通过索引获取到当前iframe弹出层
@@ -1404,7 +1405,7 @@
                                </div>
                            </div>
                            <div class="layui-col-sm12 layui-col-md4" onclick="Abnormal(event,this)">
                                <div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)">
                                <div class="cnt bottomright">
                                    <span class="layui-icon layui-icon-unlink imgicon"></span>
                                    <span class="imgtitle">异常</span>
                                </div>
WebTM/views/Éú²ú¹ÜÀí/Òì³£·´À¡µ¥/OA_ErrMsgBackCheckBillMain.html
@@ -551,6 +551,8 @@
                                    var LoadData = data.data;
                                    $("#HDeptID").val(LoadData[0].HDeptID); //部门ID
                                    $("#HDeptName").val(LoadData[0].发送部门); //发送部门
                                    $("#HErrMsgBackTypeID").val(LoadData[0].HErrMsgBackTypeID); //异常类型名称ID
                                    $("#HErrMsgBackTypeName").val(LoadData[0].异常类型名称); //异常类型名称
                                    $("#HSendMan").val(LoadData[0].发送人); //发送人
                                    $("#HReceiveMan").val(LoadData[0].接收人); //接收人
                                    $("#HCopyMan").val(LoadData[0].抄送); //抄送
WebTM/views/Éú²ú¹ÜÀí/Òì³£·´À¡µ¥/Sc_Add_MESExecptFeedBackBillList.html
@@ -121,7 +121,14 @@
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">主题:<label style="color:red"> * </label></label>
                                                        <div class="layui-input-inline">
                                                            <input class="layui-input" name="HContext" lay-verify="HContext" id="HContext" autocomplete="off" style="width:485px" readonly>
                                                            <input class="layui-input" name="HContext" lay-verify="HContext" id="HContext" autocomplete="off" readonly>
                                                        </div>
                                                    </div>
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">异常类型:</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" name="HErrMsgBackTypeName" id="HErrMsgBackTypeName" class="layui-input" value="" disabled>
                                                            <input type="hidden" name="HErrMsgBackTypeID" id="HErrMsgBackTypeID" lay-verify="HErrMsgBackTypeID" value="0">
                                                        </div>
                                                    </div>
                                                </div>
@@ -376,12 +383,14 @@
        var HICMOBillNo = "";  //工单号
        var HSourceName = "";  //设备
        var HType = ""; //异常类型
        var HSourceBill = "";//工序流转卡
        var edit = function (data) {
            HICMOBillNo = data[0].HICMOBillNo;
            HSourceName = data[0].HSourceName;
            HType = data[0].HType;
            HSourceBill = data[0].HSourceBillNo;
        }
        var HBillType = "";  //单据类型
        var HMainSourceInterID = ""; //源单主内码
@@ -390,8 +399,8 @@
        var HMainSourceBillType = "";  //源单类型
        var refSav = "";   //提交类型
        var Qty = "";
        //var edit = function (data) {
        //    HBillType = data[0].HBillType;
@@ -438,6 +447,25 @@
            //初始化表单插件
            set_InitFrom();
            //判断是否新增
            if (linterid == null || linterid == 0) {
                //获取最大单据号 new
                $("#HInterID").val("0");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    type: "GET",
                    data: { "HBillType": '4502' },
                    success: function (d) {
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HInterID").val(d.data[0].HInterID);
                    }
                });
            }
            else {//如果修改则走下面 new
                $("#HInterID").val(linterid);//修改时主表ID
            }
            //判断操作类型
            if (OperationType == 1) {//无源单
                set_AddFNew();
@@ -450,14 +478,17 @@
            }
            else if (OperationType == 4) {
                set_AddFNew();
                set_Sc_ICMOBillStatus();//获取工单的 ç‰©æ–™ æ•°é‡
                set_ErrMsgBackType();   //获取异常类型
                set_UserSuperiors();    //获取当前登录人的上级
                var Datetime = Format(new Date(), "yyyy-MM-dd hh:mm:ss");
                var Person = sessionStorage["HUserName"];
                var Person = sessionStorage["HUserName"];
                //报工台跳转页面自动生成内容
                $("#HDescription").val(generateString(Datetime, Person, HSourceName, HICMOBillNo, HType));
                $("#HContext").val(HType);
                $("#HContext").val(HType);//主题
            }
            else if (OperationType == 5) {  //查看
                set_EditFromGrid();
                set_EditFromGrid();
                $('#Saver').addClass("layui-btn-disabled").attr("disabled", true);
                $('#VerIfySaver').addClass("layui-btn-disabled").attr("disabled", true);
            }
@@ -501,6 +532,98 @@
                    , type: 'datetime'
                });
            }
            //#region   æŠ¥å·¥å°æŒ‘战 è‡ªåŠ¨å¸¦å‡ºæ•°æ®
            //获取报工台跳转信息  ç‰©æ–™ æ•°é‡
            function set_Sc_ICMOBillStatus() {
                $.ajax({
                    type: "GET",
                    url: GetWEBURL() + "/Sc_MESTransFerWorkBill/Get_Sc_ICMOBillStatus", //方法所在页面和方法名
                    async: true,
                    data: {
                        "HSourceBill": HSourceBill
                    },
                    success: function (data) {
                        if (data.count == 1)// è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                        {
                            var LoadData = data.data;
                            $("#HMaterNumber").val(LoadData[0].物料代码); //产品名称
                            $("#HMaterName").val(LoadData[0].物料名称); //产品名称
                            $("#HMaterModel").val(LoadData[0].规格型号); //产品规格
                            $("#HMainSourceBillNo").val(LoadData[0].流转卡号); //源单单号
                            $("#HMainSourceInterID").val(LoadData[0].流转卡主内码); //源单主内码
                            $("#HMainSourceEntryID").val(LoadData[0].流转卡子内码); //源单子内码
                            $("#HMainSourceBillType").val(3772); //源单类型
                            $("#HQty").val(LoadData[0].计划数量); //计划数量
                        }
                        else {
                            layer.alert(data.Message, { icon: 5 });
                        }
                    },
                    error: function (err) {
                        layer.alert(err, { icon: 5 });
                    }
                });
            }
            //获取报工台跳转 èŽ·å– å¼‚常类型
            function set_ErrMsgBackType() {
                $.ajax(
                    {
                        type: "GET",
                        url: GetWEBURL() + "/Sc_MESTransFerWorkBill/Get_ErrMsgBackType", //方法所在页面和方法名
                        async: true,
                        data: {
                            "TypeName": HType
                        },
                        success: function (data) {
                            if (data.count == 1)// è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                            {
                                var LoadData = data.data;
                                $("#HErrMsgBackTypeID").val(LoadData[0].HItemID); //产品名称
                                $("#HErrMsgBackTypeName ").val(LoadData[0].HName); //产品名称
                            }
                            else {
                                layer.alert(data.Message, { icon: 5 });
                            }
                        },
                        error: function (err) {
                            layer.alert(err, { icon: 5 });
                        }
                    });
            }
            //获取报工台跳转 èŽ·å– å½“前登录人的上级
            function set_UserSuperiors() {
                $.ajax(
                    {
                        type: "GET",
                        url: GetWEBURL() + "/Sc_MESTransFerWorkBill/Get_UserSuperiors", //方法所在页面和方法名
                        async: true,
                        data: {
                            "HName": sessionStorage["HUserName"]
                        },
                        success: function (data) {
                            if (data.count == 1)// è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                            {
                                var LoadData = data.data;
                                $("#HReceiveMan ").val(LoadData[0].用户名称); //接收人
                            }
                            else {
                                layer.alert(data.Message, { icon: 5 });
                            }
                        },
                        error: function (err) {
                            layer.alert(err, { icon: 5 });
                        }
                    });
            }
            //#endregion
            //无源单新增
            function set_AddFNew() {
@@ -622,27 +745,7 @@
                        layer.alert("发生错误!", { icon: 5 });
                    }
                });
            }
            //判断是否新增
            if (linterid == null || linterid == 0) {
                //获取最大单据号 new
                $("#HInterID").val("0");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    type: "GET",
                    data: { "HBillType": '4502' },
                    success: function (d) {
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HInterID").val(d.data[0].HInterID);
                    }
                });
            }
            else {//如果修改则走下面 new
                $("#HInterID").val(linterid);//修改时主表ID
            }
            }
            //获取下拉选中值
            form.on('select(SourceType)', function (data) {
@@ -1019,16 +1122,16 @@
                });
            });
            //报工太异常跳转自动生成内容
            function generateString(Datetime, Person, HSourceName, HICMOBillNo, HType) {
                // æ‹¼æŽ¥å­—符串
                var result = Datetime + ', ' + Person + '在' + HSourceName + '上生产工单为' + HICMOBillNo + ', å‘生异常类型为:' + HType;
                var result = '单据号为:' + $("#HBillNo").val() + ',制单日期为:' + Datetime + ', ' + Person + '在' + HSourceName + '上生产工单为' + HICMOBillNo + ', å‘生异常类型为:' + HType;
                return result;
            }
            //以上为layui模块
        });
WebTM/views/Éú²ú¹ÜÀí/Òì³£·´À¡µ¥/Sc_MESExecptFeedBackBillType.html
@@ -173,6 +173,7 @@
        //获取参数
        var HICMOBillNo = "";  //工单号
        var HSourceName = "";  //设备
        var HSourceBillNo = "";//工序流转卡
        var HNumber = "";
        var HName = "";
        var HModel = "";
@@ -181,6 +182,7 @@
        var edit = function (data) {
            HICMOBillNo = data[0].HICMOBillNo;
            HSourceName = data[0].HSourceName;
            HSourceBillNo = data[0].HSourceBillNo;
            //HNumber = data[0].HNumber;
            //HName = data[0].HName;
            //HModel = data[0].HModel;
@@ -230,7 +232,8 @@
                                data.push({
                                    "HICMOBillNo": HICMOBillNo,//工单号
                                    "HSourceName": HSourceName, //设备
                                    "HType": value      //异常类型
                                    "HType": value,     //异常类型
                                    "HSourceBillNo": HSourceBillNo      //流转卡号
                                });
                                //通过索引获取到当前iframe弹出层
WebTM/views/Éú²ú¹ÜÀí/Òì³£·´À¡µ¥/Sc_Reply_MESExecptFeedBackBill.html
@@ -107,7 +107,7 @@
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">单据号:</label>
                                                        <div class="layui-input-inline">
                                                            <input class="layui-input" name="HBillNo" lay-verify="HBillNo" id="HBillNo" disabled autocomplete="off" style="        background-color: #f7f4f4;">
                                                            <input class="layui-input" name="HBillNo" lay-verify="HBillNo" id="HBillNo" disabled autocomplete="off" style="        background-color: #f7f4f4;">
                                                            <input id="HInterID" name="HInterID" type="hidden" />
                                                            <input id="HEntryID" name="HEntryID" type="hidden" />
                                                        </div>
@@ -121,7 +121,14 @@
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">主题:</label>
                                                        <div class="layui-input-inline">
                                                            <input class="layui-input" name="HContext" lay-verify="HContext" id="HContext" disabled autocomplete="off" style="width:485px;background-color: #f7f4f4;">
                                                            <input class="layui-input" name="HContext" lay-verify="HContext" id="HContext" disabled autocomplete="off" style="background-color: #f7f4f4;">
                                                        </div>
                                                    </div>
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">异常类型:</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" name="HErrMsgBackTypeName" id="HErrMsgBackTypeName" class="layui-input" value="" style="background-color: #f7f4f4;" disabled>
                                                            <input type="hidden" name="HErrMsgBackTypeID" id="HErrMsgBackTypeID" lay-verify="HErrMsgBackTypeID" value="0">
                                                        </div>
                                                    </div>
                                                </div>
@@ -148,7 +155,7 @@
                                                        <div class="layui-inline">
                                                            <label class="layui-form-label">紧急程度:</label>
                                                            <div class="layui-input-inline">
                                                                <select name="HLevel" lay-filter="HLevel" id="HLevel" disabled>
                                                                <select name="HLevel" lay-filter="HLevel" id="HLevel"  disabled>
                                                                    <option value="普通" selected="selected">普通</option>
                                                                    <option value="紧急">紧急</option>
                                                                </select>
@@ -602,6 +609,9 @@
                                , "HMainSourceBillNo": data.HSourceBillNo                   //源单单号
                                , "HMainSourceBillType": data.HSourceBillType               //源单类型
                                , "HHasten": data.HHasten
                                , "HErrMsgBackTypeID": data.HErrMsgBackTypeID
                                , "HErrMsgBackTypeName": data.HErrMsgBackTypeName
                                , "HMaterNumber": data.HMaterNumber
                                , "HMaterName": data.HMaterName
                                , "HMaterModel": data.HMaterModel
                                , "HQty": data.HQty
WebTM/views/Éú²ú¹ÜÀí/ÖÊÁ¿»ã±¨µ¥/Sc_QualityReportBill.html
@@ -806,6 +806,7 @@
                            "HInterID":$("#HInterID").val(),
                            "HBillNo":$("#HBillNo").val(),
                            "HMaterID": $("#HMaterID").val(),
                            "HMaterNumber": $("#HMaterNumber").val(),
                            "HMaterName": $("#HMaterName").val(),
                            "HProcID": $("#HProcID").val(),
                            "HProcNo": $("#HProcNo").val(),
WebTM/views/Éú²ú¹ÜÀí/ÖÊÁ¿»ã±¨µ¥/Sc_QualityReportBillSumSave.html
@@ -35,9 +35,7 @@
                <form class="layui-form" action="" lay-filter="formData" style="background-color:white;">
                    <div style="padding: 2px; ">
                        <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnSave" id="btnSave">保存</button>
                        <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnEdit" id="btnEdit">退出</button>
                        <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="set_CheckBill" id="set_CheckBill">审核</button>
                        <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="set_AbandonCheck" id="set_AbandonCheck">反审核</button>
                        <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnEdit" id="btnEdit">退出</button>
                    </div>
                    <div class="layui-tab" lay-filter="tab-POStockInBill">
                        <h1 style="text-align: center; padding: 10px 0;"><b>不良采集批量保存</b></h1>
@@ -53,7 +51,7 @@
                                        <div class="layui-col-xs4  layui-inline">
                                            <label class="layui-form-label">单据号<label style="color:red"> * </label></label>
                                            <div class="layui-input-inline" >
                                                <input type="text" class="layui-input" name="HBillNo" lay-verify="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly>
                                                <input type="text" class="layui-input" name="HBillNo_bak" lay-verify="HBillNo_bak" id="HBillNo_bak" style="background-color:#efefef4d;" readonly>
                                                <input type="hidden" name="HInterID" id="HInterID" lay-verify="HInterID">
                                            </div>
                                        </div>
@@ -98,14 +96,14 @@
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label"><span style="color:red;">*</span>生产资源</label>
                                            <div class="layui-input-inline">
                                                <input type="text" class="layui-input" name="HSourceName" id="HSourceName" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
                                                <input type="text" class="layui-input" name="HSourceName" id="HSourceName" onmouseover="this.title=this.value" style="float: left; background-color: #efefef4d; display: inline-block;" readonly>
                                                <input type="hidden" name="HSourceID" id="HSourceID" value="0">
                                            </div>
                                        </div>
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label"><span style="color:red;">*</span>生产班组</label>
                                            <div class="layui-input-inline">
                                                <input type="text" class="layui-input" name="HGroupName" id="HGroupName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
                                                <input type="text" class="layui-input" name="HGroupName" id="HGroupName" style="float: left; background-color: #efefef4d; display: inline-block;" readonly>
                                                <input type="hidden" name="HGroupID" id="HGroupID" value="0">
                                            </div>
                                        </div>
@@ -218,6 +216,7 @@
    </script>
    <script>
        var HMaterID = "";        // ç‰©æ–™ID
        var HMaterNumber = "";        // ç‰©æ–™ä»£ç 
        var HMaterName = "";      // ç‰©æ–™åç§°
        var HGroupID = "";        // ç­ç»„ID
        var HGroupName = "";      // ç­ç»„名称
@@ -232,13 +231,14 @@
        var HProcID = "";           //工序
        var HProcNo = "";           //工序名称
        var HInterID = "";
        var HBillNo = "";
        var HBillNo_bak = "";
       
        var edit = function (data) {
            HInterID = data[0].HInterID;
            HBillNo = data[0].HBillNo;
            HBillNo_bak = data[0].HBillNo;
            HMaterID = data[0].HMaterID;
            HMaterNumber = data[0].HMaterNumber;
            HMaterName = data[0].HMaterName;
            HProcID = data[0].HProcID;
            HProcNo = data[0].HProcNo;
@@ -307,8 +307,9 @@
                OperationType = 1;
                $("#HInterID").val(HInterID),
                $("#HBillNo").val(HBillNo),
                $("#HMaterID").val(HMaterID);
                $("#HBillNo_bak").val(HBillNo_bak),
                $("#HMaterID").val(HMaterID);
                $("#HMaterNumber").val(HMaterNumber);
                $("#HMaterName").val(HMaterName);
                $("#HProcID").val(HProcID);
                $("#HProcNo").val(HProcNo);
@@ -356,9 +357,7 @@
            //#region æ“ä½œæŒ‰é’®è§¦å‘事件
            //#region ä¿å­˜æäº¤
            form.on('submit(btnSave)', function (data) {//提交
                if (AllowLoadData(data)) {
                    set_AddNew(data);
                }
                set_AddNew(data);
            });
            //#endregion
@@ -385,16 +384,16 @@
                var NewRow =
                {
                    "HInterID": $("#HInterID").val(),
                    "HBillNo_bak": $("#HBillNo").val(),
                    "HBillNo_bak": $("#HBillNo_bak").val(),
                    "HMaterID": $("#HMaterID").val(),
                    "HMaterName": $("#HMaterName").val(),
                    "HBadReasonID": "",
                    "HBadReasonNumber": "",
                    "HBadReasonHName": "",
                    "HEmpID": $("#HMaker").val(sessionStorage["HEmpID"]),
                    "HEmpID": sessionStorage["HEmpID"],
                    "HCheckMan": $("#HMaker").val(),
                    "HGroupID": $("#HGroupID").val(),
                    "HGroupName": $("#HGroupName").val(),
                    "HGroupName": HGroupName,
                    "HSourceID": $("#HSourceID").val(),
                    "HSourceName": $("#HSourceName").val(),
                    "HQty": "",
@@ -535,7 +534,7 @@
                        , { field: 'HMaterID', title: '物料id', hide: true }
                        , { field: 'HMaterName', title: '物料名称', style: 'background-color: #f9f9f9;' }
                        , { field: 'HBadReasonID', title: '不良原因id', hide: true }
                        , { field: 'HBadReasonNumber', title: '不良原因代码', event: "HBadReasonNumber"}
                        , { field: 'HBadReasonNumber', title: '不良原因代码', edit: 'text' , event: "HBadReasonNumber"}
                        , { field: 'HBadReasonHName', title: '不良原因', style: 'background-color: #f9f9f9;' }
                        , { field: 'HEmpID', title: '检验员id', hide: true }
                        , { field: 'HCheckMan', title: '检验员', event: "HCheckMan" }
@@ -563,16 +562,16 @@
                var rowdata = [
                    {
                        "HInterID": $("#HInterID").val(),
                        "HBillNo_bak": $("#HBillNo").val(),
                        "HBillNo_bak": $("#HBillNo_bak").val(),
                        "HMaterID": $("#HMaterID").val(),
                        "HMaterName": $("#HMaterName").val(),
                        "HBadReasonID": "",
                        "HBadReasonNumber": "",
                        "HBadReasonHName": "",
                        "HEmpID": $("#HMaker").val(sessionStorage["HEmpID"]),
                        "HEmpID": sessionStorage["HEmpID"],
                        "HCheckMan": $("#HMaker").val(),
                        "HGroupID": $("#HGroupID").val(),
                        "HGroupName": $("#HGroupName").val(),
                        "HGroupName": HGroupName,
                        "HSourceID": $("#HSourceID").val(),
                        "HSourceName": $("#HSourceName").val(),
                        "HQty": "",
@@ -633,7 +632,7 @@
                var index = layer.load();
                $.ajax({
                    type: "POST",
                    url: GetWEBURL() + "Sc_MESTransFerWorkBill/SaveOA_AndengFlowRuleBill",
                    url: GetWEBURL() + "Sc_QualityReportBill/SaveSc_QualityReportBillSub",
                    async: true,
                    data: { "msg": sMainSub },
                    dataType: "json",
@@ -656,27 +655,7 @@
                });
            }
            //#endregion
            //#region éžç©ºéªŒè¯
            function AllowLoadData(data) {
                //#region è¡¨å¤´æ•°æ®æ£€éªŒ
                if ($("#HBillNo").val() == "") {
                    layer.msg("单据号不能为空!");
                    return false;
                }
                //#endregion
                return true;
            }
            //#endregion
            //#region å­è¡¨ï¼šåˆ é™¤æŒ‡å®šè¡Œ
            function set_GridDelete(obj) {
WebTM/views/ÖÊÁ¿¹ÜÀí/Òì³£·´À¡/OA_ErrMsgBackSelfQuery.html
@@ -326,13 +326,14 @@
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var HInterID = data[0].HInterID.toString();
                    var HEntryID = data[0].HEntryID.toString();
                    layer.open({
                        type: 2
                        , skin: 'layui-layer-rim' //加上边框
                        , area: ['100%', '100%']
                        , title: '新增异常反馈接收单'
                        , shift: 0//弹出动画
                        , content: '../../生产管理/异常反馈单/OA_ErrMsgBackHandleBillMain.html?OperationType=2&linterid=' + HInterID + '&HEntryID=1&HSouceBillType=' + 4502 + ''
                        , content: '../../生产管理/异常反馈单/OA_ErrMsgBackHandleBillMain.html?OperationType=2&linterid=' + HInterID + '&HEntryID=' + HEntryID + '&HSouceBillType=' + 4502 + ''
                        , btn: [],
                        end: function (index, layero, that) {
                            //刷新页面
@@ -348,13 +349,14 @@
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var HInterID = data[0].HInterID.toString();
                    var HEntryID = data[0].HEntryID.toString();
                    layer.open({
                        type: 2
                        , skin: 'layui-layer-rim' //加上边框
                        , area: ['100%', '100%']
                        , title: '新增异常反馈签到单'
                        , shift: 0//弹出动画
                        , content: '../../生产管理/异常反馈单/OA_ErrMsgBackSignBillMain.html?OperationType=2&linterid=' + HInterID + '&HEntryID=1&HSouceBillType=' + 4502 + ''
                        , content: '../../生产管理/异常反馈单/OA_ErrMsgBackSignBillMain.html?OperationType=2&linterid=' + HInterID + '&HEntryID=' + HEntryID + '&HSouceBillType=' + 4502 + ''
                        , btn: [],
                        end: function (index, layero, that) {
                            //刷新页面
@@ -370,13 +372,14 @@
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var HInterID = data[0].HInterID.toString();
                    var HEntryID = data[0].HEntryID.toString();
                    layer.open({
                        type: 2
                        , skin: 'layui-layer-rim' //加上边框
                        , area: ['100%', '100%']
                        , title: '新增异常反馈验收单'
                        , shift: 0//弹出动画
                        , content: '../../生产管理/异常反馈单/OA_ErrMsgBackCheckBillMain.html?OperationType=2&linterid=' + HInterID + '&HEntryID=1&HSouceBillType=' + 4502 + ''
                        , content: '../../生产管理/异常反馈单/OA_ErrMsgBackCheckBillMain.html?OperationType=2&linterid=' + HInterID + '&HEntryID=' + HEntryID + '&HSouceBillType=' + 4502 + ''
                        , btn: [],
                        end: function (index, layero, that) {
                            //刷新页面
@@ -387,7 +390,7 @@
            }
            //#region æ±‡æŠ¥
            //#region æŸ¥çœ‹
            function View() {
                var activeTab = getActiveTab();
@@ -402,15 +405,16 @@
                        , data = checkStatus.data;
                }
                var HInterID = data[0].HInterID;
                var HInterID = data[0].HInterID.toString();
                var HEntryID = data[0].HEntryID.toString();
                if (data.length == 1) {
                    layer.open({
                        type: 2
                        , skin: 'layui-layer-rim' //加上边框
                        , area: ['100%', '100%']
                        , title: '工作任务-下推'
                        , title: '异常反馈单查看'
                        , shift: 0//弹出动画
                        , content: '../../生产管理/异常反馈单/Sc_Add_MESExecptFeedBackBillList.html?OperationType=5&linterid=' + HInterID + '&HEntryID=1&HSouceBillType=' + 4502 + ''
                        , content: '../../生产管理/异常反馈单/Sc_Reply_MESExecptFeedBackBill.html?OperationType=3&linterid=' + HInterID + '&HEntryID=' + HEntryID + '&HSouceBillType=' + 4502 + ''
                        , btn: ['确定'],
                        // æŒ‰é’®1 çš„回调
                        btn1: function (index, layero, that) {
@@ -420,7 +424,7 @@
                    })
                }
                else {
                    layer.msg('请选择一行数据下推!');
                    layer.msg('无法查看!');
                }
            }
            //#endregion