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 },