diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user
index bf54086..8aa7c11 100644
--- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user
+++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user
@@ -2,7 +2,7 @@
true
- Debug|Any CPU
+ Release|Any CPU
diff --git a/HJGL_DS/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config
index ede14f6..bf404b8 100644
--- a/HJGL_DS/FineUIPro.Web/Web.config
+++ b/HJGL_DS/FineUIPro.Web/Web.config
@@ -50,7 +50,7 @@
-
+
diff --git a/HJGL_DS/FineUIPro.Web/WeldMat/Recycle/RecycleMatEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/WeldMat/Recycle/RecycleMatEdit.aspx.cs
index 3a21757..b60181e 100644
--- a/HJGL_DS/FineUIPro.Web/WeldMat/Recycle/RecycleMatEdit.aspx.cs
+++ b/HJGL_DS/FineUIPro.Web/WeldMat/Recycle/RecycleMatEdit.aspx.cs
@@ -87,9 +87,9 @@ namespace FineUIPro.Web.WeldMat.Recycle
if (type.WeldTypeName == "焊条")
{
this.txtRecycleTopAmount.Hidden = false;
- decimal oneNum= mat.Amount != null ? mat.Amount.Value : 0;
+ decimal oneNum = mat.Amount != null ? mat.Amount.Value : 0;
decimal twoNum = mat.TwoAmount != null ? mat.TwoAmount.Value : 0;
- this.txtRecycleTopAmount.Text = (oneNum+twoNum).ToString();
+ this.txtRecycleTopAmount.Text = (oneNum + twoNum).ToString();
}
else
{
@@ -107,7 +107,7 @@ namespace FineUIPro.Web.WeldMat.Recycle
{
string usingMatId = Request.Params["usingMatId"];
string isOnTime = Request.Params["isOnTime"]; // 是否准时 0-否
-
+
var mat = BLL.UsingMatService.GetUsingMatById(usingMatId);
var recycleMat = BLL.RecycleMatService.GetRecycleMatByUsingMatId(usingMatId);
if (this.txtRecycleAmount.Text == string.Empty)
@@ -137,7 +137,7 @@ namespace FineUIPro.Web.WeldMat.Recycle
newRecycleMat.IsStoreManConfirm = true;
newRecycleMat.IsWelderConfirm = true;
- if (newRecycleMat.RecycleAmount > mat.Amount)
+ if (newRecycleMat.RecycleAmount > (mat.Amount + (mat.TwoAmount ?? 0)))
{
ShowNotify("退回数量不能大于领用数量!");
return;
diff --git a/HJGL_DS/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user b/HJGL_DS/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
index 17a9a86..5450e39 100644
--- a/HJGL_DS/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
+++ b/HJGL_DS/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -79,13 +79,13 @@
09/10/2013 16:29:20
- 03/12/2025 10:55:18
+ 04/19/2025 16:21:52
07/03/2024 11:01:05
- 03/12/2025 10:55:18
+ 04/19/2025 16:21:52
12/17/2020 21:32:28
@@ -115,10 +115,10 @@
07/25/2012 11:48:56
- 03/12/2025 10:55:15
+ 04/19/2025 16:21:52
- 03/12/2025 10:55:15
+ 04/19/2025 16:21:52
02/18/2018 09:44:54
@@ -316,10 +316,10 @@
02/01/2018 12:20:56
- 03/12/2025 10:55:21
+ 04/19/2025 16:21:53
- 03/12/2025 10:55:21
+ 04/19/2025 16:21:53
01/23/2014 13:57:34
@@ -445,7 +445,7 @@
07/03/2024 11:01:07
- 03/12/2025 10:55:47
+ 04/19/2025 16:22:01
\ No newline at end of file
diff --git a/HJGL_DS/WebAPI/WebAPI.csproj.user b/HJGL_DS/WebAPI/WebAPI.csproj.user
index a48b337..28be9c4 100644
--- a/HJGL_DS/WebAPI/WebAPI.csproj.user
+++ b/HJGL_DS/WebAPI/WebAPI.csproj.user
@@ -1,7 +1,7 @@
- Debug|Any CPU
+ Release|Any CPU
FolderProfile
true