nr복사시 cr 값 복사 안하게

This commit is contained in:
chi
2021-08-23 11:06:55 +09:00
parent 6eeb1da673
commit 656791622b
3 changed files with 17 additions and 6 deletions

View File

@@ -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()
{