주문내역 엑셀 업로드기능에서 공백제거 추가, 주문내역에서 품목정보 생성하는 기능 추가(관리자)

This commit is contained in:
chi
2024-01-26 11:33:04 +09:00
parent 5d7945d5c9
commit d2c5ed6bd4
39 changed files with 1198 additions and 968 deletions

View File

@@ -119,7 +119,7 @@ namespace FEQ0000.Purchase
var dlg = FCOMMON.Util.MsgQ("모든 자료의 SPR/NR 재고를 검색 할까요?");
if (dlg != DialogResult.Yes) return;
var cnt = 0;
foreach(var dr in this.dsPurchase.PurchaseCheck)
foreach (var dr in this.dsPurchase.PurchaseCheck)
{
var sid = dr.sid;
if (sid.Length != 9 || sid.StartsWith("10") == false)
@@ -157,7 +157,7 @@ namespace FEQ0000.Purchase
var drv = this.dv1.Rows[e.RowIndex].DataBoundItem as DataRowView;
var dr = drv.Row as dsPurchase.PurchaseCheckRow;
var sid = dr.sid;
if(sid.Length != 9 || sid.StartsWith("10")==false)
if (sid.Length != 9 || sid.StartsWith("10") == false)
{
dr.sitecnt = "SID오류";
dr.chk2 = true;
@@ -168,8 +168,15 @@ namespace FEQ0000.Purchase
if (dt.Complete)
{
dr.sitecnt = $"{dt.Result.Rows.Count}건";
var f = new fSIDListSelect(sid, dt.Result);
f.ShowDialog();
var f = new FCM0000.fSIDListSelect(sid, dt.Result);
if (f.ShowDialog() == DialogResult.OK)
{
dr.chk2 = true;
}
else
{
dr.chk2 = false;
}
}
else
{
@@ -185,7 +192,7 @@ namespace FEQ0000.Purchase
{
var cnt = this.dsPurchase.PurchaseCheck.Where(t => t.chk2).Count();
if(cnt == 0)
if (cnt == 0)
{
this.Close();
}
@@ -198,7 +205,7 @@ namespace FEQ0000.Purchase
this.chklist.AddRange(lists.Select(t => t.idx));
DialogResult = DialogResult.OK;
}
}
private void toolStripButton3_Click(object sender, EventArgs e)