记得上下班打卡 | git大法好,push需谨慎

Commit 19edf425 authored by dongchun's avatar dongchun

修改创建分类下拉显示问题

parent 50c3ea96
......@@ -110,51 +110,39 @@
// width: '80'
// },
{
field: 'bindType',
field: 'price',
title: '原价',
width: '100',
align: 'center',
formatter: function(value, row, index) {
return '299999999'
}
align: 'center'
},
{
field: 'bindType',
title: '其他活动占用库存',
width: '120',
align: 'center',
formatter: function(value, row, index) {
return '2021'
}
align: 'center'
},
{
field: 'bindType',
// title: `线下售价<a onclick="setPrice(1)">批量</a>`,
title: `线下售价`,
width: '150',
align: 'center',
formatter: function(value, row, index) {
return `<input id="price${index}" class='form-control' type='text' name='' value=''>`
}
align: 'center'
},
{
field: 'bindType',
field: 'buyLimit',
// title: '库存限量<a onclick="setPrice(2)">批量</a>',
title: '库存限量',
width: '150',
align: 'center',
formatter: function(value, row, index) {
return `<input id="goodsNum${index}" class='form-control' type='text' name='' value=''>`
}
align: 'center'
},
{
field: 'bindType',
field: 'buyRoster',
// title: '用户限购<a onclick="setPrice(3)">批量</a>',
title: '用户限购',
width: '150',
align: 'center',
formatter: function(value, row, index) {
return `<input id="purchasing${index}" class='form-control' type='text' name='' value=''>`
formatter: function (value, row) {
}
},
{
......@@ -180,10 +168,7 @@
let obj = {
field: '',
title: '',
align: 'center',
formatter: function(value, row) {
return '七彩湛蓝色'
}
align: 'center'
}
columnsData.forEach((item,index) => {
obj.field = 'specVname'+index+'';
......@@ -193,7 +178,7 @@
}
datas = data.map(item => {
item.skuSpecList.forEach((d,i) => [
item['specVname'+i+''] = d.specName
item['specVname'+i+''] = d.specVname
])
return item
})
......@@ -216,6 +201,7 @@
data: datas,
columns: column
};
console.log(options)
$.table.init(options);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment