リビジョン 240
請求まとめ(担当者承認一括申請)
行選択を行わずに申請出来る様に修正
承認欄のダブルクリックでの承認は廃止(イベント削除のみ)
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs | ||
---|---|---|
3743 | 3743 |
{ |
3744 | 3744 |
dgv = dgvProject; |
3745 | 3745 |
} |
3746 |
foreach (DataGridViewCell c in dgv.SelectedCells) |
|
3747 |
{ |
|
3748 |
SelectCell = c; |
|
3749 |
} |
|
3746 |
// TODO?@?S??????F???\????? |
|
3747 |
//foreach (DataGridViewCell c in dgv.SelectedCells) |
|
3748 |
//{ |
|
3749 |
// SelectCell = c; |
|
3750 |
//} |
|
3750 | 3751 |
|
3751 |
if (SelectCell != null) |
|
3752 |
{ |
|
3752 |
//if (SelectCell != null)
|
|
3753 |
//{
|
|
3753 | 3754 |
// ?x?????F???f?[?^??? |
3754 | 3755 |
PaymentApprovalInfo PaIWork = new PaymentApprovalInfo(); |
3755 |
PaIWork.CompanyCode = CommonMotions.cnvInt(dgv.Rows[SelectCell.RowIndex].Cells[m_Company_Column].Value); |
|
3756 |
//PaIWork.CompanyCode = CommonMotions.cnvInt(dgv.Rows[SelectCell.RowIndex].Cells[m_Company_Column].Value);
|
|
3756 | 3757 |
PaIWork.TargetDate = m_Select_TargetDate; |
3757 |
PaIWork.SeqNo = CommonMotions.cnvInt(dgv.Rows[SelectCell.RowIndex].Cells[(int)DispColumn.GroupSeqNo].Value); |
|
3758 |
PaIWork.LineCount = CommonMotions.cnvInt(dgv.Rows[SelectCell.RowIndex].Cells[(int)DispColumn.LineCount].Value); |
|
3758 |
//PaIWork.SeqNo = CommonMotions.cnvInt(dgv.Rows[SelectCell.RowIndex].Cells[(int)DispColumn.GroupSeqNo].Value);
|
|
3759 |
//PaIWork.LineCount = CommonMotions.cnvInt(dgv.Rows[SelectCell.RowIndex].Cells[(int)DispColumn.LineCount].Value);
|
|
3759 | 3760 |
|
3760 |
if ((PaIWork.CompanyCode == 0) |
|
3761 |
|| (PaIWork.SeqNo == 0) |
|
3762 |
|| (PaIWork.LineCount == 0) |
|
3763 |
) |
|
3764 |
{ |
|
3765 |
MessageBox.Show("????????????????????F?\?????s???????B", "???F?\???G???[", MessageBoxButtons.OK, MessageBoxIcon.Error); return; |
|
3766 |
} |
|
3767 |
if (MessageBox.Show("?I??????????s????F?\?????s??????B", "???F?\???m?F", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) return;
|
|
3761 |
//if ((PaIWork.CompanyCode == 0)
|
|
3762 |
//|| (PaIWork.SeqNo == 0)
|
|
3763 |
//|| (PaIWork.LineCount == 0)
|
|
3764 |
// )
|
|
3765 |
//{
|
|
3766 |
// MessageBox.Show("????????????????????F?\?????s???????B", "???F?\???G???[", MessageBoxButtons.OK, MessageBoxIcon.Error); return;
|
|
3767 |
//}
|
|
3768 |
if (MessageBox.Show("?\??????????f?[?^????F?\?????s??????B", "???F?\???m?F", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) return;
|
|
3768 | 3769 |
|
3769 | 3770 |
// ???F?\?????? |
3770 | 3771 |
PetitionProcess(PaIWork); |
3771 |
} |
|
3772 |
else |
|
3773 |
{ |
|
3774 |
MessageBox.Show("?s???I?????????????????F?\?????s???????B", "???F?\???G???[", MessageBoxButtons.OK, MessageBoxIcon.Error); return; |
|
3775 |
} |
|
3772 |
//}
|
|
3773 |
//else
|
|
3774 |
//{
|
|
3775 |
// MessageBox.Show("?s???I?????????????????F?\?????s???????B", "???F?\???G???[", MessageBoxButtons.OK, MessageBoxIcon.Error); return;
|
|
3776 |
//}
|
|
3776 | 3777 |
} |
3777 | 3778 |
#endregion |
3778 | 3779 |
|
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs | ||
---|---|---|
955 | 955 |
this.dgvCompany.Size = new System.Drawing.Size(1320, 534); |
956 | 956 |
this.dgvCompany.TabIndex = 4; |
957 | 957 |
this.dgvCompany.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.DataGridView_CellBeginEdit); |
958 |
this.dgvCompany.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellDoubleClick); |
|
958 |
//this.dgvCompany.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellDoubleClick);
|
|
959 | 959 |
this.dgvCompany.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellEnter); |
960 | 960 |
this.dgvCompany.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.DataGridView_CellFormatting); |
961 | 961 |
this.dgvCompany.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValidated); |
... | ... | |
1807 | 1807 |
this.dgvProject.TabIndex = 3; |
1808 | 1808 |
this.dgvProject.Visible = false; |
1809 | 1809 |
this.dgvProject.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.DataGridView_CellBeginEdit); |
1810 |
this.dgvProject.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellDoubleClick); |
|
1810 |
//this.dgvProject.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellDoubleClick);
|
|
1811 | 1811 |
this.dgvProject.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellEnter); |
1812 | 1812 |
this.dgvProject.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.DataGridView_CellFormatting); |
1813 | 1813 |
this.dgvProject.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValidated); |
他の形式にエクスポート: Unified diff