Demo
2024-03-07 509d63b6e8ec07c63b0c807470fa48984949d968
修改下发出库按钮重复点击标识未更新,取消分配判断批次是否删除
2个文件已修改
11 ■■■■■ 已修改文件
HTML/views/SOSetting/ExportNotice.html 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HTML/views/SOSetting/ExportNotice.html
@@ -1386,10 +1386,11 @@
                                isChongFu= false;
                                if(pa == null)
                                {
                                    layer.msg("请勿重复点击", {
                                    layer.msg("请选择出库口", {
                                        icon: 2,
                                        time: 2000 //2秒关闭(如果不配置,默认是3秒)
                                    });
                                    isChongFu= true;
                                    return;
                                }
                                if($('#UnstackWay').val()=='0'){
@@ -1398,6 +1399,7 @@
                                            icon: 2,
                                            time: 2000 //2秒关闭(如果不配置,默认是3秒)
                                        });
                                        isChongFu= true;
                                        return;
                                    }
                                    if(isNeedUnpack=='1'){
@@ -1406,6 +1408,7 @@
                                                icon: 2,
                                                time: 2000 //2秒关闭(如果不配置,默认是3秒)
                                            });
                                            isChongFu= true;
                                            return;
                                        }
                                    }
@@ -1415,6 +1418,7 @@
                                            icon: 2,
                                            time: 2000 //2秒关闭(如果不配置,默认是3秒)
                                        });
                                        isChongFu= true;
                                        return;
                                    }
                                }
Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
@@ -2724,6 +2724,11 @@
                        d.Status = "0";
                        d.UpdateUser = userId;
                        d.UpdateTime = DateTime.Now;
                        if (notice.Type == "1" || notice.Type == "5" || notice.Type == "6" || notice.Type == "7" || notice.Type == "8")//1:领料出库、
                        {
                            d.LotNo = "";
                        }
                    }
                    notice.Status = "0";
                    notice.UpdateUser = userId;