From 1f384fffd051f8f96bc7f8e06b71c4738cde2c6d Mon Sep 17 00:00:00 2001 From: maqiao <625215135@qq.com> Date: Tue, 28 Oct 2025 14:30:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=8B=E6=9C=AF=E5=AE=A4?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E6=97=A5=E6=9C=9F=E5=AD=97=E6=AE=B5=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DM_Weight/Report/GridReportUtil.cs | 4 ++-- DM_Weight/ReportTemp/account_book_new.grf | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/DM_Weight/Report/GridReportUtil.cs b/DM_Weight/Report/GridReportUtil.cs index 2868731..c21eaa0 100644 --- a/DM_Weight/Report/GridReportUtil.cs +++ b/DM_Weight/Report/GridReportUtil.cs @@ -399,8 +399,8 @@ namespace DM_Weight.Report DateTime? p_endDate = endDate ?? DateTime.Now.AddDays(1); string p_machine_id = (ConfigurationManager.AppSettings["machineId"] ?? "DM1"); string SQL = $@" select ab.drug_id, ab.type, - di.drug_name AS DrugName,di.Drug_spec AS DrugSpec,di.big_unit AS BigUnit,di.small_unit AS SmallUnit, DATE_FORMAT(ab.create_date,,'%Y/%m/%d') AS oldYearMD, - DATE_FORMAT(ab.create_date,'%Y/%m/%d') AS YearMD,ab.manu_no AS ManuNo,DATE_FORMAT(ab.eff_date,'%Y%m%d') AS effDate,IF(ab.type=2,'',ab.add_quantity) AS InQuantity,ab.shoushuJian AS shoushuJian, + di.drug_name AS DrugName,di.Drug_spec AS DrugSpec,di.big_unit AS BigUnit,di.small_unit AS SmallUnit, DATE_FORMAT(ab.create_date,'%Y/%m/%d') AS oldYearMD, + DATE_FORMAT(ab.create_time,'%Y/%m/%d %H:%i:%s') AS YearMD,ab.manu_no AS ManuNo,DATE_FORMAT(ab.eff_date,'%Y%m%d') AS effDate,IF(ab.type=2,'',ab.add_quantity) AS InQuantity,ab.shoushuJian AS shoushuJian, re.Patient_name AS PName,re.sex AS Sex,re.age AS Age,IF(ab.type=3,ab.use_dose,re.use_dose) AS UseDose,IF(ab.type=3,ab.residual_dose,re.residual_dose) AS ResidualDose,re.create_time AS DiposalTime ,re.operator_name, ab.manu_stock AS Stock,ab.total_stock AS empty,ab.total_stock,UL.User_name AS SendUser, IF(ab.type=1,UL.User_name,UL2.User_name) AS InCheckUser, diff --git a/DM_Weight/ReportTemp/account_book_new.grf b/DM_Weight/ReportTemp/account_book_new.grf index f249b75..74a1767 100644 --- a/DM_Weight/ReportTemp/account_book_new.grf +++ b/DM_Weight/ReportTemp/account_book_new.grf @@ -136,7 +136,7 @@ }, { "Name":"批次", - "Width":2.19604 + "Width":1.98438 }, { "Name":"有效期", @@ -216,7 +216,8 @@ }, { "Name":"Column8", - "Width":1.79917 + "Width":1.79917, + "Visible":false } ], "ColumnContent":{ @@ -224,8 +225,9 @@ "ColumnContentCell":[ { "Column":"日期", - "EndEllipsis":true, + "WordWrap":true, "TextAlign":"MiddleCenter", + "ShrinkFontToFit":true, "DataField":"日期" }, {