일반 구매 화면에서 , 로그인 사용자가 구매 담당자 라면 해당 자료만 보이도록 매니저를 기본 설정 함

구매 자료 복사시 , 구매담당자 값 지우도록 함
구매 신청 화면에서 담당자가 1명이라면 자동으로 설정 함
This commit is contained in:
chi
2023-11-09 08:52:22 +09:00
parent f14de05f94
commit 1eef8e0303
6 changed files with 218 additions and 210 deletions

View File

@@ -42,18 +42,18 @@ namespace FCM0000
//공급처 목록을 업데이트 함
var taCustom = new dsMSSQLTableAdapters.CustomsTableAdapter();
var customData = taCustom.GetData(FCOMMON.info.Login.gcode);
var colSupply = this.fpSpread1_Sheet1.Columns["supply"];
var cy = colSupply.CellType as FarPoint.Win.Spread.CellType.ComboBoxCellType;
List<string> items = new List<string>();
List<string> itemData = new List<string>();
foreach (var item in customData)
{
items.Add(item.name);
itemData.Add(item.idx.ToString());
}
cy.Items = items.ToArray();
cy.ItemData = itemData.ToArray();
cy.EditorValueChanged += cy_EditorValueChanged;
//var colSupply = this.fpSpread1_Sheet1.Columns["supply"];
//var cy = colSupply.CellType as FarPoint.Win.Spread.CellType.ComboBoxCellType;
//List<string> items = new List<string>();
//List<string> itemData = new List<string>();
//foreach (var item in customData)
//{
// items.Add(item.name);
// itemData.Add(item.idx.ToString());
//}
//cy.Items = items.ToArray();
//cy.ItemData = itemData.ToArray();
//cy.EditorValueChanged += cy_EditorValueChanged;
this.cmbSort.SelectedIndex = 0;