From 5068b25b0dcc939027f27c735433d7a09e9a5d70 Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期日, 28 二月 2021 09:52:58 +0800
Subject: [PATCH] 日计划工单关闭 可以关闭未生产入库单据

---
 src/BLL/Demo.BillView/PRD/Pro_DayPlan.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/BLL/Demo.BillView/PRD/Pro_DayPlan.cs b/src/BLL/Demo.BillView/PRD/Pro_DayPlan.cs
index fcde28b..0c660ec 100644
--- a/src/BLL/Demo.BillView/PRD/Pro_DayPlan.cs
+++ b/src/BLL/Demo.BillView/PRD/Pro_DayPlan.cs
@@ -83,11 +83,11 @@
 left join T_PRD_INSTOCKENTRY c on b.FENTRYID = c.FSrcEntryId
 where a.FEntryID in ({0})", selectedRow["Id"]);
                     decimal FRealQty = DBServiceHelper.ExecuteScalar<decimal>(Context, sql, 0);
-                    if (FRealQty == 0)
-                    {
-                        result.Append($"鍒嗗綍琛岋細{selectedRow["Seq"]}锛屾棩璁″垝鏄庣粏鏈笅鎺ㄧ敓鎴愮敓浜у叆搴撳崟\r\n");
-                        continue;
-                    }
+                    //if (FRealQty == 0)
+                    //{
+                    //    result.Append($"鍒嗗綍琛岋細{selectedRow["Seq"]}锛屾棩璁″垝鏄庣粏鏈笅鎺ㄧ敓鎴愮敓浜у叆搴撳崟\r\n");
+                    //    continue;
+                    //}
                     sql = string.Format(@"
 /*dialect*/
 select count(*)res from Sc_WorkBillSortBillSub a 
@@ -99,7 +99,7 @@
                     decimal Count = DBServiceHelper.ExecuteScalar<decimal>(Context, sql, 0);
                     if (Count > 0)
                     {
-                        result.Append($"鍒嗗綍琛岋細{selectedRow["Seq"]}锛屼笅娓搁鏂欏崟鐨勫凡棰嗘枡鏁板皬浜庡叆搴撶殑鏍囧噯鐢ㄩ噺\r\n");
+                        result.Append($"鍒嗗綍琛岋細{selectedRow["Seq"]}锛屼笅娓搁鏂欏崟鐨勫凡棰嗘枡鏁板ぇ浜庡叆搴撶殑鏍囧噯鐢ㄩ噺\r\n");
                         continue;
                     }
                     sql = string.Format(@"

--
Gitblit v1.9.1