This commit is contained in:
chi
2024-01-22 09:26:20 +09:00
parent ff50832bdd
commit 7278f66857
105 changed files with 13 additions and 1221 deletions

View File

@@ -1329,9 +1329,9 @@ namespace FEQ0000
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase));
if (curLevel < 5) //일반사용자 입고 여부
{
if (dr.state != "PO")
if (dr.state != "PO" && dr.state != "PR")
{
FCOMMON.Util.MsgE("PO 상태의 자료만 입고처리가 가능 합니다");
FCOMMON.Util.MsgE("PR/PO 상태의 자료만 입고처리가 가능 합니다");
return;
}
if (dr.request != FCOMMON.info.Login.no)

View File

@@ -105,7 +105,7 @@ namespace FEQ0000
this.cmbDept.DataSource = LstCost;
//SITE
var LstLine = FCOMMON.DBM.getCodeTable("23");
var LstLine = FCOMMON.DBM.getCodeTable("23","code");
this.cmbSite.DisplayMember = "Value";
this.cmbSite.ValueMember = "Value";
this.cmbSite.DataSource = LstLine;
@@ -232,6 +232,7 @@ namespace FEQ0000
cmbState.Text = dr.state;
cmbSite.Text = dr.site;
cmbDept.Text = dr.dept;
tbSC.Text = dr.sc;
tbPO.Text = dr.po;
@@ -619,6 +620,7 @@ namespace FEQ0000
dr.supply = tbSupply.Text;
dr.site = cmbSite.Text;
dr.dept = cmbDept.Text;
if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull();