nr복사시 cr 값 복사 안하게
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user