WebAPI/Controllers/BaseSet/Gy_MaterialController.cs
@@ -2964,6 +2964,17 @@ objJsonResult.data = null; return objJsonResult; } ds = oCN.RunProcReturn("select * from Gy_MouldFileMain where HInterID = " + hmainid + " and ISNULL(HChecker,'') <> ''", "Gy_MouldFileMain"); if (ds.Tables[0].Rows.Count > 0) { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "删除失败!单据已审核!"; objJsonResult.data = null; return objJsonResult; } if (oBill.DeleteBill(hmainid, ref DBUtility.ClsPub.sExeReturnInfo)) { oCN.BeginTran();