/// <summary> /// 设置信息面板显示 /// </summary> private void SetActivePanel() { txtedit_ac003.EditValue = ac01.AC003; //逝者姓名 txtedit_ac004.EditValue = ac01.AC004; //年龄 rg_ac002.EditValue = ac01.AC002; //性别 txtedit_ac020.EditValue = ac01.AC020; //到达中心时间 txtedit_ac050.EditValue = ac01.AC050; //联系人 txtedit_ac051.EditValue = ac01.AC051; //电话 txtedit_ac052.Text = ac01.AC052; //与逝者关系 txtedit_ac006.EditValue = ac01.AC006; //骨灰处理方式 this.Parent.Text = "火化业务办理" + "【" + ac01.AC003 + "】" + "(" + ac01.AC001 + ")"; te_position.Text = FireAction.GetGuyPosition(s_ac001); te_gbt.Text = FireAction.GetGBT(s_ac001); txtedit_ac018.EditValue = ac01.AC018; txtedit_ac015.EditValue = ac01.AC015; te_hhl.Text = FireAction.GetHHL(s_ac001); txtedit_xxs.Text = FireAction.GetRestRoomList(s_ac001); //判断是否办理寄存业务 if (gridView1.LocateByValue("SA002", "08") >= 0) { te_pos.Text = RegAction.GetRegPosition(s_ac001); } else { te_pos.Text = ""; } decimal dec_yjs = decimal.Zero; decimal dec_wjs = decimal.Zero; for (int i = 0; i < gridView1.RowCount; i++) { if (gridView1.GetRowCellValue(i, "SA008").ToString() == "1") { dec_yjs += Convert.ToDecimal(gridView1.GetRowCellValue(i, "SA007")); } else { dec_wjs += Convert.ToDecimal(gridView1.GetRowCellValue(i, "SA007")); } } te_yjs.Text = dec_yjs.ToString("##,##0.00"); te_wjs.Text = dec_wjs.ToString("##,##0.00"); }