From ec79dbb5a07dbdaa4cef64e7ed8db19ad5b404f7 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期四, 28 三月 2024 13:23:35 +0800
Subject: [PATCH] 设备负荷报表优化

---
 BLL/系统公用CLS/Cls_S_KF_ICInventoryList_IF.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git "a/BLL/\347\263\273\347\273\237\345\205\254\347\224\250CLS/Cls_S_KF_ICInventoryList_IF.cs" "b/BLL/\347\263\273\347\273\237\345\205\254\347\224\250CLS/Cls_S_KF_ICInventoryList_IF.cs"
index b35bc31..e49c4aa 100644
--- "a/BLL/\347\263\273\347\273\237\345\205\254\347\224\250CLS/Cls_S_KF_ICInventoryList_IF.cs"
+++ "b/BLL/\347\263\273\347\273\237\345\205\254\347\224\250CLS/Cls_S_KF_ICInventoryList_IF.cs"
@@ -31,7 +31,7 @@
         public bool Refresh(string sWhere)
         {
             string sErr = "";
-            int MainIDCol, SubIDCol, SPIDCol, BatchNoCol, AuxPropIDCol, MTONoCol;
+            int MainIDCol, SubIDCol, SPIDCol, BatchNoCol, AuxPropIDCol, MTONoCol, HProduceDateCol, HExpiryDateCol;
             string stmp;
             string tSQL;
             try
@@ -46,6 +46,8 @@
                 BatchNoCol = oFrm.Fun_GetCol("鎵规");
                 AuxPropIDCol = oFrm.Fun_GetCol("HAuxPropID");
                 MTONoCol = oFrm.Fun_GetCol("璁″垝璺熻釜鍙�");
+                HProduceDateCol = oFrm.Fun_GetCol("鐢熶骇鏃ユ湡");
+                HExpiryDateCol = oFrm.Fun_GetCol("鏈夋晥鏈熻嚦");
                 //
                 //寰幆 閫変腑琛�
                 if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK)
@@ -59,6 +61,8 @@
                         oSelect.BatchNo = DBUtility.ClsPub.isStrNull(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[BatchNoCol].Value);
                         oSelect.HAuxPropID = DBUtility.ClsPub.isLong(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[AuxPropIDCol].Value);
                         oSelect.BillNo = DBUtility.ClsPub.isStrNull(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[MTONoCol].Value);
+                        oSelect.HProduceDate = DBUtility.ClsPub.isStrNull(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[HProduceDateCol].Value);
+                        oSelect.HExpiryDate = DBUtility.ClsPub.isStrNull(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[HExpiryDateCol].Value);
                         oSelect.BillTitle = mvarReportTitle;
                         oSelect.BillType = mvarItemKey;
                         oBillSelectColl.Add(oSelect);

--
Gitblit v1.9.1