구매수량없이 구매신청되지 않게 함

This commit is contained in:
chi
2024-02-08 09:49:47 +09:00
parent 283597f612
commit 3691bee8a9
17 changed files with 3146 additions and 941 deletions

View File

@@ -594,7 +594,11 @@ namespace FEQ0000
{
dr.pumpriceD = priced;
}
else dr.SetpumpriceDNull();
else
{
dr.SetpumpriceDNull();
dr.currency = "KRW";
}
if (vqtyreal > 0) dr.pumamt = dr.pumqty * dr.pumprice;
else dr.pumamt = dr.pumqtyReq * dr.pumprice;

View File

@@ -366,7 +366,7 @@ namespace FEQ0000
if(qty < 1)
{
Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 없습니다");
break;
return;
}
//if(qty > qtyreq)
//{
@@ -499,6 +499,8 @@ namespace FEQ0000
{
this.Validate();
this.bs.EndEdit();
var dlg = FCOMMON.Util.MsgQ("입력되지 않은 구매수량을 신청수량으로 일괄 업데이트 할까요?");
if (dlg != DialogResult.Yes) return;
foreach (DataGridViewRow row in this.dataGridView1.Rows)
{
var dr = row.DataBoundItem as dsPurchase.EETGW_PurchaseEBRow;