From 7bf3d3a373b61def534d6110d393c1b9db3422d6 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 21 五月 2024 16:28:24 +0800
Subject: [PATCH] 销售订单关闭和行关闭 增加 关闭后控制的 存储过程 :h_p_Xs_SeOrderBill_AfterCloseCtrl 增加 行关闭后控制的 存储过程:h_p_Xs_SeOrderBill_AfterEntryCloseCtrl 参数 @HInterID int, --单据ID @HBillNo varchar(50), --单据号 @HUser varchar(100) --用户 存储过程里 增加 控制, 当 这个销售订单 出库数量为0, 但是 下推的 工序流转卡 已经 染厂(工序可以写死)进站或出站记录后。 进行报错,不允许关闭;(行关闭,只考虑本行; 整单关闭则 需要 全部行都考虑)
---
WebAPI/Controllers/CJGL/ProductionPlanReportController.cs | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs b/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs
index 81dd391..49fccb7 100644
--- a/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs
+++ b/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs
@@ -27,8 +27,13 @@
public DateTime HEndDate;
public string HICMOBillNo;
public string HWorkShopID;
- public string HSeOrderBillNo;
+ public string F_BSV_WYID;
+ public string HBillNo;
public string HMaterNumber;
+ public int IsTrue;
+ public int HState;
+ public int HSTATUS;
+ public string sWhere1;
}
[Route("ProductionPlanReport/ProductionPlanReportList")]
[HttpGet]
@@ -40,7 +45,7 @@
ProductionPlanReport com = JsonConvert.DeserializeObject<ProductionPlanReport>(sWhere.ToString());
ds = oCN.RunProcReturn($"exec h_p_Cj_ProductionPlanReportList {com.HOrgID},'{com.HBeginDate}','{com.HEndDate}'" +
- $",'{com.HICMOBillNo}',{com.HWorkShopID},'{com.HSeOrderBillNo}','{com.HMaterNumber}'", "h_p_Cj_ProductionPlanReportList");
+ $",'{com.HICMOBillNo}',{com.HWorkShopID},'{com.F_BSV_WYID}','{com.HMaterNumber}','{com.HBillNo}',{com.IsTrue},'{com.HState}','{com.HSTATUS}','{com.sWhere1}'", "h_p_Cj_ProductionPlanReportList");
objJsonResult.code = "1";
objJsonResult.count = 1;
--
Gitblit v1.9.1