From 789bc676e10f5872f4051125e78d3299727a2a3c Mon Sep 17 00:00:00 2001 From: wyb <1qaz@123> Date: 星期四, 20 五月 2021 19:27:03 +0800 Subject: [PATCH] 首件检验新增 --- WebAPI/Controllers/QC_ManagementController.cs | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/WebAPI/Controllers/QC_ManagementController.cs b/WebAPI/Controllers/QC_ManagementController.cs index 2a8adee..c0966ad 100644 --- a/WebAPI/Controllers/QC_ManagementController.cs +++ b/WebAPI/Controllers/QC_ManagementController.cs @@ -435,6 +435,7 @@ #region 淇濆瓨/缂栬緫/鍒犻櫎鏂规硶 + #region 妫�楠屾柟妗� /// <summary> /// 淇濆瓨妫�楠屾柟妗� /// </summary> @@ -510,7 +511,7 @@ oItemSub.HSourceEntryID =0; oItemSub.HSourceInterID =0; oItemSub.HEntryID = i; - oItemSub.HEntryCloseDate = Convert.ToDateTime(""); + oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); oItemSub.HCloseType = false; oItemSub.HSourceBillNo = ""; oItemSub.HSourceBillType = ""; @@ -634,8 +635,9 @@ return objJsonResult; } } + #endregion - + #region 鏉ユ枡妫�楠� /// <summary> /// 淇濆瓨鏉ユ枡妫�楠屽崟 /// </summary> @@ -711,7 +713,7 @@ oItemSub.HSourceInterID = 0; oItemSub.HEntryID = i; // DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HEntryCloseDate = Convert.ToDateTime(""); + oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); oItemSub.HCloseType = false; oItemSub.HSourceBillNo = ""; oItemSub.HSourceBillType = ""; @@ -836,7 +838,9 @@ return objJsonResult; } } + #endregion + #region 棣栦欢妫�楠� /// <summary> /// 淇濆瓨棣栦欢妫�楠屽崟 /// </summary> @@ -913,7 +917,7 @@ oItemSub.HSourceInterID = 0; oItemSub.HEntryID = i; // DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HEntryCloseDate = Convert.ToDateTime(""); + oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); oItemSub.HCloseType = false; oItemSub.HSourceBillNo = ""; oItemSub.HSourceBillType = ""; @@ -1037,7 +1041,9 @@ return objJsonResult; } } + #endregion + #region 宸℃ /// <summary> /// 淇濆瓨宸℃鍗� /// </summary> @@ -1113,7 +1119,7 @@ oItemSub.HSourceInterID = 0; oItemSub.HEntryID = i; // DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HEntryCloseDate = Convert.ToDateTime(""); + oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); oItemSub.HCloseType = false; oItemSub.HSourceBillNo = ""; oItemSub.HSourceBillType = ""; @@ -1237,7 +1243,7 @@ return objJsonResult; } } - + #endregion #endregion -- Gitblit v1.9.1