WebTM/views/³µ¼ä¹ÜÀí/²úÏß/Sc_GroupOrderBill.html
@@ -8,7 +8,12 @@
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
    <!--<script src="../CreateControl.js"></script>-->
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
    <script src="../../../layuiadmin/MESLanguage.js"></script>
    <style>
        .layui-form-label {
            font-size: 14px;
@@ -39,7 +44,7 @@
                        <div class="layui-row" style="padding:10px 0">
                            <div class="layui-col-xs3 layui-inline">
                                <fieldset class="layui-elem-field layui-field-title" style="text-align:center;">
                                    <legend>产线组托单</legend>
                                    <legend id="BT_CXZTD">产线组托单</legend>
                                </fieldset>
                            </div>
                            <div class="layui-col-xs1 layui-inline">
@@ -47,19 +52,19 @@
                            </div>
                            <div class="layui-col-xs4 layui-inline">
                                <div>
                                    <label class="layui-inline" style="width:70px;">装箱条码</label>
                                    <label class="layui-inline" style="width:70px;" id="BT_HBarCode_Pack">装箱条码</label>
                                    <div class="layui-inline">
                                        <input type="text" style="border-radius: 50px;width: 140%;" name="HBarCode_Pack" id="HBarCode_Pack" placeholder="请输入装箱条码" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                                <div>
                                    <label class="layui-inline" style="width:70px;"><span style="color:red">*</span>入库批次</label>
                                    <label class="layui-inline" style="width:70px;" id="BT_HBatchNo"><span style="color:red">*</span>入库批次</label>
                                    <div class="layui-inline">
                                        <input type="text" style="border-radius: 50px;width: 140%;" name="HBatchNo" id="HBatchNo" placeholder="请输入入库批次" autocomplete="off" class="layui-input" lay-verify="required">
                                    </div>
                                </div>
                                <div>
                                    <label class="layui-inline" style="width:70px;">黑标号</label>
                                    <label class="layui-inline" style="width:70px;" id="BT_HBarCode_Cus">黑标号</label>
                                    <div class="layui-inline">
                                        <input type="text" style="border-radius: 50px;width: 140%;" name="HBarCode_Cus" id="HBarCode_Cus" autocomplete="off" class="layui-input">
                                    </div>
@@ -67,7 +72,7 @@
                            </div>
                            <div class="layui-inline">
                                <div class="">
                                    <label class="layui-inline" style="width:60px;">装箱数量</label>
                                    <label class="layui-inline" style="width:60px;" id="BT_zxQty">装箱数量</label>
                                    <div class="layui-inline">
                                        <input type="text" style="border-radius: 50px;" name="" id="zxQty" placeholder="请输入装箱数量" autocomplete="off" class="layui-input">
                                    </div>
@@ -89,13 +94,8 @@
                                                <table class="layui-hide" id="ztd-table" lay-filter="ztd-table"></table>
                                                <script type="text/html" id="smjl-toolbar">
                                                    <div class="layui-btn-container">
                                                        <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>预览</button>-->
                                                        <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>刷新</button>-->
                                                        <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button>-->
                                                        <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>删行</button>
                                                        <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>编辑</button>
                                                        <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>生成送货单</button>-->
                                                        <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>退出</button>-->
                                                    </div>
                                                </script>
                                            </div>
@@ -118,64 +118,65 @@
                                        <table>
                                            <tbody>
                                                <tr>
                                                    <th style="width:80px;padding:10px">流转卡号</th>
                                                    <th style="width:80px;padding:10px" id="BT_LZKH">流转卡号</th>
                                                    <td>
                                                        <input type="text" name="流转卡号" id="" lay-verify="" autocomplete="off" placeholder="流转卡号" class="layui-input" style="background-color:#efefef4d" readonly>
                                                        <input type="hidden" name="流转卡ID" id="HFbarcodeID">
                                                        <input type="hidden" name="HOrgID" id="HOrgID">
                                                    </td>
                                                    <th style="width:80px;padding:10px">组装时间</th>
                                                    <th style="width:80px;padding:10px" id="BT_HDateNow">组装时间</th>
                                                    <td>
                                                        <input type="text" name="组装时间" class="layui-input" id="HDateNow" placeholder="组装时间" style="background-color:#efefef4d;" readonly>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th style="width:80px;padding:10px">生产订单号</th>
                                                    <th style="width:80px;padding:10px" id="BT_HSourceBillNo">生产订单号</th>
                                                    <td>
                                                        <input type="text" name="生产订单号" id="HSourceBillNo" lay-verify="" autocomplete="off" placeholder="生产订单号" class="layui-input" style="background-color:#efefef4d" readonly>
                                                    </td>
                                                    <th style="width:80px;padding:10px">产品代码</th>
                                                    <th style="width:80px;padding:10px" id="BT_HNumber">产品代码</th>
                                                    <td>
                                                        <input type="text" name="产品代码" class="layui-input" id="HNumber" placeholder="产品代码" style="background-color:#efefef4d;" readonly>
                                                        <input type="hidden" name="物料内码" id="HMaterID">
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th style="width:80px;padding:10px">产品名称</th>
                                                    <th style="width:80px;padding:10px" id="BT_HMaterName">产品名称</th>
                                                    <td>
                                                        <input type="text" name="产品名称" id="HMaterName" lay-verify="" autocomplete="off" placeholder="产品名称" class="layui-input" style="background-color:#efefef4d" readonly>
                                                    </td>
                                                    <th style="width:80px;padding:10px">规格型号</th>
                                                    <th style="width:80px;padding:10px" id="BT_HModel">规格型号</th>
                                                    <td>
                                                        <input type="text" name="规格型号" class="layui-input" id="HModel" placeholder="规格型号" style="background-color:#efefef4d;" readonly>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th style="width:80px;padding:10px">计量单位</th>
                                                    <th style="width:80px;padding:10px" id="BT_HUntil">计量单位</th>
                                                    <td>
                                                        <input type="text" name="计量单位" id="" lay-verify="" autocomplete="off" placeholder="计量单位" class="layui-input" style="background-color:#efefef4d" readonly>
                                                    </td>
                                                    <th style="width:80px;padding:10px">流转卡数量</th>
                                                    <th style="width:80px;padding:10px" id="BT_HLZHSL">流转卡数量</th>
                                                    <td>
                                                        <input type="text" name="流转卡数量" class="layui-input" id="" placeholder="流转卡数量" style="background-color:#efefef4d;" readonly>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th style="width:80px;padding:10px">生产订单数量</th>
                                                    <th style="width:80px;padding:10px" id="BT_HSCDDSL">生产订单数量</th>
                                                    <td>
                                                        <input type="text" name="生产订单数量" id="" lay-verify="" autocomplete="off" placeholder="生产订单数量" class="layui-input" style="background-color:#efefef4d" readonly>
                                                    </td>
                                                    <th style="width:80px;padding:10px">单据号</th>
                                                    <th style="width:80px;padding:10px" id="BT_HBillNo">单据号</th>
                                                    <td>
                                                        <input type="text" name="HBillNo" class="layui-input" id="HBillNo" placeholder="单据号" style="background-color:#efefef4d;" readonly>
                                                        <input type="hidden" name="HInterID" id="HInterID">
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th style="width:80px;padding:10px">订单跟踪号</th>
                                                    <th style="width:80px;padding:10px" id="BT_HDDGZH">订单跟踪号</th>
                                                    <td>
                                                        <input type="text" name="订单跟踪号" id="" lay-verify="" autocomplete="off" placeholder="订单跟踪号" class="layui-input" style="background-color:#efefef4d" readonly>
                                                    </td>
                                                    <th style="width:80px;padding:10px">托条码</th>
                                                    <th style="width:80px;padding:10px" id="BT_HBarCode_wym">托条码</th>
                                                    <td>
                                                        <input type="text" name="托条码" class="layui-input" id="HBarCode_wym" placeholder="托条码" style="background-color:#efefef4d;" readonly>
                                                        <!--隐藏字段-->
@@ -183,7 +184,7 @@
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th style="width:80px;padding:10px">项目号</th>
                                                    <th style="width:80px;padding:10px" id="BT_HProjectNum">项目号</th>
                                                    <td>
                                                        <input type="text" name="项目号" id="HProjectNum" lay-verify="" autocomplete="off" placeholder="项目号" class="layui-input" style="background-color:#efefef4d" readonly>
                                                    </td>
@@ -195,31 +196,31 @@
                                        <table>
                                            <tbody>
                                                <tr>
                                                    <th style="width:80px;padding:10px">制单人</th>
                                                    <th style="width:80px;padding:10px" id="BT_HMaker">制单人</th>
                                                    <td>
                                                        <input type="text" name="HMaker" id="HMaker" lay-verify="" autocomplete="off" placeholder="制单人" class="layui-input" style="background-color:#efefef4d" readonly>
                                                    </td>
                                                    <th style="width:80px;padding:10px">制单日期</th>
                                                    <th style="width:80px;padding:10px" id="BT_HMakeDate">制单日期</th>
                                                    <td>
                                                        <input type="text" name="HMakeDate" class="layui-input" id="HMakeDate" placeholder="制单日期" style="background-color:#efefef4d;" readonly>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th style="width:80px;padding:10px">修改人</th>
                                                    <th style="width:80px;padding:10px" id="BT_HUpdateMan">修改人</th>
                                                    <td>
                                                        <input type="text" name="修改人" id="" lay-verify="" autocomplete="off" placeholder="修改人" class="layui-input" style="background-color:#efefef4d" readonly>
                                                    </td>
                                                    <th style="width:80px;padding:10px">修改日期</th>
                                                    <th style="width:80px;padding:10px" id="BT_HUpdate">修改日期</th>
                                                    <td>
                                                        <input type="text" name="修改日期" class="layui-input" id="" placeholder="修改日期" style="background-color:#efefef4d;" readonly>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th style="width:80px;padding:10px">审核人</th>
                                                    <th style="width:80px;padding:10px" id="BT_HCheckMan">审核人</th>
                                                    <td>
                                                        <input type="text" name="审核人" id="" lay-verify="" autocomplete="off" placeholder="审核人" class="layui-input" style="background-color:#efefef4d" readonly>
                                                    </td>
                                                    <th style="width:80px;padding:10px">审核日期</th>
                                                    <th style="width:80px;padding:10px" id="BT_HCheckDate">审核日期</th>
                                                    <td>
                                                        <input type="text" name="审核日期" class="layui-input" id="" placeholder="审核日期" style="background-color:#efefef4d;" readonly>
                                                    </td>
@@ -240,11 +241,6 @@
        <a class="layui-btn layui-btn-xs" lay-event="del" style="background-color: red;">删除</a>
    </script>
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/webConfig2.js"></script>
    <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
    <script>
        layui.config({
@@ -263,13 +259,13 @@
            var zxQty;//输入的装箱数量
            var zxQtyFlag = 0;
            //判断是否登录 æœªç™»å½•则跳到登录页
            if (sessionStorage.login != "login") {
                layer.confirm("登录失效,请重新登录!", {
                    icon: 4, skin: 'layui-layer-lan', title: "温馨提示", closeBtn: 0, btn: ['重新登录']
                layer.confirm(get_MessageError("[0000-2-041]登录失效,请重新登录!", sessionStorage["HTranSlate"]), {
                    icon: 4, skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨提示", sessionStorage["HTranSlate"]), closeBtn: 0, btn: [get_MessageError('[0000-2-042]重新登录', sessionStorage["HTranSlate"])]
                }, function () { parent.location.href = "../user/login.html"; });
                return;
            }
@@ -277,6 +273,7 @@
            var HBillTyp = '2601';
            $('#HMaker').val(sessionStorage["HMaker"]);
            $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd"));
            $("#HOrgID").val(sessionStorage["OrganizationID"]);
            //进入页面默认装箱码不能填
            $("#HBarCode_Pack").attr("readonly", "readonly");//数量只读
            $("#HBarCode_Pack").css("background-color", "#efefef4d");
@@ -291,14 +288,14 @@
                url: GetWEBURL() + "/Web/GetMAXNum",
                type: "GET",
                async: false,
                data: { "HBillType": '3783' },
                data: { "HBillType": '3783' },
                success: function (d) {
                    $("#HInterID").val(d.data[0].HInterID);
                    $("#HBillNo").val(d.data[0].HBillNo);
                    layer.closeAll("loading");
                }, error: function () {
                    layer.closeAll("loading");
                    layer.alert("获取单据号失败!", { icon: 5 });
                    layer.alert(get_MessageError("[0000-2-004]获取单据号失败!", sessionStorage["HTranSlate"]), { icon: 5 });
                }
            });
@@ -337,19 +334,20 @@
            //初始加载表格
            option.data = [];
            table.render(option);
            var HModName = "Sc_GroupOrderBill";
            initFunction(1, HModName, sessionStorage["HTranSlate"]);
            //填写装箱数量后光标跳走
            $('#zxQty').on('keydown', function (event) {
                zxQty = $("#zxQty").val();
                if (event.keyCode == 13) {
                    if (!(/(^[1-9]\d*$)/.test(zxQty))) {
                        layer.msg("请输入正确的整数!");
                        layer.msg(get_MessageError("[0000-2-043]请输入正确的整数!", sessionStorage["HTranSlate"]));
                        return;
                    }
                    if (zxQty == "" || zxQty <= 0) {
                        layer.msg("请输入正确的数量!", { icon: 5, btn: ['退出'], time: 100000, offset: 't' });
                        layer.msg(get_MessageError("[0000-2-044]请输入正确的数量!", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-035]退出', sessionStorage["HTranSlate"])], time: 100000, offset: 't' });
                        return;
                    } else {
                        $("#zxQty").val("" + zxQtyFlag + "/" + zxQty + "");
@@ -369,14 +367,14 @@
            //扫装箱码
            $('#HBarCode_Pack').on('keydown', function (event) {
                if (sessionStorage.login != "login") {
                    layer.confirm("登录失效,请重新登录!", {
                        icon: 4, skin: 'layui-layer-lan', title: "温馨提示", closeBtn: 0, btn: ['重新登录']
                    layer.confirm(get_MessageError("[0000-2-041]登录失效,请重新登录!", sessionStorage["HTranSlate"]), {
                        icon: 4, skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨提示", sessionStorage["HTranSlate"]), closeBtn: 0, btn: [get_MessageError('[0000-2-042]重新登录', sessionStorage["HTranSlate"])]
                    }, function () { parent.location.href = "../user/login.html"; });
                }
                if (event.keyCode == 13) {
                    if (zxQty == zxQtyFlag) {
                        layer.alert("装箱数量已扫完,请点击保存!", { icon: 5, btn: ['退出'], time: 100000, offset: 't' });
                        layer.alert(get_MessageError("[3783-2-002]装箱数量已扫完,请点击保存!", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-035]退出', sessionStorage["HTranSlate"])], time: 100000, offset: 't' });
                        return;
                    }
                }
@@ -390,12 +388,14 @@
                    $.ajax({
                        url: GetWEBURL() + "/GroupOrderBill/GetPackBarCode",
                        type: "GET",
                        async: false,
                        data: {
                            "HInterID": HInterID
                            , "HBillNo": HBillNo
                            , "HBillTyp": HBillTyp
                            , "HMaker": HMaker
                            , "HBarCode_Pack": HBarCode_Pack
                            , "HOrgID": $("#HOrgID").val()
                        },
                        success: function (result) {
                            if (result.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
@@ -417,16 +417,16 @@
                                table.render(option);
                                layer.close(index);
                                $('#HBarCode_Pack').val("");
                                layer.msg("扫码成功!", { icon: 1, time: 1000 });
                                layer.msg(get_MessageError("[0000-2-045]扫码成功!", sessionStorage["HTranSlate"]), { icon: 1, time: 1000 });
                            }
                            else {
                                layer.close(index);
                                layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                layer.msg(get_MessageError(result.Message, sessionStorage["HTranSlate"]), { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨提示", sessionStorage["HTranSlate"]) });
                            }
                        },
                        error: function (err) {
                            layer.close(index);
                            layer.msg("接口请求失败!" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            layer.msg(get_MessageError("[0000-1-002]接口请求失败!", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨提示", sessionStorage["HTranSlate"]) });
                        }
                    });
                }
@@ -436,7 +436,7 @@
            form.on('submit(Saver)', function (data) {//提交
                if (parseInt(zxQty) > zxQtyFlag) {
                    layer.alert("装箱数量未扫完,请扫完装箱数量!", { icon: 5, btn: ['退出'], time: 100000, offset: 't' });
                    layer.alert(msgget_MessageError("[3783-2-005]装箱数量未扫完,请扫完装箱数量!", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-035]退出', sessionStorage["HTranSlate"])], time: 100000, offset: 't' });
                    return;
                }
@@ -445,9 +445,8 @@
                var index = layer.load();
                $.ajax({
                    type: "POST",
                    url: GetWEBURL() + "/GroupOrderBill/AddBill",
                    //url:"http://localhost:12761/GroupOrderBill/AddBill",
                    async: true,
                    url: GetWEBURL() + "/GroupOrderBill/AddBill",
                    async: false,
                    data: { "oMain": oMain },
                    dataType: "json",
                    success: function (data) {
@@ -456,11 +455,11 @@
                            $('#Saver-btn').addClass("layui-btn-disabled").attr("disabled", true);
                            //$("#Print").click();
                            layer.confirm(
                                '保存成功!请继续选择操作!',
                                get_MessageError('[3783-2-006]保存成功!请继续选择操作!', sessionStorage["HTranSlate"]),
                                {
                                    skin: 'layui-layer-lan',
                                    closeBtn: 0,
                                    btn: ['新增', '关闭'],
                                    btn: [get_MessageError('[0000-2-046]新增', sessionStorage["HTranSlate"]), get_MessageError('[0000-2-047]关闭', sessionStorage["HTranSlate"])],
                                    btn2: function () {//新增
                                        parent.layui.admin.events.closeThisTabs();
                                    }
@@ -471,27 +470,27 @@
                        }
                        else {
                            layer.close(index);
                            layer.msg(data.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            layer.msg(get_MessageError(data.Message, sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨提示", sessionStorage["HTranSlate"]) });
                        }
                    },
                    error: function (err) {
                        layer.close(index);
                        layer.msg("错误:" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        layer.msg("错误:" + err, { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨提示", sessionStorage["HTranSlate"]) });
                    }
                });
                });
            });
            //退出按钮
            form.on('submit(Close)', function (data) {//退出
                layer.confirm('您确定要关闭本页吗?', { icon: 3, title: '提示' }, function (index) {
                layer.confirm(get_MessageError('[0000-1-031]您确定要关闭本页吗?', sessionStorage["HTranSlate"]), { icon: 3, title: get_MessageError("[0000-2-009]温馨提示", sessionStorage["HTranSlate"])}, function (index) {
                    parent.layui.admin.events.closeThisTabs();
                });
            });
            //新增按钮
            form.on('submit(HAddBT)', function (data) {//退出
                layer.confirm('您确定要新增吗?', { icon: 3, title: '提示' }, function (index) {
                layer.confirm(get_MessageError('[0000-2-048]您确定要新增吗?', sessionStorage["HTranSlate"]), { icon: 3, title: get_MessageError("[0000-2-009]温馨提示", sessionStorage["HTranSlate"]) }, function (index) {
                    window.location.reload();
                });
            });
@@ -514,10 +513,11 @@
                if (layEvent === 'detail') {
                    layer.msg('查看操作');
                } else if (layEvent === 'del') {
                    layer.confirm('真的删除行么', function (index) {
                    layer.confirm(get_MessageError('[0000-1-003]真的删除行么', sessionStorage["HTranSlate"]), function (index) {
                        $.ajax({
                            url: GetWEBURL() + '/GroupOrderBill/DelCacheListByBarCode',
                            type: "GET",
                            async: false,
                            data: { "BarCode": obj.data.HBarCode_Pack },
                            success: function (data) {
                                if (data.count == 1) {
@@ -535,14 +535,14 @@
                                    }
                                    layer.close(index);
                                    obj.del(); //删除对应行(tr)的DOM结构
                                    layer.msg('删除成功');
                                    layer.msg(get_MessageError('[0000-1-008]删除成功', sessionStorage["HTranSlate"]));
                                } else {
                                    layer.alert(data.code + data.msg, { icon: 5 });
                                    layer.alert(get_MessageError(data.code + data.msg, sessionStorage["HTranSlate"]), { icon: 5 });
                                }
                            }, error: function () {
                                layer.msg("接口请求失败!", {
                                    icon: 5, btn: ['确认'], time: 100000, offset: 't',
                                    skin: 'layui-layer-lan', title: "温馨提示"
                                layer.msg(get_MessageError("[0000-1-002]接口请求失败!", sessionStorage["HTranSlate"]), {
                                    icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't',
                                    skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨提示", sessionStorage["HTranSlate"])
                                });
                            }
                        });
@@ -552,26 +552,9 @@
                }
            });
            //setInterval(function () {
            //    if (sessionStorage.login != "login") {
            //        layer.confirm("登录失效,请重新登录!", {
            //            icon: 4, skin: 'layui-layer-lan', title: "温馨提示", closeBtn: 0, btn: ['重新登录']
            //        }, function () { parent.location.href = "../user/login.html"; });
            //    }
            //}, 3600000);
            //以上为layui模块
        });
                //function window_onload() {
                //    Report.LoadFromURL("../grf/包装单物料标识卡(网页版).grf");
                //}
                //function btnPrint_onclick() {
                //    var linterid = "28973";
                //    //Report.LoadDataFromURL("../../views/Baseset/xmlSRM_Web_BarCodeBillList.aspx?linterid=" + linterid, true, "");
                //    Report.Print(true);
                //}
    </script>
</body>