,,,
This commit is contained in:
@@ -13,6 +13,7 @@ using Outlook = NetOffice.OutlookApi;
|
||||
using NetOffice.OutlookApi.Enums;
|
||||
using FEQ0000.Purchase;
|
||||
using FCOMMON;
|
||||
using System.Windows.Forms.VisualStyles;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
@@ -1559,13 +1560,19 @@ namespace FEQ0000
|
||||
if (f.ShowDialog() != DialogResult.OK) return;
|
||||
|
||||
var colstat = fpSpread1_Sheet1.Columns["state"];
|
||||
var colidx = fpSpread1_Sheet1.Columns["idx"];
|
||||
var value = f.cmbState.Text;
|
||||
|
||||
foreach (var rowindex in rows)
|
||||
{
|
||||
fpSpread1_Sheet1.SetValue(rowindex, colstat.Index, value);
|
||||
}
|
||||
var idx = fpSpread1_Sheet1.Cells[rowindex, colidx.Index].Value;
|
||||
var dr= this.dsPurchase.EETGW_PurchaseCR.Where(t => t.idx == (int)idx).FirstOrDefault();
|
||||
dr["state"] = value;
|
||||
dr.EndEdit();
|
||||
|
||||
}
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
FCOMMON.Util.MsgI($"{rows.Count} 건의 자료가 변경되었습니다\n저장 버튼을 누르면 적용 됩니다\n취소하려면 새로고침을 누르세요");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user