From 804b797c1813729623d2fcbca90867d804669bf9 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期三, 24 四月 2024 17:49:10 +0800
Subject: [PATCH] 采购流程的测试并完善功能; 采购订单-》收料通知单-》采购入库单-》应付单 (注意: 源单类型的下拉框 需要 根据数据库 表动态加载, 关联数量 要准确 , 审核 且 未关闭 未行关闭的行 才能下推 ,关联数量超额后,要 反写 关闭 源单 )
---
WebAPI/Controllers/ReportPlatFormController.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/WebAPI/Controllers/ReportPlatFormController.cs b/WebAPI/Controllers/ReportPlatFormController.cs
index 2a1c600..5a410a8 100644
--- a/WebAPI/Controllers/ReportPlatFormController.cs
+++ b/WebAPI/Controllers/ReportPlatFormController.cs
@@ -161,13 +161,13 @@
#region 鎶ュ伐骞冲彴鍒犻櫎璧勬簮鍒楄〃
[Route("ReportPlatForm/DeleteGetLineBindBillList")]
[HttpGet]
- public object DeleteGetLineBindBillList(string HSourceID)
+ public object DeleteGetLineBindBillList(string HSourceID,string user)
{
try
{
oCN.BeginTran();
//鏇存柊鍒囨崲鐘舵�佸��
- string sql = string.Format(@"delete Gy_SourceRelationSet where HSourceID='" + HSourceID + "'");
+ string sql = string.Format(@"delete Gy_SourceRelationSet where HSourceID='" + HSourceID + "' and HUserName = '" + user + "'");
oCN.RunProc(sql);
oCN.Commit();
objJsonResult.code = "1";
--
Gitblit v1.9.1