/// <summary> /// 更改处方医生 /// </summary> public void ChangePresDoc(int presType, int rowid) { if (rowid > -1) { DataTable dt = null; if (presType == 0) { dt = view.BindLongPresControlData; } else { dt = view.BindShortPresControlData; } if (view.PresDocCode != null) { dt.Rows[rowid]["PRESDOCCODE"] = view.PresDocCode; dt.Rows[rowid]["DocName"] = HIS.SYSTEM.PubicBaseClasses.GWIString.FilterSpecial(view.PresDocName); } if (Convert.ToInt32(dt.Rows[rowid]["Record_Flag"]) != -1) { int presOrderID = Convert.ToInt32(dt.Rows[rowid]["PresOrderID"]); zyPresOrder.ChangePresDoc(presOrderID, view.PresDocCode); } } }