雅琪诺开班单、完工单列表、产量汇报列表调用参数及加工序修改
5个文件已修改
132 ■■■■■ 已修改文件
WebTM/views/生产管理/报工台工序/产量汇报/Sc_Add_ProductReportStepBillList.html 100 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/产量汇报/Sc_ProductReportStepBillList.html 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/产量汇报/Sc_ProductReportStepBillList_Web.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/完工/Sc_MESEndStepWorkBillList.html 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/报工台工序/开工/Sc_MESBeginStepWorkBillList.html 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/²úÁ¿»ã±¨/Sc_Add_ProductReportStepBillList.html
@@ -145,6 +145,7 @@
                                                        <div class="layui-input-inline">
                                                            <input class="layui-input" name="HProcName" lay-verify="HProcName" id="HProcName" disabled autocomplete="off">
                                                            <input id="HProcID" name="HProcID" type="hidden" />
                                                            <input id="HProcNumber" name="HProcNumber" type="hidden" />
                                                        </div>
                                                    </div>
                                                </div>
@@ -152,7 +153,7 @@
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">产品代码</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" name="HMaterCode" id="HMaterCode" class="layui-input" value="" style="float:left;width:150px;">
                                                            <input type="text" name="HMaterNumber" id="HMaterNumber" class="layui-input" value="" style="float:left;width:150px;">
                                                            <input type="hidden" name="HMaterID" id="HMaterID" class="layui-input" value="" style="float:left;width:150px;">
                                                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HMaterList" id="HMaterList" style="width:40px;">
                                                                <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
@@ -194,6 +195,7 @@
                                                        <label class="layui-form-label">生产班组:</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" name="HGroupName" id="HGroupName" class="layui-input" value="" style="float:left;width:150px;">
                                                            <input type="hidden" name="HGroupNumber" id="HGroupNumber" class="layui-input" value="" style="float:left;width:150px;">
                                                            <input type="hidden" name="HGroupID" id="HGroupID" class="layui-input" value="" style="float:left;width:150px;">
                                                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HGroupList" id="HGroupList" style="width:40px;">
                                                                <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
@@ -205,8 +207,9 @@
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">操作员:</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" name="HWorkManName" id="HWorkManName" class="layui-input" value="" style="float:left;width:150px;">
                                                            <input type="hidden" name="HWorkManID" id="HWorkManID" class="layui-input" value="" style="float:left;width:150px;">
                                                            <input type="text" name="HEmpName" id="HEmpName" class="layui-input" value="" style="float:left;width:150px;">
                                                            <input type="hidden" name="HEmpNumber" id="HEmpNumber" class="layui-input" value="" style="float:left;width:150px;">
                                                            <input type="hidden" name="HEmpID" id="HEmpID" class="layui-input" value="" style="float:left;width:150px;">
                                                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HEmpList" id="HEmpList" style="width:40px;">
                                                                <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
                                                            </button>
@@ -215,16 +218,21 @@
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">不良数量:</label>
                                                        <div class="layui-input-inline">
                                                            <input class="layui-input" name="HBadQty" lay-verify="HBadQty" id="HBadQty" autocomplete="off">
                                                            <input class="layui-input" name="HBadCount" lay-verify="HBadCount" id="HBadCount" autocomplete="off">
                                                        </div>
                                                    </div>
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">报废数量:</label>
                                                        <label class="layui-form-label">因工报废数:</label>
                                                        <div class="layui-input-inline">
                                                            <input class="layui-input" name="HWasterQty" lay-verify="HWasterQty" id="HWasterQty" autocomplete="off">
                                                        </div>
                                                    </div>
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">因料报废数:</label>
                                                        <div class="layui-input-inline">
                                                            <input class="layui-input" name="HWasterQty2" lay-verify="HWasterQty2" id="HWasterQty2" autocomplete="off">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item">
                                                    <div class="layui-inline">
@@ -238,13 +246,13 @@
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">开工时间:</label>
                                                        <div class="layui-input-inline">
                                                            <input class="layui-input" name="HWorkBeginDate" id="HWorkBeginDate" autocomplete="off" model="datetime" dateFormat="yyyy-MM-dd" placeholder="yyyy-MM-dd">
                                                            <input class="layui-input" name="HRelBeginDate" id="HRelBeginDate" autocomplete="off" model="datetime" dateFormat="yyyy-MM-dd" placeholder="yyyy-MM-dd">
                                                        </div>
                                                    </div>
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label">报工时间:</label>
                                                        <div class="layui-input-inline">
                                                            <input class="layui-input" name="HWorkReportDate" id="HWorkReportDate" autocomplete="off" model="datetime" dateFormat="yyyy-MM-dd" placeholder="yyyy-MM-dd">
                                                            <input class="layui-input" name="HRelEndDate" id="HRelEndDate" autocomplete="off" model="datetime" dateFormat="yyyy-MM-dd" placeholder="yyyy-MM-dd">
                                                        </div>
                                                    </div>
                                                </div>
@@ -396,11 +404,11 @@
            function set_InitFrom() {
                //日期时间选择器
                laydate.render({
                    elem: '#HWorkBeginDate'
                    elem: '#HRelBeginDate'
                    , type: 'datetime'
                });
                laydate.render({
                    elem: '#HWorkReportDate'
                    elem: '#HRelEndDate'
                    , type: 'datetime'
                });
                laydate.render({
@@ -434,7 +442,7 @@
            {
                //初始基本信息赋值
                $("#HDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss"));      //单据日期
                $("#HWorkReportDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss"))  //报工日期
                $("#HRelEndDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss"))  //报工日期
                $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss"));  //制单日期
                $("#HMaker").val(sessionStorage["HUserName"]);     //制单人
            }
@@ -444,7 +452,7 @@
                refSav = "Add";
                //初始基本信息赋值
                $("#HDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss"));      //单据日期
                $("#HWorkReportDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss"))  //报工日期
                $("#HRelEndDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss"))  //报工日期
                $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss"));  //制单日期
                $("#HMaker").val(sessionStorage["HUserName"]);     //制单人
@@ -453,15 +461,15 @@
                $('#HSourceBillNo').attr("disabled", true);
                $('#HProcExchBillNo').attr("disabled", true);
                $('#HProcName').attr("disabled", true);
                $('#HMaterCode').attr("disabled", true);
                $('#HMaterNumber').attr("disabled", true);
                $('#HMaterList').addClass("layui-btn-disabled").attr("disabled", true);
                $('#HMaterName').attr("disabled", true);
                $('#HMaterSpec').attr("disabled", true);
                $('#HPlanQty').attr("disabled", true);
                $('#HSourceName').attr("disabled", true);
                $('#HSourceList').addClass("layui-btn-disabled").attr("disabled", true);
                $('#HWorkBeginDate').attr("disabled", true);
                $('#HWorkReportDate').attr("disabled", true);
                $('#HRelBeginDate').attr("disabled", true);
                $('#HRelEndDate').attr("disabled", true);
                $.ajax(
                    {
@@ -480,9 +488,10 @@
                            {
                                var LoadData = data.data.h_p_JIT_GetInfoByICMOStatusInterID;
                                $("#HProcID").val(LoadData[0].HProcID); //当前工序ID
                                $("#HProcNumber").val(LoadData[0].HProcNumber); //当前工序编码
                                $("#HProcName").val(LoadData[0].HProcName); //当前工序
                                $("#HMaterID").val(LoadData[0].HMaterID); //产品ID
                                $("#HMaterCode").val(LoadData[0].HMaterNumber); //产品代码
                                $("#HMaterNumber").val(LoadData[0].HMaterNumber); //产品代码
                                $("#HMaterName").val(LoadData[0].HMaterName); //产品名称
                                $("#HMaterSpec").val(LoadData[0].HModel); //产品规格
                                $("#HSourceID").val(LoadData[0].HSourceID); //生产资源ID
@@ -492,11 +501,12 @@
                                $("#HSourceEntryID").val(LoadData[0].HSourceEntryID); //源单子内码(源单行号)
                                $("#HSourceBillType").val(HSourceBillType); //源单类型
                                $("#HGroupID").val(LoadData[0].HDeptID); //班组ID
                                $("#HGroupNumber").val(LoadData[0].HDeptNumber); //班组编码
                                $("#HGroupName").val(LoadData[0].HDeptName); //班组
                                $("#HICMOInterID").val(LoadData[0].HICMOInterID); //生产订单ID
                                $("#HICMOEntryID").val(LoadData[0].HICMOEntryID); //生产订单子ID
                                $("#HICMOBillNo").val(LoadData[0].HICMOBillNo); //生产订单
                                $("#HWorkBeginDate").val(LoadData[0].HBeginDate); //开工时间
                                $("#HRelBeginDate").val(LoadData[0].HBeginDate); //开工时间
                                $("#HPlanQty").val(LoadData[0].HDatePlanQty); //计划数量
                            }
@@ -520,15 +530,15 @@
                $('#HSourceBillNo').attr("disabled", true);
                $('#HProcExchBillNo').attr("disabled", true);
                $('#HProcName').attr("disabled", true);
                $('#HMaterCode').attr("disabled", true);
                $('#HMaterNumber').attr("disabled", true);
                $('#HMaterList').addClass("layui-btn-disabled").attr("disabled", true);
                $('#HMaterName').attr("disabled", true);
                $('#HMaterSpec').attr("disabled", true);
                $('#HPlanQty').attr("disabled", true);
                $('#HSourceName').attr("disabled", true);
                $('#HSourceList').addClass("layui-btn-disabled").attr("disabled", true);
                $('#HWorkBeginDate').attr("disabled", true);
                $('#HWorkReportDate').attr("disabled", true);
                $('#HRelBeginDate').attr("disabled", true);
                $('#HRelEndDate').attr("disabled", true);
               
                $.ajax(
                    {
@@ -548,10 +558,11 @@
                                $("#HInterID").val(LoadData[0].HInterID); //单据ID
                                $("#HBillNo").val(LoadData[0].单据号); //单据号
                                $("#HDate").val(formatDate(LoadData[0].日期)); //日期
                                $("#HProcID").val(""); //当前工序ID
                                $("#HProcName").val(""); //当前工序
                                $("#HProcID").val(LoadData[0].HProcID); //当前工序ID
                                $("#HProcNumber").val(LoadData[0].HProcNumber); //当前工序编码
                                $("#HProcName").val(LoadData[0].HProcName); //当前工序
                                $("#HMaterID").val(LoadData[0].HMaterID); //产品ID
                                $("#HMaterCode").val(LoadData[0].产品代码); //产品代码
                                $("#HMaterNumber").val(LoadData[0].产品代码); //产品代码
                                $("#HMaterName").val(LoadData[0].产品名称); //产品名称
                                $("#HMaterSpec").val(LoadData[0].产品规格); //产品规格
                                $("#HSourceID").val(LoadData[0].HSourceID); //生产资源ID
@@ -561,18 +572,21 @@
                                $("#HSourceEntryID").val(LoadData[0].HSourceEntryID); //源单子内码(源单行号)
                                $("#HSourceBillType").val(LoadData[0].源单类型); //源单类型
                                $("#HGroupID").val(LoadData[0].HDeptID); //班组ID
                                $("#HGroupNumber").val(LoadData[0].生产班组代码); //班组编码
                                $("#HGroupName").val(LoadData[0].生产班组); //班组
                                $("#HWorkManID").val(LoadData[0].HWorkManID); //操作员ID
                                $("#HWorkManName").val(LoadData[0].操作员); //操作员
                                $("#HEmpID").val(LoadData[0].HWorkManID); //操作员ID
                                $("#HEmpNumber").val(LoadData[0].操作员编码); //操作员编码
                                $("#HEmpName").val(LoadData[0].操作员); //操作员
                                $("#HICMOInterID").val(LoadData[0].HICMOInterID); //生产订单ID
                                $("#HICMOEntryID").val(LoadData[0].HICMOEntryID); //生产订单子ID
                                $("#HICMOBillNo").val(LoadData[0].HICMOBillNo); //生产订单
                                $("#HWorkBeginDate").val(formatDate(LoadData[0].开工时间)); //开工时间
                                $("#HWorkReportDate").val(formatDate(LoadData[0].报工时间)); //报工时间
                                $("#HRelBeginDate").val(formatDate(LoadData[0].开工时间)); //开工时间
                                $("#HRelEndDate").val(formatDate(LoadData[0].报工时间)); //报工时间
                                $("#HPlanQty").val(LoadData[0].HDatePlanQty); //计划数量
                                $("#HQty").val(LoadData[0].汇报数量); //报工数量
                                $("#HBadQty").val(LoadData[0].不良数量); //不良数量
                                $("#HWasterQty").val(LoadData[0].报废数量); //报废数量
                                $("#HBadCount").val(LoadData[0].不良数量); //不良数量
                                $("#HWasterQty").val(LoadData[0].因工报废数量); //因工报废数量
                                $("#HWasterQty2").val(LoadData[0].因料报废数量); //因料报废数量
                                $("#HMaker").val(LoadData[0].制单人); //制单人
                                $("#HMakeDate").val(formatDate(LoadData[0].制单日期)); //制单日期
                                $("#HUpDater").val(sessionStorage["HUserName"]); //修改人
@@ -605,7 +619,7 @@
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    type: "GET",
                    data: { "HBillType": '3724' },
                    data: { "HBillType": '3714' },
                    success: function (d) {
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HInterID").val(0);
@@ -687,7 +701,7 @@
                            return layer.msg('请选择数据');
                        }
                        $("#HMaterName").val(checkStatus.data[0].HName);
                        $("#HMaterCode").val(checkStatus.data[0].HNumber);
                        $("#HMaterNumber").val(checkStatus.data[0].HNumber);
                        $("#HMaterID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
@@ -763,8 +777,9 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HWorkManName").val(checkStatus.data[0].HName);
                        $("#HWorkManID").val(checkStatus.data[0].HItemID);
                        $("#HEmpName").val(checkStatus.data[0].HName);
                        $("#HEmpNumber").val(checkStatus.data[0].HNumber);
                        $("#HEmpID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) {
@@ -804,6 +819,7 @@
                            return layer.msg('请选择数据');
                        }
                        $("#HGroupName").val(checkStatus.data[0].HName);
                        $("#HGroupNumber").val(checkStatus.data[0].HNumber);
                        $("#HGroupID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
@@ -842,9 +858,10 @@
                    success: function (datas) {
                        var LoadData = datas.data.Sc_ICMOBillWorkQtyStatus_Tmp;
                        var HQty = LoadData[0].HQty;
                        var HBadQty = LoadData[0].HBadQty;
                        var HBadCount = LoadData[0].HBadCount;
                        var HWasterQty = LoadData[0].HWasterQty;
                        var yessqty = HQty + HBadQty + HWasterQty;
                        var HWasterQty2 = LoadData[0].HWasterQty2;
                        var yessqty = HQty + HBadCount + HWasterQty + HWasterQty2;
                        var sumqty = parseFloat($("#HQty").val()) + yessqty;
                        if (sumqty > parseFloat($("#HPlanQty").val())) {
                            layer.confirm("已汇报数量:【" + yessqty + "】,当前汇报数量:【" + parseFloat($("#HQty").val()) + "】不能大于计划数量:【" + parseFloat($("#HPlanQty").val()) + "】!", {
@@ -869,11 +886,14 @@
            //提交请求ajax
            function Submit(data) {
                if (data.field.HBadQty == "" || data.field.HBadQty == null) {
                    data.field.HBadQty = 0;
                if (data.field.HBadCount == "" || data.field.HBadCount == null) {
                    data.field.HBadCount = 0;
                }
                if (data.field.HWasterQty == "" || data.field.HWasterQty == null) {
                    data.field.HWasterQty = 0;
                }
                if (data.field.HWasterQty2 == "" || data.field.HWasterQty2 == null) {
                    data.field.HWasterQty2 = 0;
                }
                var sMainStr = JSON.stringify(data.field);
                var sMainSub = sMainStr + ';' + refSav;
@@ -994,11 +1014,11 @@
                layer.msg("产品编码不能为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                return Result = false;
            }
            if ($("#HWorkBeginDate").val() == '' || $("#HWorkBeginDate").val() == null) {
            if ($("#HRelBeginDate").val() == '' || $("#HWorkBeginDate").val() == null) {
                layer.msg("开工时间不能为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                return Result = false;
            }
            if ($("#HWorkReportDate").val() == '' || $("#HWorkReportDate").val() == null) {
            if ($("#HRelEndDate").val() == '' || $("#HRelEndDate").val() == null) {
                layer.msg("开工时间不能为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                return Result = false;
            }
@@ -1006,7 +1026,7 @@
                layer.msg("生产资源不能为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                return Result = false;
            }
            if ($("#HWorkManID").val() == '' || $("#HWorkManID").val() == null) {
            if ($("#HEmpID").val() == '' || $("#HEmpID").val() == null) {
                layer.msg("操作员不能为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                return Result = false;
            }
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/²úÁ¿»ã±¨/Sc_ProductReportStepBillList.html
@@ -205,6 +205,8 @@
                        , { field: 'HICMOBillNo', title: '生产订单号', width: 200 }
                        , { field: 'HICMOInterID', title: '生产订单主ID', width: 200, hide: true }
                        , { field: 'HICMOEntryID', title: '生产订单子ID', width: 200, hide: true }
                        , { field: 'HProcNumber', title: '工序编码', width: 200 }
                        , { field: 'HProcName', title: '工序名称', width: 200 }
                        , { field: 'HSourceBillNo', title: '源单单号', width: 200 }
                        , { field: 'HSourceInterID', title: '源单主内码', width: 200, hide: true }
                        , { field: 'HSourceEntryID', title: '源单子内码', width: 200, hide: true }
@@ -232,7 +234,7 @@
            //报工平台进入(有源单)
            function set_AddNew()
            {
                sWhere = " where a.HSourceID='" + HSourceID + "' and a.HICMOBillNo='" + workcode + "' and HICMOInterID='" + (HICMOInterID == "null" ? 0 : HICMOInterID) + "' and HICMOEntryID='" + (HICMOEntryID == "null" ? 0 : HICMOEntryID) + "' and HMaker='" + HMaker + "' ";
                sWhere = " where b.HSourceID='" + HSourceID + "' and b.HSourceBillNo='" + workcode + "' and b.HSourceInterID='" + (HICMOInterID == "null" ? 0 : HICMOInterID) + "' and b.HSourceEntryID='" + (HICMOEntryID == "null" ? 0 : HICMOEntryID) + "' and a.HMaker='" + HMaker + "' ";
                SchWhere = sWhere;
                console.log(sWhere);
                //进入页面显示的缓存列表
@@ -264,8 +266,8 @@
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var InterID = data[0].HInterID.toString();
                    var HICMOInID = data[0].HICMOInterID.toString();
                    var HICMOEnID = data[0].HICMOEntryID.toString();
                    var HICMOInID = data[0].HSourceInterID.toString();
                    var HICMOEnID = data[0].HSourceEntryID.toString();
                    //逻辑删除方法
                    layer.confirm("确认要删除吗,删除后不能恢复", { title: "删除确认" }, function (index) {
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/²úÁ¿»ã±¨/Sc_ProductReportStepBillList_Web.html
@@ -241,10 +241,12 @@
                        , { field: '产品代码', title: '产品代码', width: 200 }
                        , { field: '产品名称', title: '产品名称', width: 200 }
                        , { field: '产品规格', title: '产品规格', width: 200 }
                        , { field: 'HProcID', title: 'HProcID', width: 200, hide: true}
                        , { field: 'HProcNumber', title: '工序代码', width: 200 }
                        , { field: 'HProcName', title: '工序名称', width: 200 }
                        , { field: '汇报数量', title: '汇报数量', width: 200 }
                        , { field: '生产订单号', title: '生产订单号', width: 200 }
                        , { field: 'HICMOInterID', title: '生产订单主ID', width: 200, hide: true }
                        , { field: 'HICMOEntryID', title: '生产订单子ID', width: 200, hide: true }
                        , { field: '源单单号', title: '源单单号', width: 200 }
                        , { field: 'HSourceInterID', title: '源单主内码', width: 200, hide: true }
                        , { field: 'HSourceEntryID', title: '源单子内码', width: 200, hide: true }
@@ -353,8 +355,8 @@
                if (checkStatus.data.length === 1) {
                    console.log(data[0]);
                    var HInterID = data[0].HInterID;
                    var HICMOInID = data[0].HICMOInterID;
                    var HICMOEnID = data[0].HICMOEntryID;
                    var HICMOInID = data[0].HSourceInterID;
                    var HICMOEnID = data[0].HSourceEntryID;
                    var HRelationInterID = data[0].HRelationInterID;
                    if (HRelationInterID == 1) {
                        layer.msg('单据已报检审核无法修改!');
@@ -391,8 +393,8 @@
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var InterID = data[0].HInterID.toString();
                    var HICMOInID = data[0].HICMOInterID.toString();
                    var HICMOEnID = data[0].HICMOEntryID.toString();
                    var HICMOInID = data[0].HSourceInterID.toString();
                    var HICMOEnID = data[0].HSourceEntryID.toString();
                    var HRelationInterID = data[0].HRelationInterID.toString();
                    if (HRelationInterID == 1) {
                        layer.msg('单据已报检审核无法删除!');
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/Í깤/Sc_MESEndStepWorkBillList.html
@@ -252,6 +252,12 @@
                        , { field: '单据号', title: '单据号', width: 160 }
                        , { field: '单据类型', title: '单据类型', width: 160 }
                        , { field: 'HBillStatus', title: '单据状态', width: 160 }
                        , { field: '产品代码', title: '产品代码', width: 115 }
                        , { field: '产品名称', title: '产品名称', width: 115 }
                        , { field: '规格型号', title: '规格型号', width: 115 }
                        , { field: 'HProcID', title: 'HProcID', width: 115, hide: true}
                        , { field: '工序代码', title: '工序代码', width: 115 }
                        , { field: '工序名称', title: '工序名称', width: 115 }
                        , { field: '部门代码', title: '部门代码', width: 115 }
                        , { field: '部门名称', title: '部门名称', width: 200 }
                        , { field: '班组代码', title: '班组代码', width: 115 }
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/¿ª¹¤/Sc_MESBeginStepWorkBillList.html
@@ -261,6 +261,12 @@
                        , { field: '单据号', title: '单据号', width: 160 }
                        , { field: '单据类型', title: '单据类型', width: 160 }
                        , { field: 'HBillStatus', title: '单据状态', width: 160 }
                        , { field: '产品代码', title: '产品代码', width: 160 }
                        , { field: '产品名称', title: '产品名称', width: 160 }
                        , { field: '规格型号', title: '规格型号', width: 160 }
                        , { field: 'HProcID', title: 'HProcID', width: 160, hide: true}
                        , { field: '工序代码', title: '工序代码', width: 160 }
                        , { field: '工序名称', title: '工序名称', width: 160 }
                        , { field: '部门代码', title: '部门代码', width: 115 }
                        , { field: '部门名称', title: '部门名称', width: 200 }
                        , { field: '班组代码', title: '班组代码', width: 115 }