Punch_Type改为下拉框选项

This commit is contained in:
2024-07-30 11:58:39 +08:00
parent c93dba3c61
commit 53ab49cb5e
3 changed files with 8 additions and 5 deletions
@@ -64,7 +64,7 @@ namespace FineUIPro.Web.Transfer
else
this.ddlIsEng.SelectedValue = "N";
this.ddlIsMatI.SelectedValue = TransferPunchlistFrom.IsMatI ?? "";
this.txtPunch_Type.Text = TransferPunchlistFrom.Punch_Type;
this.txtPunch_Type.SelectedValue = TransferPunchlistFrom.Punch_Type ?? "";
if (TransferPunchlistFrom.Required_Date != null)
this.txtRequired_Date.Text = Convert.ToDateTime(TransferPunchlistFrom.Required_Date).ToString("yyyy-MM-dd");
this.txtAction_By.Text = TransferPunchlistFrom.Action_By;
@@ -163,7 +163,7 @@ namespace FineUIPro.Web.Transfer
Disc = this.txtDisc.Text.Trim(),
IsEng = this.ddlIsEng.SelectedValue == "Y" ? true : false,
IsMatI = this.ddlIsMatI.SelectedValue,
Punch_Type = this.txtPunch_Type.Text.Trim(),
Punch_Type = this.txtPunch_Type.SelectedValue,
Required_Date = Funs.GetNewDateTime(this.txtRequired_Date.Text),
Action_By = this.txtAction_By.Text.Trim(),
PIC = this.txtPIC.Text.Trim(),