From 261dae0381dc3c5042086b14794f79674a20da38 Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期四, 11 十一月 2021 21:40:56 +0800
Subject: [PATCH] 修改了 进站单列表 出站单列表  委外接收列表  委外发出列表跨月不允许删除方法  新增了在制品纵向(无待接收)报表

---
 BLL/系统管理/会计期间/Xt_AccountPeriod.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git "a/BLL/\347\263\273\347\273\237\347\256\241\347\220\206/\344\274\232\350\256\241\346\234\237\351\227\264/Xt_AccountPeriod.cs" "b/BLL/\347\263\273\347\273\237\347\256\241\347\220\206/\344\274\232\350\256\241\346\234\237\351\227\264/Xt_AccountPeriod.cs"
index e098933..18e82c6 100644
--- "a/BLL/\347\263\273\347\273\237\347\256\241\347\220\206/\344\274\232\350\256\241\346\234\237\351\227\264/Xt_AccountPeriod.cs"
+++ "b/BLL/\347\263\273\347\273\237\347\256\241\347\220\206/\344\274\232\350\256\241\346\234\237\351\227\264/Xt_AccountPeriod.cs"
@@ -502,6 +502,19 @@
         {
             SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
             DataSet Ds;
+            //鑾峰彇褰撳墠浼氳鏈熼棿
+            Ds = oCn.RunProcReturn("select top 1 HYear,HPeriod from xt_AccountPeriod Where HEndFlag=0 order by HYear,HPeriod ", "Xt_AccountPeriod");
+            if(Ds==null)
+            {
+                MessageBox.Show("鑾峰彇褰撳墠浼氳鏈熼棿鍑洪敊锛�" + DBUtility.ClsPub.sErrInfo);
+                return;
+            }
+            else
+            {
+                ClsPub.CurYear = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HYear"]);
+                ClsPub.CurPeriod = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HPeriod"]); 
+            }
+            //
             if (MessageBox.Show("纭畾瑕佺粨璐�" + ClsPub.CurYear + "-" + ClsPub.CurPeriod + "鏈熼棿锛�", "鎻愮ず", MessageBoxButtons.OKCancel) == DialogResult.Cancel)
             {
                 return;

--
Gitblit v1.9.1