焊接材料修改
This commit is contained in:
@@ -35,7 +35,7 @@ namespace FineUIPro.Web.CLGL
|
||||
table.Id = Id;
|
||||
|
||||
var model = TwInOutplanmasterService.GetListData(table).FirstOrDefault();
|
||||
txtCusBillCode.Text = TwOutputmasterService.GetCusBillCodeByTaskCode(model.WeldTaskCode, (TwConst.TypeInt)model.TypeInt, (BLL.TwConst.Category)model.Category);
|
||||
txtCusBillCode.Text = TwOutputmasterService.GetCusBillCode(model.WeldTaskCode, (TwConst.TypeInt)model.TypeInt, (BLL.TwConst.Category)model.Category);
|
||||
txtWarehouseCode.Text = model.WarehouseCode;
|
||||
txtCreateDate.Text = string.Format("{0:yyyy-MM-dd}", model.CreateDate);
|
||||
txtCreateMan.Text = Person_PersonsService.GetPersonsNameById(model.CreateMan);
|
||||
|
||||
@@ -255,6 +255,7 @@ namespace FineUIPro.Web.CLGL
|
||||
var inoutplandetail = (from x in Funs.DB.Tw_InOutPlanDetail_Relation
|
||||
//where x.InOutPlanMasterId == Id && x.PipelineId == this.tvControlItem.SelectedNodeID
|
||||
where x.PipelineId == this.tvControlItem.SelectedNodeID
|
||||
&& (x.PrefabricatedComponents == null || x.PrefabricatedComponents == "")
|
||||
select x).ToList();
|
||||
|
||||
// 优化 Linq 过滤条件
|
||||
|
||||
@@ -303,7 +303,12 @@ namespace FineUIPro.Web.CLGL
|
||||
{
|
||||
ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 生成退料通知单
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGenInPlanMaster_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.Tw_OutputMasterMenuId, Const.BtnModify))
|
||||
@@ -329,7 +334,11 @@ namespace FineUIPro.Web.CLGL
|
||||
ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 生成补料通知单
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGenOutPlanMaster_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.Tw_OutputMasterMenuId, Const.BtnModify))
|
||||
|
||||
Reference in New Issue
Block a user