From 72c0e1a3457d8b43c5eefe4e6d4dd0ef9bc0b2ee Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期五, 24 十月 2025 09:46:35 +0800
Subject: [PATCH] 增加app模具选着保养规程或点检规程自动带出子表信息方法,增加客户物料对应表接口字段商品idHSupID

---
 WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs
index 9f434a5..b059f87 100644
--- a/WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs
+++ b/WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs
@@ -221,6 +221,7 @@
                     oItem.HBillType = "3845";
                     oItem.HBillSubType = "3845";
                     oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
+                    oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month);
                     oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd"));
                     oItem.HMaker = user;
                     if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "")

--
Gitblit v1.9.1