多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
表格控件一般推荐用于简单表格,普通表格使用表格控件可以提高开发效率,但复杂表格开发效率差不多。 ## 用法 ~~~ <table runat="server" dataset="<php>$this->list</php>" 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> ~~~