1
black-goat-me
2023-04-26 c62b172320283eb2c748f98d434b9ca511f24309
WorkM/报表分析/Sc_WareHouseReport.cs
@@ -20,7 +20,7 @@
        }
        public string ModName = "";
        public string ModCaption = "瓒呬骇鎶ヨ〃";
        public string ModCaption = "浠撳簱鎶ヨ〃";
        Pub_Class.ClsGridListSum oSumGrid = new Pub_Class.ClsGridListSum();
@@ -167,7 +167,7 @@
            //    sDlgWhere = sDlgWhere.Substring(1, sDlgWhere.Length - 1);
            //}
            //
            DSet = SubCn.RunProcReturn("exec h_p_CCBB " , "Gy_Czygl");
            DSet = SubCn.RunProcReturn("exec h_p_CKBB", "h_p_CKBB");
            //鐢熸垚棣栬鏍囬
            if (DSet == null)
            {
@@ -199,10 +199,10 @@
                    //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");
                    DsQty = SubCn.RunProcReturn("exec h_p_CKBB", "h_p_CKBB");
                    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);
                        //grdMain.Rows[row].Cells[col].Value = DBUtility.ClsPub.isDoule(DsQty.Tables[0].Rows[0]["HQty"], 2);
                    }
                }
            }