From 3d7caae2056704b2d0965fa8f86a7dd591999efe Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期二, 28 十二月 2021 23:23:11 +0800
Subject: [PATCH] 条码生成模块,增加是否赠品列,选源单收料通知单时从源单带出写入条码表
---
WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs
index 493fbf3..c58cd4d 100644
--- a/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs
+++ b/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs
@@ -479,6 +479,7 @@
string UserName = "";
string s = "";
+ long mouldid;
ListModels oListModels = new ListModels();
try
{
@@ -594,7 +595,7 @@
i++;
oItemSub.HEntryID = i;
-
+ mouldid = oItemSub.HMaterID;
//oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID
//oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭
//oItemSub.HManagerID = 0; //璐熻矗浜篒D
@@ -628,6 +629,8 @@
}
if (bResult)
{
+ string sql = $"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' ";
+ oCn.RunProc(sql);
objJsonResult.code = "0";
objJsonResult.count = 1;
objJsonResult.Message = "淇濆瓨鎴愬姛锛�";
--
Gitblit v1.9.1