ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
表格控件一般推荐用于简单表格,普通表格使用表格控件可以提高开发效率,但复杂表格开发效率差不多。 ## 用法 ~~~ <table runat="server" dataset="#$this->list" id="tb" auto_head="0"> <if condition="Request::get('type')==='out'"> <datacol runat="server" type="index">序号</datacol> <datacol runat="server" field="LogTime">出仓日期</datacol> <datacol runat="server" field="TradeAmount">出库数量(千克)</datacol> <datacol runat="server" field="BalanceAmount">结存数量(千克)</datacol> <datacol runat="server" field="OwnerShip">承运人</datacol> <datacol runat="server" field="StoreCount">货主</datacol> <datacol runat="server" field="Price">车船牌照</datacol> <datacol runat="server" field="RedVoucherName" style="datacolor:red">反冲</datacol> <else/> <datacol runat="server" type="index">序号</datacol> <datacol runat="server" field="GoodsKindName">出仓日期</datacol> <datacol runat="server" field="GradeName">出库数量(千克)</datacol> <datacol runat="server" field="PropertyName">结存数量(千克)</datacol> <datacol runat="server" field="OwnerName">承运人</datacol> <datacol runat="server" field="CarrierName">客户</datacol> <datacol runat="server" field="Price">车船牌照</datacol> </if> </table> ~~~