zgq
2021-03-10 1382e7f901677dce9db97ba25d9095668c1cb67f
WebTM/views/³µ¼ä¹ÜÀí/¹¤Ðò»ã±¨/MES_StationOutBill_PDA.html
File was renamed from WebTM/views/¹¤Ðò»ã±¨/MES_StationOutBill_PDA.html
@@ -6,11 +6,11 @@
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <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="../../layuiadmin/layui/layui.js"></script>
    <script src="../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
    <script src="../../layuiadmin/Scripts/webConfig.js"></script>
    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <style>
        .layui-form-label {
            font-size: 14px;
@@ -202,8 +202,8 @@
        </div>
    </div>
    <script src="../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../layuiadmin/zgqCustom/zgqCustom.js"></script>
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
    <script>
        function getUrlVars() {
@@ -221,7 +221,7 @@
        var InterID = params[params[1]];
        layui.config({
            base: '../../layuiadmin/' //静态资源所在路径
            base: '../../../layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index' //主入口模块
        }).use(['index', 'form', 'laydate', 'table', 'element'], function () {
@@ -393,7 +393,7 @@
                    , shade: 0.6 //遮罩透明度
                    //, maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../Baseset/基础资料/Gy_GetProductionTeamList.html', 'yes']
                    , content: ['../../Baseset/基础资料/Gy_GetProductionTeamList.html', 'yes']
                    , resize: false
                    , cancel: function (index, layero) {
                    }
@@ -409,7 +409,7 @@
                    , shade: 0.6 //遮罩透明度
                    //, maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../Baseset/基础资料/Gy_GetProductionResourcesList.html', 'yes']
                    , content: ['../../Baseset/基础资料/Gy_GetProductionResourcesList.html', 'yes']
                    , resize: false
                    , cancel: function (index, layero) {
                    }
@@ -425,7 +425,7 @@
                    , shade: 0.6 //遮罩透明度
                    //, maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../Baseset/基础资料/Gy_WorkCenterList.html', 'yes']
                    , content: ['../../Baseset/基础资料/Gy_WorkCenterList.html', 'yes']
                    , resize: false
                    , cancel: function (index, layero) {
                    }
@@ -442,7 +442,7 @@
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../Baseset/基础资料/Gy_EmployeeList.html?Type=HSecManager', 'yes']
                    , content: ['../../Baseset/基础资料/Gy_EmployeeList.html?Type=HSecManager', 'yes']
                    , resize: false
                    , cancel: function () {
                        //$(".layui-btn").removeClass("layui-btn-disabled");
@@ -466,8 +466,15 @@
                            console.log(result);
                            if (result.code == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                                $("#sHWHID").val("");
                                layer.alert(result.msg + "单号为:" + $("#HBillNo").val(), { icon: 1 }, function () {
                                    window.location.reload();//刷新页面
                                //layer.alert(result.msg + "单号为:" + $("#HBillNo").val(), { icon: 1 }, function () {
                                //    window.location.reload();//刷新页面
                                //});
                                layer.confirm(result.msg + "单号为:" + $("#HBillNo").val(), {
                                    btn: ['进站', '新增'], skin: 'layui-layer-lan', title: "温馨提示", icon: 1
                                }, function () {
                                    parent.location.href = "../../../views/车间管理/工序汇报/MES_StationInBill_PDA.html";
                                }, function () {
                                    window.location.reload();
                                });
                            }
                            else {
@@ -485,7 +492,7 @@
            //退出按钮
            form.on('submit(Close)', function (data) {//退出
                layer.confirm('您确定要关闭本页吗?', { icon: 3, title: '提示' }, function (index) {
                    parent.location.href = "../../views/index.html";
                    parent.location.href = "../../../views/index.html";
                });
            });