2024-02-21 开车分包管理修改

This commit is contained in:
2024-02-21 15:13:54 +08:00
parent 9bf96a31db
commit 5378f1b26d
24 changed files with 801 additions and 124 deletions
@@ -94,6 +94,9 @@ namespace FineUIPro.Web.TestRun.DriverSub
if (model!=null)
{
DriverSubId = model.DriverSubId;
txtDriverContractCode.Text = model.DriverContractCode;
txtSubContractName.Text = model.SubContractName;
txtEvaluator.Text = model.Evaluator;
}
else
{
@@ -160,7 +163,9 @@ namespace FineUIPro.Web.TestRun.DriverSub
newData.DriverSubPlanId = DriverSubPlanId;
newData.DriverSubContractorsId = tvControlItem.SelectedNodeID;
newData.EvaluationData = json;
newData.DriverContractCode = txtDriverContractCode.Text;
newData.SubContractName = txtSubContractName.Text;
newData.Evaluator = txtEvaluator.Text;
if (string.IsNullOrEmpty(DriverSubId))
{
newData.DriverSubId = SQLHelper.GetNewID(typeof(Model.DriverSub_DriverSub));
@@ -177,5 +182,14 @@ namespace FineUIPro.Web.TestRun.DriverSub
#endregion
protected void btnOut_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(DriverSubId))
{
ShowNotify("请先编辑数据!", MessageBoxIcon.Success);
return;
}
BLL.DriverSubService.PrintFile(DriverSubPlanId, tvControlItem.SelectedNodeID);
}
}
}