From 7b2a3e95296e04ca69900c46f852f1f078d3e5f6 Mon Sep 17 00:00:00 2001
From: black-goat-me <226547893@qq.com>
Date: 星期一, 24 四月 2023 14:10:54 +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