| | |
| | | oMater.WherePart = ""; |
| | | if (oMater.RefreshView()) |
| | | { |
| | | if (oMater.GetInfoByID(oMater.omodel.HItemID)) |
| | | if (oMater.GetInfoByID(oMater.oModel.HItemID)) |
| | | { |
| | | grdMain.Rows[sRow].Cells[HMaterIDCol].Value = oMater.omodel.HItemID.ToString(); |
| | | grdMain.Rows[sRow].Cells[HMaterNumberCol].Value = oMater.omodel.HNumber; |
| | |
| | | { |
| | | i = i + 1; |
| | | //è°æ¨å |
| | | if (oSelectRow.BillType == "41") |
| | | if (oSelectRow.BillType == "1243") |
| | | { |
| | | grdMain.Rows.Add(); |
| | | Application.DoEvents(); |
| | |
| | | Application.DoEvents(); |
| | | } |
| | | //产åå
¥åºå |
| | | if (oSelectRow.BillType == "2") |
| | | if (oSelectRow.BillType == "1202") |
| | | { |
| | | grdMain.Rows.Add(); |
| | | Application.DoEvents(); |