From 40d983b5bb51dc5e53488224ad48415f5078e2dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=9F=B3=E5=A4=B4?= Date: Fri, 8 Dec 2023 16:49:41 +0800 Subject: [PATCH] =?UTF-8?q?Decimal=E7=B1=BB=E5=9E=8B=EF=BC=8C=E6=A0=87?= =?UTF-8?q?=E8=AE=B0ItemType=E4=B8=BAmoney=E6=97=B6=EF=BC=8C=E6=89=8D?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=B4=A7=E5=B8=81=E7=AC=A6=E5=8F=B7=E4=BD=9C?= =?UTF-8?q?=E4=B8=BA=E8=A1=A8=E5=8D=95=E9=A1=B9=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NewLife.CubeNC/Views/Shared/_Form_Decimal.cshtml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NewLife.CubeNC/Views/Shared/_Form_Decimal.cshtml b/NewLife.CubeNC/Views/Shared/_Form_Decimal.cshtml index 0127be517..1d8949c68 100644 --- a/NewLife.CubeNC/Views/Shared/_Form_Decimal.cshtml +++ b/NewLife.CubeNC/Views/Shared/_Form_Decimal.cshtml @@ -11,5 +11,8 @@ var atts = HtmlHelper.AnonymousObjectToHtmlAttributes(Model.HtmlAttributes); if (!atts.ContainsKey("class")) atts.Add("class", "form-control"); } - +@if (Model.ItemType.EqualIgnoreCase("Money")) +{ + +} @Html.TextBox(name, value, Model.Format, atts) \ No newline at end of file