From b541b4b3aed0ae5efcf9bf60eb8deb07b2ee944e Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期四, 05 十二月 2024 15:03:29 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WorkM/报表分析/Sc_OverProdReport.cs | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git "a/WorkM/\346\212\245\350\241\250\345\210\206\346\236\220/Sc_OverProdReport.cs" "b/WorkM/\346\212\245\350\241\250\345\210\206\346\236\220/Sc_OverProdReport.cs" index 4f33691..3f029ac 100644 --- "a/WorkM/\346\212\245\350\241\250\345\210\206\346\236\220/Sc_OverProdReport.cs" +++ "b/WorkM/\346\212\245\350\241\250\345\210\206\346\236\220/Sc_OverProdReport.cs" @@ -191,21 +191,21 @@ //} BCol = 7; //鑾峰彇鍔ㄦ�佸唴瀹� 锛堟暟閲忎俊鎭級 - for (int row = 0; row <= grdMain.RowCount - 1; row++) - { - for (int col = BCol; col <= grdMain.ColumnCount - 1; col++) - { - //HDeptID = DBUtility.ClsPub.isLong(grdMain.Rows[row].Cells[Fun_GetCol("HDeptID")].Value); - //HMaterID = DBUtility.ClsPub.isLong(grdMain.Columns[col].Tag); - //HEmpID = DBUtility.ClsPub.isLong(grdMain.Rows[row].Cells[Fun_GetCol("HEmpID")].Value); - //HProcID = DBUtility.ClsPub.isLong(grdMain.Rows[row].Cells[Fun_GetCol("HProcID")].Value); - DsQty = SubCn.RunProcReturn("exec h_p_CCBB", "Gy_Czygl"); - if (DsQty != null && DsQty.Tables[0].Rows.Count > 0) - { - //grdMain.Rows[row].Cells[col].Value = DBUtility.ClsPub.isDoule(DsQty.Tables[0].Rows[0]["HQty"], 2); - } - } - } + //for (int row = 0; row <= grdMain.RowCount - 1; row++) + //{ + // for (int col = BCol; col <= grdMain.ColumnCount - 1; col++) + // { + // //HDeptID = DBUtility.ClsPub.isLong(grdMain.Rows[row].Cells[Fun_GetCol("HDeptID")].Value); + // //HMaterID = DBUtility.ClsPub.isLong(grdMain.Columns[col].Tag); + // //HEmpID = DBUtility.ClsPub.isLong(grdMain.Rows[row].Cells[Fun_GetCol("HEmpID")].Value); + // //HProcID = DBUtility.ClsPub.isLong(grdMain.Rows[row].Cells[Fun_GetCol("HProcID")].Value); + // DsQty = SubCn.RunProcReturn("exec h_p_CCBB", "Gy_Czygl"); + // if (DsQty != null && DsQty.Tables[0].Rows.Count > 0) + // { + // //grdMain.Rows[row].Cells[col].Value = DBUtility.ClsPub.isDoule(DsQty.Tables[0].Rows[0]["HQty"], 2); + // } + // } + //} //璁剧疆鍚堣鍒� string sTotalCol = ""; -- Gitblit v1.9.1