From 2bd02358b1610c496a8c0c9081d22dc033ad429f Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Tue, 13 Nov 2018 21:17:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E7=A3=85=E5=8D=95=E6=98=8E=E7=BB=86?= =?UTF-8?q?=20=E5=A4=B4=E6=95=B0=20=E9=87=8D=E9=87=8F=E5=8A=A0=E5=90=88?= =?UTF-8?q?=E8=AE=A1=E8=A1=8C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../B3SheepButcherManage/Bills/WeightBill_/WeightBillEdit.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/WeightBill_/WeightBillEdit.cs b/B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/WeightBill_/WeightBillEdit.cs index 38b8feb..1250c4b 100644 --- a/B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/WeightBill_/WeightBillEdit.cs +++ b/B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/WeightBill_/WeightBillEdit.cs @@ -186,11 +186,11 @@ __DFContainer.getControl('Employee_ID').fill('',''); e.Control.EnableInputArgument = true; e.Control.CodeArgument = 生物资产属性.羊.Value.ToString(); }; - _weightGrid.Columns.EAdd(new DFEditGridColumn("Number")).InitEditControl += (sender, e) => + _weightGrid.Columns.EAdd(new DFEditGridColumn("Number") { SumMode = SumMode.Sum }).InitEditControl += (sender, e) => { e.Control.Style["width"] = "160px"; }; - _weightGrid.Columns.EAdd(new DFEditGridColumn("Weight")).InitEditControl += (sender, e) => + _weightGrid.Columns.EAdd(new DFEditGridColumn("Weight") { SumMode = SumMode.Sum }).InitEditControl += (sender, e) => { e.Control.Style["width"] = "160px"; };