2024-02-21 开车分包管理修改
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user