<x:Grid runat="server" EnableCollapse="true" OnRowDoubleClick="RowDoubleClick" OnRowDataBound="wxgrid_OnRowDataBound" BodyStyle="background-color:#F0F9FE;border:1px solid #AAA;padding-bottom:5px" ID="grid_TJCX" ShowBorder="false" EnableRowDoubleClickEvent="True" ShowHeader="false"> <%-- 注释ForceFitAllTime="true"--%> <Columns> <x:TemplateField HeaderText="行号" Width="90px" TextAlign="Center"> <ItemTemplate> <asp:Label runat="server" ID="lblHH" Text=‘<%#Container.DataItemIndex + 1 %>‘></asp:Label> </ItemTemplate> </x:TemplateField> <%-- 丁天亮 在1024*768分辨率下面显示表头不完整 修改对应的宽度 2014-07-12 V9.6.0--%> <x:BoundField HeaderText="日期" DataField="YJSYSJ" Width="80px" DataFormatString="{0:yyyy-MM-dd}" /> <x:BoundField HeaderText="使用科室" DataField="KSMC" TextAlign="Center" /> <x:BoundField HeaderText="名称" DataField="SBMC" Width="100px" TextAlign="Center" /> <x:BoundField HeaderText="规格" DataField="GGXH" Width="70px" TextAlign="Center" /> <x:BoundField HeaderText="批号" DataField="PH" Width="80px" TextAlign="Center" /> <x:BoundField HeaderText="有效期" DataField="YXQ" Width="155px" TextAlign="Center" /> <x:BoundField HeaderText="单位" DataField="DW" Width="50px" /> <x:BoundField HeaderText="生产企业" DataField="SCCJ" Width="70px" /> <x:BoundField HeaderText="供应商" DataField="GYSMC" Width="105px" TextAlign="Center" /> <x:BoundField HeaderText="注册证件号" DataField="ZCZJH" Width="80px" /> <%-- 增加一栏 中标编号 字段 addby 张魁祥 2016-3-22--%> <x:BoundField HeaderText="中标编号" DataField="WSCGBH" Width="80px" /> <x:BoundField HeaderText="灭菌批号" DataField="MJPH" Width="80px" /> <x:BoundField HeaderText="条码号" DataField="TMH" Width="120px" /> <x:BoundField HeaderText="住院号" DataField="ZYH" Width="70px" /> <x:BoundField HeaderText="患者姓名" DataField="HZXM" Width="105px" TextAlign="Center" /> <%-- 增加一栏 手术名称 字段 addby 张魁祥 2016-10-21--%> <x:BoundField HeaderText="手术名称" DataField="SSMC" Width="105px" TextAlign="Center" /> <%-- 增加一栏 主治医师 字段 addby 张魁祥 2015-12-28--%> <x:BoundField HeaderText="主治医师" DataField="ZZYS" Width="105px" TextAlign="Center" /> <x:BoundField HeaderText="单价" DataField="CGDJ" Width="70px" /> <x:BoundField HeaderText="是否手术" DataField="SFSS" Width="70px" /> <x:BoundField HtmlEncode="false" HeaderText="查询证照信息" DataField="ZJ_Info" Width="120px" /> <x:TemplateField ColumnID="expander" RenderAsRowExpander="true"> <ItemTemplate> <fieldset style=""> <legend>详细信息</legend> <table border="0" cellpadding="1" cellspacing="1" width="780"> <tr> <td> 日期: </td> <td> <%# Eval("YJSYSJ")%> </td> <td> 科室名称: </td> <td> <%# Eval("KSMC")%> </td> <td> 设备名称: </td> <td> <%# Eval("SBMC")%> </td> </tr> <tr> <td> 规格: </td> <td> <%# Eval("GGXH")%> </td> <td> 批号: </td> <td> <%# Eval("PH")%> </td> <td> 有效期: </td> <td> <%# Eval("YXQ")%> </td> </tr> <tr> <td> 单位: </td> <td> <%# Eval("DW")%> </td> <td> 生产厂家: </td> <td> <%# Eval("SCCJ")%> </td> <td> 供应商名称: </td> <td> <%# Eval("GYSMC")%> </td> </tr> <tr> <td> 注册证件号: </td> <td> <%# Eval("ZCZJH")%> </td> <td> 中标编码: </td> <td> <%# Eval("WSCGBH")%> </td> <td> 灭菌编号: </td> <td> <%# Eval("MJPH")%> </td> </tr> <tr> <td> 条码号: </td> <td> <%# Eval("TMH")%> </td> <td> 住院号: </td> <td> <%# Eval("ZYH")%> </td> <td> 患者名称: </td> <td> <%# Eval("HZXM")%> </td> </tr> <tr> <td> 手术名称: </td> <td> <%# Eval("SSMC")%> </td> <td> 主治医师: </td> <td> <%# Eval("ZZYS")%> </td> <td> 采购单价: </td> <td> <%# Eval("CGDJ")%> </td> </tr> <tr> <td> 是否手术: </td> <td> <%# Eval("SFSS")%> </td> </tr> </table> </fieldset> </ItemTemplate> </x:TemplateField> </Columns> </x:Grid>
时间: 2024-10-15 11:51:43