1
chenhaozhe
4 天以前 28161a2db7a593c30ca53e5c1e59103cd7591fe7
WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs
@@ -1409,12 +1409,12 @@
                    return objJsonResult;
                }
                if (totalWeight <= 0)
                if (totalWeight < 0)
                {
                    oCN.RollBack();
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "保存失败!重量必须大于0";
                    objJsonResult.Message = "保存失败!重量必须大于等于0";
                    objJsonResult.data = 1;
                    return objJsonResult;
                }
@@ -2656,14 +2656,17 @@
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    if (oBill.omodel.HChecker != "")
                    if (oSystemParameter.omodel.WMS_CampanyName != "华舟")
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "[0000-1-013]单据已经审核,不能删除!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                        if (oBill.omodel.HChecker != "")
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "[0000-1-013]单据已经审核,不能删除!";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                    }
                    ds = oCn.RunProcReturn($"exec h_p_DelOutInBill {HInterID},'MES_StationOutBill_DeleteRelationCtl'", "h_p_DelOutInBill");