가져오기 컬럼 수정

This commit is contained in:
chi
2020-05-06 16:40:42 +09:00
parent 0ee23842dc
commit ea20c93c27
7 changed files with 543 additions and 526 deletions

View File

@@ -111,13 +111,12 @@ namespace FPJ0000
string = "";
string = "";
string = "";
string = "";
//string 그룹 = "";
string = "";
string = "";
string = "";
string = "";
string = "";
this.progressBar1.Value = 0;
this.progressBar1.Maximum = MaxRow - MinRow + 1;
@@ -130,20 +129,23 @@ namespace FPJ0000
progressBar1.Value += 1;
//필수값을 먼저 확인한다.
if (nudNo.Value > 0) no = sheet.readStr(r, (int)nudNo.Value - 1);
if (nudSid.Value > 0) SID = sheet.readStr(r, (int)nudSid.Value - 1);
if (nudName.Value > 0) = sheet.readStr(r, (int)this.nudName.Value - 1);
if (nudModel.Value > 0) = sheet.readStr(r, (int)this.nudModel.Value - 1);
if (nudPrice.Value > 0) = sheet.readStr(r, (int)this.nudPrice.Value - 1).Replace(",", "");
if (nudQty.Value > 0) = sheet.readStr(r, (int)nudQty.Value - 1).Replace(",", "");
if (nudUnit.Value > 0) = sheet.readStr(r, (int)nudUnit.Value - 1);
if (nudManu.Value > 0) = sheet.readStr(r, (int)nudManu.Value - 1);
if (nudSupply.Value > 0) = sheet.readStr(r, (int)nudSupply.Value - 1);
if (nudGrp.Value > 0) = sheet.readStr(r, (int)nudGrp.Value - 1);
if (nudMemo.Value > 0) = sheet.readStr(r, (int)nudMemo.Value - 1);
if (nudBuwi.Value > 0) = sheet.readStr(r, (int)nudBuwi.Value - 1);
if (nudNapKi.Value > 0) = sheet.readStr(r, (int)nudNapKi.Value - 1);
if (numericUpDown2.Value > 0) = sheet.readStr(r, (int)numericUpDown2.Value - 1);
if (nudNo.Value > 0) no = sheet.readStr(r, (int)nudNo.Value - 1).Trim();
if (nudSid.Value > 0) SID = sheet.readStr(r, (int)nudSid.Value - 1).Trim();
if (nudName.Value > 0) = sheet.readStr(r, (int)this.nudName.Value - 1).Trim();
if (nudModel.Value > 0) = sheet.readStr(r, (int)this.nudModel.Value - 1).Trim();
if (nudPrice.Value > 0) = sheet.readStr(r, (int)this.nudPrice.Value - 1).Replace(",", "").Trim();
if (nudQty.Value > 0) = sheet.readStr(r, (int)nudQty.Value - 1).Replace(",", "").Trim();
if (nudUnit.Value > 0) = sheet.readStr(r, (int)nudUnit.Value - 1).Trim();
if (nudManu.Value > 0) = sheet.readStr(r, (int)nudManu.Value - 1).Trim();
if (nudSupply.Value > 0) = sheet.readStr(r, (int)nudSupply.Value - 1).Trim();
//if (nudGrp.Value > 0) 그룹 = sheet.readStr(r, (int)nudGrp.Value - 1).Trim();
if (nudMemo.Value > 0) = sheet.readStr(r, (int)nudMemo.Value - 1).Trim();
if (nudLowDiv.Value > 0) = sheet.readStr(r, (int)nudLowDiv.Value - 1).Trim();
if (nudNapKi.Value > 0) = sheet.readStr(r, (int)nudNapKi.Value - 1).Trim();
if (nudMidDiv.Value > 0) = sheet.readStr(r, (int)nudMidDiv.Value - 1).Trim();
//sid 공백과 - _ 제거 200506
SID = SID.Replace(" ", "").Replace("-", "").Replace("_", "").Trim();
//필수자료갸ㅏ 없는 경우처리하지 않음
if (.Trim() == "") continue;
@@ -178,9 +180,8 @@ namespace FPJ0000
}
newdr.ItemGroup = ;
newdr.option1 = ;
newdr.option1 = ;
newdr.option2 = ;
newdr.ItemGroup = ;
newdr.memo = ;
sumamt += newdr.amt;