/// <summary> /// 报销信息驳回 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void menuEdit_Click(object sender, RoutedEventArgs e) { if (this.dgExpense.SelectedItem != null) { TB_EXPENSE exp = this.dgExpense.SelectedItem as TB_EXPENSE; frmReponse frm = new frmReponse(exp); frm.ShowDialog(); } }
/// <summary> /// 报销驳回 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void menuEdit_Click(object sender, RoutedEventArgs e) { //判断是否是项目销售人员及报销填报人不是该项目成员 if (this.dgExpense.SelectedItem != null) { TB_EXPENSE exp = this.dgExpense.SelectedItem as TB_EXPENSE; frmReponse frm = new frmReponse(exp); frm.ShowDialog(); bindExpenseData(); } }