焊接材料管理修改
This commit is contained in:
@@ -1268,5 +1268,26 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
this.BindGrid(GetWeldingTaskList);
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnGenOutPlanMaster_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(tvControlItem.SelectedNodeID))
|
||||
{
|
||||
string unitWorkId = string.Empty, unitId2 = string.Empty; string taskdate = string.Empty;
|
||||
if (tvControlItem.SelectedNodeID.Contains("|"))
|
||||
{
|
||||
unitWorkId = tvControlItem.SelectedNodeID.Split('|')[0];
|
||||
unitId2 = tvControlItem.SelectedNodeID.Split('|')[1];
|
||||
taskdate = tvControlItem.SelectedNodeID.Split('|')[2];
|
||||
|
||||
WeldTaskService.GenOutPlanmasterByWeldTaskId(unitWorkId, unitId2, Convert.ToDateTime(taskdate), this.CurrUser.PersonId);
|
||||
ShowNotify("生成出库申请单成功", MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify("请选择任务单", MessageBoxIcon.Question);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user