1
duhe
2024-12-11 568d63d8a280ba5b520b7ad7645923d25c59d37d
WebTM/views/Éú²ú¹ÜÀí/Éú²ú¿ª¹¤µ¥/Sc_MESBeginWorkBillList_PDA.html
@@ -377,6 +377,7 @@
                        dataType: "json",
                        success: function (result) {
                            if (result.count == 1) {
                                $('#Saver').addClass("layui-btn-disabled").attr("disabled", true);//禁用保存按钮
                                $("#HInterID").val(result.HInterID);//获取提交成功返回的单据主ID
                                layer.msg(result.Message, { time: 1 * 2000, icon: 1 }, function (index) {
                                    if (result.Verify == "Y") //自动审核
@@ -499,6 +500,7 @@
                                $("#HEquipID").val(data.HInterID);
                                $("#HEquipName").val(data.设备名称);
                                $("#HeqSouID").val(data.HSourceID);
                                $("#HBarCode").val("");
                                layer.close(index);
                                return;
                            }
@@ -705,6 +707,18 @@
                })
            });
            //退出--全屏版
            form.on('submit(Cancel)', function () {
                layer.confirm('您确定要退出吗?', { icon: 3, title: '提示' }, function (index) {
                    parent.location.href = "../../../views/index_Mobile.html";
                });
            })
            //新增
            form.on('submit(Add)', function () {
                parent.location.href = "../../../views/生产管理/生产开工单/Sc_MESBeginWorkBillList_PDA.html";
            })
            //以上为layui模块
        });
        //返回流水号