yangle
2023-03-03 c2a9a460e38c7c196fe98a94e29e6330eac3626f
PayM/¹¤×ʹÜÀí/Pay_GroupBalBill.cs
@@ -2111,7 +2111,7 @@
            {
                i = i + 1;
                //调拨单
                if (oSelectRow.BillType == "41")
                if (oSelectRow.BillType == "1243")
                {
                    grdMain.Rows.Add();
                    Application.DoEvents();
@@ -2121,9 +2121,8 @@
                    Sub_WriteInForm(Ds.Tables[0], i);
                    Application.DoEvents();
                }
                //
                //产品入库单
                if (oSelectRow.BillType == "2")
                if (oSelectRow.BillType == "1202")
                {
                    grdMain.Rows.Add();
                    Application.DoEvents();
@@ -2150,7 +2149,7 @@
                    grdMain.Rows.Add();
                    Application.DoEvents();
                    //得到信息
                    Ds = oCn.RunProcReturn("select * from h_v_Sc_ProcessReportList_Source where hmainid=" + oSelectRow.BillMainID + " and hsubid=" + oSelectRow.BillSubID, "h_v_Kf_ProductInBillList_K3");
                    Ds = oCn.RunProcReturn("select * from h_v_Sc_ProcessReportList_Source where hmainid=" + oSelectRow.BillMainID + " and hsubid=" + oSelectRow.BillSubID, "h_v_Sc_ProcessReportList_Source");
                    //写入信息
                    Sub_WriteInForm(Ds.Tables[0], i);
                    Application.DoEvents();
@@ -2167,7 +2166,7 @@
                    Application.DoEvents();
                }
                //
            }
            //
            oSumGrid.Changelock = false;