|
@@ -92,15 +92,17 @@ export default {
|
|
|
nowColumns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
|
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '产品类目', dataIndex: 'shopCategoryName1', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '一级商城类目', dataIndex: 'shopCategoryName1', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '二级商城类目', dataIndex: 'shopCategoryName2', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '售价', dataIndex: 'price', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
|
|
|
],
|
|
|
loadData: [], // 可导入数据
|
|
|
nowUnColumns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: '9%', align: 'center' },
|
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '21%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '产品类目', dataIndex: 'shopCategoryName1', width: '18%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '售价', dataIndex: 'price', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
|
+ { title: '一级商城类目', dataIndex: 'shopCategoryName1', width: '16%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '二级商城类目', dataIndex: 'shopCategoryName2', width: '16%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '售价', dataIndex: 'price', width: '6%', align: 'right', customRender: function (text) { return (text != 'null' ? (text || text == 0) ? _this.toThousands(text) : '--':'--') } },
|
|
|
{ title: '备注', dataIndex: 'remark', width: '14%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
],
|
|
|
unLoadData: [], // 导入错误数据
|