..
This commit is contained in:
@@ -217,6 +217,9 @@ namespace FEQ0000
|
||||
tbBigo.Text = dr.bigo;
|
||||
dtInDate.Text = dr.indate;
|
||||
dtExpDate.Text = dr.edate;
|
||||
if (dr.IsinqtyNull() == false)
|
||||
tbInQty.Text = dr.inqty.ToString();
|
||||
//else tbInQty.Text = "0";
|
||||
|
||||
//chkInDate.Checked = !dr.IsindateNull();
|
||||
//chkExp.Checked = !dr.IsedateNull();
|
||||
@@ -495,6 +498,19 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
|
||||
if (chkInDate.Checked)
|
||||
{
|
||||
if (int.TryParse(tbInQty.Text.Replace(",", ""), out int qty) == false)
|
||||
{
|
||||
if (FCOMMON.Util.MsgQ("입고 정보가 설정되어 있지만 입고 수량값이 없습니다") != DialogResult.Yes)
|
||||
{
|
||||
tbInQty.Focus();
|
||||
tbInQty.SelectAll();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00");
|
||||
if (overtime.TotalSeconds > 0)
|
||||
{
|
||||
@@ -691,6 +707,7 @@ namespace FEQ0000
|
||||
dr.po = tbPO.Text;
|
||||
dr.orderno = tbOrderNo.Text;
|
||||
dr.bigo = tbBigo.Text;
|
||||
dr.inqty = int.Parse(tbInQty.Text.Replace(",", ""));
|
||||
|
||||
//품정보가 업데이트 되어있으면 해당 데이터의 이미지를 업데이트 한다.(크기비교)
|
||||
//품정보가 없다면 그대로 생성을 해준다.
|
||||
@@ -951,7 +968,7 @@ namespace FEQ0000
|
||||
private void button7_Click(object sender, EventArgs e)
|
||||
{
|
||||
var datapath = FCOMMON.DBM.getCodeSavlue("55", "02");
|
||||
if(datapath.isEmpty())
|
||||
if (datapath.isEmpty())
|
||||
{
|
||||
FCOMMON.Util.MsgE("견적서 기본폴더 공용코드 55-02 값을 입력하세요");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user