diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index e2d69b4..84fa3d0 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("21.08.10.1450")] -[assembly: AssemblyFileVersion("21.08.10.1450")] +[assembly: AssemblyVersion("21.08.23.0930")] +[assembly: AssemblyFileVersion("21.08.23.0930")] diff --git a/SubProject/FEQ0000/Purchase/fPurchase.cs b/SubProject/FEQ0000/Purchase/fPurchase.cs index f8bb21d..3b92c71 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase.cs @@ -787,6 +787,7 @@ namespace FEQ0000 //현재 데이터를 입력하여 신규 추가를 한다. var newdr = this.dsPurchase.Purchase.NewPurchaseRow(); FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr); + newdr.orderno = string.Empty; //CR값 복사 안하게 210823 newdr.pdate = DateTime.Now.ToShortDateString(); newdr.wdate = DateTime.Now; newdr.wuid = FCOMMON.info.Login.no; diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs index b4fcdf2..7b91e26 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs @@ -453,8 +453,18 @@ namespace FEQ0000 tbPumQty.Focus(); return false; } + + if (advInput == true) { + if (tbOrderNo.Text.isEmpty() == false && tbProjectIndex.Text != "-1") + { + FCOMMON.Util.MsgI("구매경고\n" + + "프로젝트가 할당 되어있으며 CR/CF값이 입력되어있습니다.\n" + + "CR/CF 구매의 경우 프로젝트 파트리스트를 통해서 구매 신청 하세요\n" + + "이 화면은 NR구매요청 입니다"); + } + if (tbProject.Text == "") { //프로젝트명에 입력이 안되있다 @@ -601,9 +611,9 @@ namespace FEQ0000 } //단가가없는경우 생성한다. - if(decimal.TryParse(tbPumPrice.Text,out decimal vprice)==false) + if (decimal.TryParse(tbPumPrice.Text, out decimal vprice) == false) { - if(decimal.TryParse(tbPumPriceD.Text,out decimal vpriced)==true) + if (decimal.TryParse(tbPumPriceD.Text, out decimal vpriced) == true) { applyDollerToWon(); } @@ -938,7 +948,7 @@ namespace FEQ0000 { //단가에 금액이 없는경우에는 환율을 곱해준다. //if ( decimal.TryParse(tbPumPrice.Text, out decimal result) == false || result == 0) - if(binit) + if (binit) { if (decimal.TryParse(tbPumPriceD.Text, out decimal priced) == true) { @@ -950,7 +960,7 @@ namespace FEQ0000 tbPumPrice.Text = "0"; } } - + } void applyDollerToWon() {