* unimarc

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

* ISBN 체크 프로그램 - ★작업완료★
 a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것.

TODOLIST
1. 주문관리 팩스연동 완료
2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정할것.
This commit is contained in:
SeungHo Yang
2021-04-09 19:11:43 +09:00
parent 2106b47104
commit 4cd3f53197
24 changed files with 88 additions and 46 deletions

View File

@@ -335,6 +335,7 @@ namespace WindowsFormsApp1.Delivery
}
private void button13_Click(object sender, EventArgs e)
{
/*
List<int> chkIdx = new List<int>();
for (int a = 0; a < dataGridView1.Rows.Count; a++)
{
@@ -352,6 +353,22 @@ namespace WindowsFormsApp1.Delivery
return;
}
}
*/
string pur = "dasd";
string FilePath = string.Empty;
string filename = string.Empty;
OpenFileDialog Odig = openFileDialog1;
Odig.Filter = "Excel Files(*.xls)|*.xls|Excel Files(*.xlsx)|*.xlsx|All FIles(*.*)|*.*";
Odig.Title = "파일을 선택해주세요.";
if (Odig.ShowDialog() == DialogResult.OK)
{
FilePath = Odig.FileName;
filename = Path.GetFileName(FilePath);
FilePath = Path.GetDirectoryName(FilePath);
}
else return;
if (cb_ordersend.SelectedItem.ToString() == "팩스") {
@@ -396,20 +413,6 @@ namespace WindowsFormsApp1.Delivery
string[] fax_param = data_list.ToArray();
string FilePath = string.Empty;
string filename = string.Empty;
OpenFileDialog Odig = openFileDialog1;
Odig.Filter = "Excel Files(*.xls)|*.xls|Excel Files(*.xlsx)|*.xlsx|All FIles(*.*)|*.*";
Odig.Title = "엑셀파일을 선택해주세요.";
if (Odig.ShowDialog() == DialogResult.OK) {
FilePath = Odig.FileName;
filename = Path.GetFileName(FilePath);
FilePath = Path.GetDirectoryName(FilePath);
}
else return;
FTP ftp = new FTP();
// TODO: openFileDialog 사용. 파일경로 가져와야함.
@@ -435,16 +438,20 @@ namespace WindowsFormsApp1.Delivery
else MessageBox.Show("접속 실패");
// 바로빌 FAX API연동
fax.Send_BaroFax(filename, fax_param);
db.DB_Update("Comp", "fax_Key", fax.Send_BaroFax(filename, fax_param), "idx", compidx);
}
if (cb_ordersend.SelectedItem.ToString() == "메일") {
MessageBox.Show("TODO: 구현해야함.");
Email email = new Email();
email.Send_mail(compidx, pur, Odig.FileName);
}
}
private void btn_send_chk_Click(object sender, EventArgs e)
{
fax.Send_chk_BaroFax();
string db_tmp = db.DB_Select_Search("`fax_Key`", "Comp", "idx", compidx);
string[] fax_key = db_tmp.Split('|');
fax.Send_chk_BaroFax(fax_key[0]);
}
}
}