This commit is contained in:
chi
2023-10-08 00:04:31 +09:00
parent 37f2fdf053
commit b6291f2bd0
32 changed files with 1610 additions and 691 deletions

View File

@@ -131,7 +131,7 @@ namespace FEQ0000
}
///입력된 데이터를 적용한다.
dtPdate.Value = DateTime.Parse(dr.pdate);
//dtPdate.Value = DateTime.Parse(dr.pdate);
if (cmbRequest.Items.Count > 0)
{
for (int i = 0; i < cmbRequest.Items.Count; i++)
@@ -221,7 +221,8 @@ namespace FEQ0000
tbLineCode.Text = dr.linecode;
else tbLineCode.Text = string.Empty;
tbManager.Text = dr.purchase_manager;
tbAdmin.Text = dr.purchase_admin;
//if (dr.process == "") cbProcess.SelectedIndex = -1;
//else cbProcess.Text = dr.process;
@@ -700,15 +701,15 @@ namespace FEQ0000
}
if (dr.RowState != DataRowState.Detached && dr.RowState != DataRowState.Added)
{
if (dr.sc != tbSC.Text.Trim() && tbSC.Text != "")
{
dtPdate.Value = DateTime.Now;
this.cmbState.SelectedValue = "Approving";
//if (dr.state == "00") dr.state = "01"; //approv 변경
}
}
//if (dr.RowState != DataRowState.Detached && dr.RowState != DataRowState.Added)
//{
// if (dr.sc != tbSC.Text.Trim() && tbSC.Text != "")
// {
// //dtPdate.Value = DateTime.Now;
// this.cmbState.SelectedValue = "Approving";
// //if (dr.state == "00") dr.state = "01"; //approv 변경
// }
//}
//품목정보에 없는 데이터이므로 자료를 추가한다.
if (tbPumIDX.Text == "-1")
@@ -816,6 +817,9 @@ namespace FEQ0000
dr.costcenter = tbCostCenter.Text;
dr.linecode = tbLineCode.Text;
dr.purchase_manager = tbManager.Text;
dr.purchase_admin = tbAdmin.Text;
if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull();
else dr.supplyidx = int.Parse(tbSupplyIndex.Text);