zoukankan      html  css  js  c++  java
  • Layui复杂表头自定义

    table.render({

                        elem: "#subjectTable",

                        url: "/elseAffair/inventoryAdjust/inquireCommodity",

                        text: {

                            none: '使用流程:添加商品->保存单据->审核单据 数量为正(1),库存增加:数量为负(-1),库存减少'

                        },

                        cols: [[

                            { type: "numbers", title: "序号", rowspan: 2, align: "center" },

                            { field: "CommodityDetailID", title: "商品明细id", hide: true, rowspan: 2, align: "center" },

                            { field: "CommodityCode", title: "商品编码(条码)", rowspan: 2, align: "center", 140 },

                            { field: "CommodityName", title: "商品名称", rowspan: 2, align: "center", 140 },

                            { field: "CommodityStyleNumber", title: "款号", rowspan: 2, align: "center" },

                            { field: "ColorName", title: "颜色", rowspan: 2, align: "center" },

                            { field: "SizeName", title: "尺码", rowspan: 2, align: "center" },

                            { field: "TagPrice", title: "吊牌价", rowspan: 2, align: "center" },

                            { field: "UnitName", title: "单位", rowspan: 2, align: "center" },

                            { field: "", title: "数量金额", colspan: 2, align: "center", 140 },

                            { field: "ADetailRemark", title: "备注", rowspan: 2, align: "center",edit:true },

                        ], [

                             { field: "Quantity", title: "数量", align: "center",edit:true },

                            { templet: totalmoney, title: "合计金额", align: "center", 100 },

                        ]],

  • 相关阅读:
    Docker Machine 管理-管理machine(17)
    Docker Machine 管理-创建machine(16)
    Docker Machine 管理-安装docker-machine(15)
    kvm无人值守安装centos6
    存储-docker volume 生命周期管理(14)
    存储-docker数据共享(13)
    存储-docker存储(12)
    网络-Docker 提供的几种原生网络和自定义网络(11)
    docker容器管理-含静态Ip(10)
    rocketmq单点部署
  • 原文地址:https://www.cnblogs.com/qxqbk/p/14085665.html
Copyright © 2011-2022 走看看