From 131c6c70f92f6bd81af3ca25011d077bae59dabf Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Mon, 3 Mar 2025 15:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=BE=E7=A8=8B=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=8F=91=E5=B8=83=E3=80=81=E5=81=9C=E7=94=A8=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Services/CommonServices.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tiobon.Core.Services/CommonServices.cs b/Tiobon.Core.Services/CommonServices.cs index 565d9c59..18e2a959 100644 --- a/Tiobon.Core.Services/CommonServices.cs +++ b/Tiobon.Core.Services/CommonServices.cs @@ -2083,7 +2083,9 @@ public partial class CommonServices : BaseServices>, ICommon AND B.RoleNo = 'F_TrainPlanTransferToConfirmed'"; toolbarRoles = DbAccess.QueryList(sql); if (toolbarRoles != null && toolbarRoles.Any()) - result.JM_PageControlT1.Toolbar.Add(new Toolbar() + { + index = result.JM_PageControlT1.Toolbar.FindIndex(x => x.fnKey == "NewYN"); + result.JM_PageControlT1.Toolbar.Insert(index + 1, new Toolbar() { display = true, fnKey = "TBD5YN", @@ -2092,6 +2094,7 @@ public partial class CommonServices : BaseServices>, ICommon icon = "ghr-icon-user-wait", position = "left" }); + } break; case "F_TrainPlan_WaitConfirm": result.JM_PageControlT1.Toolbar.Insert(0, new Toolbar()