修改设备信息
This commit is contained in:
@@ -56,6 +56,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
this.txtArrivalDate.Text = string.Format("{0:yyyy-MM-dd}", Equipment.ArrivalDate);
|
||||
}
|
||||
this.txtFactory.Text = Equipment.Factory;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -67,7 +68,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
if (this.drpUnit.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择供货单位!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop("请选择采购单位!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
//if (this.drpMainItem.SelectedValue == BLL.Const._Null)
|
||||
@@ -101,6 +102,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
Equipment.Unit = this.txtUnit.Text.Trim();
|
||||
Equipment.Num = Funs.GetNewDecimalOrZero(this.txtNum.Text.Trim());
|
||||
Equipment.ArrivalDate = Funs.GetNewDateTime(this.txtArrivalDate.Text.Trim());
|
||||
Equipment.Factory = this.txtFactory.Text.Trim();
|
||||
Equipment.CompileMan = this.CurrUser.PersonId;
|
||||
Equipment.CompileDate = DateTime.Now;
|
||||
if (!string.IsNullOrEmpty(EquipmentId))
|
||||
|
||||
Reference in New Issue
Block a user