...
|
...
|
@@ -31,7 +31,7 @@ var g1 = new common.grid({ |
|
|
{display: "商品名称", name: "productName"},
|
|
|
{display: "销售价(元)", name: "salePrice"},
|
|
|
{display: "分类", name: "productSort"},
|
|
|
{display: "销售类目", render: function (item) {
|
|
|
{display: "商品分类", render: function (item) {
|
|
|
var name = item.categoryName ? item.categoryName : '未分类';
|
|
|
var categoryList = '<span class="name" style="display: block; text-align: center">'+ name +'</span>';
|
|
|
if(item.saleCategory && item.saleCategory.length > 1){
|
...
|
...
|
@@ -84,7 +84,7 @@ var g2 = new common.grid({ |
|
|
{display: "商品名称", name: "productName"},
|
|
|
{display: "销售价(元)", name: "salePrice"},
|
|
|
{display: "分类", name: "productSort"},
|
|
|
{display: "销售类目", render: function (item) {
|
|
|
{display: "商品分类", render: function (item) {
|
|
|
var name = item.categoryName ? item.categoryName : '未分类';
|
|
|
var categoryList = '<span class="name" style="display: block; text-align: center">'+ name +'</span>';
|
|
|
if(item.saleCategory && item.saleCategory.length > 1){
|
...
|
...
|
|