| | |
| | | { |
| | | i = i + 1; |
| | | //è°æ¨å |
| | | if (oSelectRow.BillType == "41") |
| | | if (oSelectRow.BillType == "1243") |
| | | { |
| | | grdMain.Rows.Add(); |
| | | Application.DoEvents(); |
| | |
| | | Sub_WriteInForm(Ds.Tables[0], i); |
| | | Application.DoEvents(); |
| | | } |
| | | // |
| | | //产åå
¥åºå |
| | | if (oSelectRow.BillType == "2") |
| | | if (oSelectRow.BillType == "1202") |
| | | { |
| | | grdMain.Rows.Add(); |
| | | Application.DoEvents(); |
| | |
| | | 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(); |
| | |
| | | Application.DoEvents(); |
| | | } |
| | | // |
| | | |
| | | |
| | | } |
| | | // |
| | | oSumGrid.Changelock = false; |