* unimarc

a. 팩스전송 완료.
 b. 마크목록 폼 작성중
  1. 엑셀반출 기능 추가중 사용 작업중
  2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료)
   2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김.
   2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 진행해야함.
   2-3. 현재 TODO : 저장기능

TODOLIST
1. 팩스로 전송될 엑셀파일 밑작업마무리 (입력될 파라미터만 적용하면 실사용가능)
2. 알라딘API로 ISBN조회 프로젝트 새로 작업할 것.
This commit is contained in:
SeungHo Yang
2021-03-22 18:44:50 +09:00
parent 8eb44f1667
commit 1f037a4102
9 changed files with 18 additions and 12 deletions

View File

@@ -206,6 +206,16 @@ namespace WindowsFormsApp1.Delivery
check = (CheckBox)(row.Cells[16].Value); check = (CheckBox)(row.Cells[16].Value);
} }
} }
if (e.ColumnIndex == 0 && chk_O == false)
{
dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = "O";
chk_O = true;
}
else if (e.ColumnIndex == 0 && chk_O == true)
{
dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = "";
chk_O = false;
}
} }
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{ {
@@ -226,15 +236,8 @@ namespace WindowsFormsApp1.Delivery
bl.Show(); bl.Show();
return; return;
} }
if (e.ColumnIndex == 0 && chk_O == false) if (e.ColumnIndex == 0)
{ {
dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = "O";
chk_O = true;
}
else if (e.ColumnIndex == 0 && chk_O == true)
{
dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = "";
chk_O = false;
} }
else if (e.ColumnIndex == 2 && chk_V == false) else if (e.ColumnIndex == 2 && chk_V == false)
{ {
@@ -248,12 +251,12 @@ namespace WindowsFormsApp1.Delivery
} }
else if (chk_mkdate.Contains("." + e.RowIndex + ", ") == true) else if (chk_mkdate.Contains("." + e.RowIndex + ", ") == true)
{ {
dataGridView1.Rows[e.RowIndex].Cells[12].Value = ""; dataGridView1.Rows[e.RowIndex].Cells[13].Value = "";
chk_mkdate = chk_mkdate.Replace("." + e.RowIndex + ", ", ""); chk_mkdate = chk_mkdate.Replace("." + e.RowIndex + ", ", "");
} }
else if (chk_mkdate.Contains("." + e.RowIndex + " , ") == false) else if (chk_mkdate.Contains("." + e.RowIndex + " , ") == false)
{ {
dataGridView1.Rows[e.RowIndex].Cells[12].Value = System.DateTime.Now.ToString("d"); dataGridView1.Rows[e.RowIndex].Cells[13].Value = System.DateTime.Now.ToString("d");
chk_mkdate += "." + e.RowIndex + ", "; chk_mkdate += "." + e.RowIndex + ", ";
} }
} }
@@ -301,13 +304,16 @@ namespace WindowsFormsApp1.Delivery
string[,] inputExcel = new string[chkIdx.Count,7]; string[,] inputExcel = new string[chkIdx.Count,7];
for(int a = 0; a < chkIdx.Count; a++) for(int a = 0; a < chkIdx.Count; a++)
{ {
inputExcel[a, 0] = a.ToString(); string list = dataGridView1.Rows[chkIdx[a]].Cells["list_name"].Value.ToString();
string div = list.Substring(list.IndexOf(']')+1);
int num = a + 1;
inputExcel[a, 0] = num.ToString();
inputExcel[a, 1] = dataGridView1.Rows[chkIdx[a]].Cells["book_comp"].Value.ToString(); inputExcel[a, 1] = dataGridView1.Rows[chkIdx[a]].Cells["book_comp"].Value.ToString();
inputExcel[a, 2] = dataGridView1.Rows[chkIdx[a]].Cells["book_name"].Value.ToString(); inputExcel[a, 2] = dataGridView1.Rows[chkIdx[a]].Cells["book_name"].Value.ToString();
inputExcel[a, 3] = dataGridView1.Rows[chkIdx[a]].Cells["author"].Value.ToString(); inputExcel[a, 3] = dataGridView1.Rows[chkIdx[a]].Cells["author"].Value.ToString();
inputExcel[a, 4] = dataGridView1.Rows[chkIdx[a]].Cells["order_count"].Value.ToString(); inputExcel[a, 4] = dataGridView1.Rows[chkIdx[a]].Cells["order_count"].Value.ToString();
inputExcel[a, 5] = dataGridView1.Rows[chkIdx[a]].Cells["pay"].Value.ToString(); inputExcel[a, 5] = dataGridView1.Rows[chkIdx[a]].Cells["pay"].Value.ToString();
inputExcel[a, 6] = dataGridView1.Rows[chkIdx[a]].Cells["list_name"].Value.ToString() + "\n" + inputExcel[a, 6] = div + "\n" +
dataGridView1.Rows[chkIdx[a]].Cells["isbn"].Value.ToString(); dataGridView1.Rows[chkIdx[a]].Cells["isbn"].Value.ToString();
} }
Excel_text ex = new Excel_text(); Excel_text ex = new Excel_text();