(아직 업데이트 안함.)
=====* UniMarc [0.0130] 버전 업데이트 내용 *===== ** ERP 작업 전면 중단 (마크우선) ** *** 마크작성 - 칸채우기 버그 수정을 위해 테스트 계정 제외하고 잠금*** 1. 퀵메뉴 ㄴ> ERP 작업 중단으로 인해 퀵메뉴 설정 잠금. 2. 마크 작성 ㄴ> 칸채우기에서 메모장으로 변환시 순서 변경되던 버그 수정. ㄴ> 메모장에 없는 태그를 칸채우기에서 넣을경우 메모장에 적용되지않는 버그 발견. (수정중에 다른 작업 진행중) 3. 마크 정리 ㄴ> 인코딩값 설정하여 저장기능 추가. (ANSI, UTF-8, UniCode) ㄴ> 반출 성공/실패 메시지박스 알림 추가. ㄴ> 태그변경 버그 수정. ㄴ> 체크창 적용되지 않는 버그 수정. ㄴ> Grid의 푸른부분 수정시 마크에 반영되게 수정. ㄴ> 구두점 자동으로 적용하여 반출되게 소스코드 추가. 4. 마크 반출 ㄴ> 인코딩값 설정하여 저장기능 추가. (ANSI, UTF-8, UniCode) ㄴ> 구두점 자동으로 적용하여 반출되게 소스코드 추가. 5. 마크 작성 ㄴ> 등급, 외부데이터 등 색상이 변경함에 따라 INSERT, UPDATE를 해야하는 부분 수정.
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -74,11 +74,11 @@ namespace WindowsFormsApp1
|
||||
cmd = _DB.DB_Select_Search("`idx`", "Comp", "comp_name", result[4]);
|
||||
com_idx = _DB.DB_Send_CMD_Search(cmd).Replace("|", "");
|
||||
|
||||
if (com_idx != "1")
|
||||
{
|
||||
// if (com_idx != "1")
|
||||
// {
|
||||
// }
|
||||
납품관리ToolStripMenuItem.Visible = false;
|
||||
회계ToolStripMenuItem.Visible = false;
|
||||
}
|
||||
if (result[7] != "관리자") { 마스터ToolStripMenuItem.Visible = false; }
|
||||
|
||||
Settings.Default.compidx = com_idx;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -69,7 +69,6 @@ namespace UniMarc.마크
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
string InBook_Area = "`compidx`, `list_name`, `date`, `header`, `num`, " +
|
||||
"`book_name`, `author`, `book_comp`, `pay`, `count`, " +
|
||||
"`total`, `isbn_marc`";
|
||||
|
||||
@@ -172,6 +172,7 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
private void btn_file_save_Click(object sender, EventArgs e)
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
string Marc_data = string.Empty;
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
@@ -179,7 +180,13 @@ namespace WindowsFormsApp1.Mac
|
||||
dataGridView1.Rows[a].Cells["Marc"].Value == null)
|
||||
continue;
|
||||
|
||||
Marc_data += dataGridView1.Rows[a].Cells["Marc"].Value.ToString().Replace("₩", "\\");
|
||||
string marc = dataGridView1.Rows[a].Cells["Marc"].Value.ToString();
|
||||
|
||||
marc = st.ConvertMarcType(marc);
|
||||
marc = st.ApplyMark(marc);
|
||||
marc = st.made_Ori_marc(marc);
|
||||
|
||||
Marc_data += marc.Replace("₩", "\\");
|
||||
}
|
||||
|
||||
string FileName;
|
||||
|
||||
@@ -572,6 +572,7 @@ namespace ExcelTest
|
||||
}
|
||||
string table_name = "Marc";
|
||||
int row_idx = List_Book.CurrentCell.RowIndex;
|
||||
string BaseText = richTextBox1.Text;
|
||||
string tag056 = Tag056();
|
||||
string[] grid_data = {
|
||||
List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString(),
|
||||
@@ -589,15 +590,15 @@ namespace ExcelTest
|
||||
|
||||
if (Midx != "") {
|
||||
isNewData = false;
|
||||
|
||||
}
|
||||
|
||||
// 필수태그 확인
|
||||
if (!isMustTag(orimarc)) {
|
||||
richTextBox1.Text = BaseText;
|
||||
return;
|
||||
}
|
||||
|
||||
if (List_Book.Rows[row_idx].DefaultCellStyle.BackColor != Color.LightGray)
|
||||
if (List_Book.Rows[row_idx].DefaultCellStyle.ForeColor != Color.Orange)
|
||||
{
|
||||
string[] Edit_tbl = {
|
||||
"compidx", "marc", "marc_chk", "marc_chk1", "비고1",
|
||||
@@ -850,6 +851,11 @@ namespace ExcelTest
|
||||
string res = db.DB_Send_CMD_Search(cmd);
|
||||
|
||||
string[] ary = res.Split('|');
|
||||
if (res.Length < 1) {
|
||||
etc1.Text = res;
|
||||
etc2.Text = "";
|
||||
return;
|
||||
}
|
||||
etc1.Text = ary[0];
|
||||
etc2.Text = ary[1];
|
||||
}
|
||||
@@ -1477,10 +1483,9 @@ namespace ExcelTest
|
||||
|
||||
private void List_Book_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
int row = List_Book.CurrentCell.RowIndex;
|
||||
if (e.KeyCode == Keys.Space)
|
||||
{
|
||||
int row = List_Book.CurrentCell.RowIndex;
|
||||
|
||||
if (List_Book.Rows[row].Cells["colCheck"].Value.ToString() == "V")
|
||||
List_Book.Rows[row].Cells["colCheck"].Value = "";
|
||||
|
||||
|
||||
@@ -155,6 +155,8 @@ namespace WindowsFormsApp1.Mac
|
||||
int row = e.RowIndex;
|
||||
int col = e.ColumnIndex;
|
||||
|
||||
if (row < 0) return;
|
||||
|
||||
string idx = dataGridView1.Rows[row].Cells["idx"].Value.ToString();
|
||||
|
||||
if (dataGridView1.Rows[row].Cells[col].ReadOnly) {
|
||||
@@ -305,6 +307,7 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
private void btn_Output_Click(object sender, EventArgs e)
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
string Marc_data = string.Empty;
|
||||
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
@@ -316,7 +319,12 @@ namespace WindowsFormsApp1.Mac
|
||||
if (dataGridView1.Rows[a].Cells["colCheck"].Value.ToString() != "T")
|
||||
continue;
|
||||
|
||||
Marc_data += dataGridView1.Rows[a].Cells["marc"].Value.ToString().Replace("₩", "\\");
|
||||
string marc = dataGridView1.Rows[a].Cells["Marc"].Value.ToString();
|
||||
marc = st.ConvertMarcType(marc);
|
||||
marc = st.ApplyMark(marc);
|
||||
marc = st.made_Ori_marc(marc);
|
||||
|
||||
Marc_data += marc.Replace("₩", "\\");
|
||||
}
|
||||
|
||||
string FileName;
|
||||
@@ -479,6 +487,8 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
string AddTagInMarc(string Tag, string TypeView)
|
||||
{
|
||||
if (Tag.Length < 3) return "";
|
||||
|
||||
int TargetTagNum = Convert.ToInt32(Tag.Substring(0, 3));
|
||||
|
||||
string[] SplitView = TypeView.Split('\n');
|
||||
|
||||
Reference in New Issue
Block a user