姜永辉 1 год назад
Родитель
Сommit
886ab3eb33
1 измененных файлов с 6 добавлено и 5 удалено
  1. 6 5
      DK.Client/PCModule/F_PC_0104_1.cs

+ 6 - 5
DK.Client/PCModule/F_PC_0104_1.cs

@@ -359,16 +359,17 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
 					if (dialogresult.Equals(DialogResult.OK))
 					{
 						this.dgvGroutingLine.DataSource = null;
-						object obResult = DoAsync(new Dongke.IBOSS.PRD.Basics.DockPanel.AsyncMethod(GetGroutingLine));
-						if (obResult != null)
-						{
-							DataSet dsGroutingLine = (DataSet)obResult;
+						DataSet dsGroutingLine = GetGroutingLine();
+						// object obResult = DoAsync(new Dongke.IBOSS.PRD.Basics.DockPanel.AsyncMethod(GetGroutingLine));
+						//if (obResult != null)
+						//{
+							//DataSet dsGroutingLine = (DataSet)obResult;
 							if (dsGroutingLine.Tables.Count != Constant.INT_IS_ZERO)
 							{
 								this.dgvGroutingLine.DataSource = dsGroutingLine.Tables[0];
 								this.dgvGroutingLine.ReadOnly = true;
 							}
-						}
+						//}
 					}
 				}
 			}