|
@@ -9,11 +9,11 @@ export const AttributeColumns = [
|
|
slots: { default: 'key' }
|
|
slots: { default: 'key' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- field: 'update_datetime', title: '更新时间', align: 'center',
|
|
|
|
|
|
+ field: 'update_datetime', title: '更新时间', align: 'center',
|
|
slots: { default: 'update_datetime' }
|
|
slots: { default: 'update_datetime' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- field: 'create_datetime', title: '创建时间', align: 'center',
|
|
|
|
|
|
+ field: 'create_datetime', title: '创建时间', align: 'center',
|
|
slots: { default: 'create_datetime' }
|
|
slots: { default: 'create_datetime' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -24,7 +24,8 @@ export const AttributeColumns = [
|
|
|
|
|
|
export const ProductBrandColumns = [
|
|
export const ProductBrandColumns = [
|
|
{ type: 'seq', title: 'No.', width: 70, align: 'center', fixed: 'left' },
|
|
{ type: 'seq', title: 'No.', width: 70, align: 'center', fixed: 'left' },
|
|
- { field: 'brand_name', title: '品牌名称', align: 'center', fixed: 'left',
|
|
|
|
|
|
+ {
|
|
|
|
+ field: 'brand_name', title: '品牌名称', align: 'center', fixed: 'left',
|
|
slots: { default: 'brand_name' }
|
|
slots: { default: 'brand_name' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -33,14 +34,15 @@ export const ProductBrandColumns = [
|
|
},
|
|
},
|
|
{ field: 'create_datetime', title: '创建时间', align: 'center', slots: { default: 'create_datetime' } },
|
|
{ field: 'create_datetime', title: '创建时间', align: 'center', slots: { default: 'create_datetime' } },
|
|
{
|
|
{
|
|
- field: 'operate', title: '操 作', width: 100 ,align: 'center', fixed: 'right',
|
|
|
|
|
|
+ field: 'operate', title: '操 作', width: 100, align: 'center', fixed: 'right',
|
|
slots: { default: 'operate' }
|
|
slots: { default: 'operate' }
|
|
}
|
|
}
|
|
];
|
|
];
|
|
|
|
|
|
export const ProductCategoryColumns = [
|
|
export const ProductCategoryColumns = [
|
|
{ type: 'seq', title: 'No.', width: 70, align: 'center', fixed: 'left' },
|
|
{ type: 'seq', title: 'No.', width: 70, align: 'center', fixed: 'left' },
|
|
- { field: 'name', title: '种类名称', align: 'center', fixed: 'left',
|
|
|
|
|
|
+ {
|
|
|
|
+ field: 'name', title: '种类名称', align: 'center', fixed: 'left',
|
|
slots: { default: 'name' }
|
|
slots: { default: 'name' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -55,7 +57,7 @@ export const ProductCategoryColumns = [
|
|
field: 'update_datetime', title: '更新时间', align: 'center',
|
|
field: 'update_datetime', title: '更新时间', align: 'center',
|
|
slots: { default: 'update_datetime' }
|
|
slots: { default: 'update_datetime' }
|
|
},
|
|
},
|
|
- { field: 'create_datetime', title: '创建时间', align: 'center', slots: { default: 'create_datetime' } },
|
|
|
|
|
|
+ { field: 'create_datetime', title: '创建时间', align: 'center', slots: { default: 'create_datetime' } },
|
|
{
|
|
{
|
|
field: 'operate', title: '操 作', width: 130, align: 'center', fixed: 'right',
|
|
field: 'operate', title: '操 作', width: 130, align: 'center', fixed: 'right',
|
|
slots: { default: 'operate' }
|
|
slots: { default: 'operate' }
|
|
@@ -64,7 +66,8 @@ export const ProductCategoryColumns = [
|
|
|
|
|
|
export const CompanySkuColumns = [
|
|
export const CompanySkuColumns = [
|
|
{ type: 'checkbox', width: 50, align: 'center', fixed: 'left' },
|
|
{ type: 'checkbox', width: 50, align: 'center', fixed: 'left' },
|
|
- { field: 'sku', title: 'SKU', align: 'center', fixed: 'left',
|
|
|
|
|
|
+ {
|
|
|
|
+ field: 'sku', title: 'SKU', align: 'center', fixed: 'left',
|
|
slots: { default: 'sku' }
|
|
slots: { default: 'sku' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -95,19 +98,18 @@ export const CompanySkuColumns = [
|
|
];
|
|
];
|
|
|
|
|
|
export const EnumColumns = [
|
|
export const EnumColumns = [
|
|
- {field:'label',title: '名称',minWidth: 100,align: 'center',},
|
|
|
|
- {field:'value',title: '数据值',minWidth: 76,align: 'center',},
|
|
|
|
- {field:'status',title: '状态',minWidth: 120,align: 'center',slots: { default: 'status' }},
|
|
|
|
- {field:'operate',title: '操作',align: 'center',slots: { default: 'operate' }}
|
|
|
|
-]
|
|
|
|
-
|
|
|
|
|
|
+ { field: 'label', title: '名称', minWidth: 'auto', align: 'center' },
|
|
|
|
+ { field: 'value', title: '数据值', minWidth: 'auto', align: 'center' },
|
|
|
|
+ { field: 'status', title: '状态', minWidth: 'auto', align: 'center', slots: { default: 'status' } },
|
|
|
|
+ { field: 'operate', title: '操作', align: 'center', width: 130, slots: { default: 'operate' } }
|
|
|
|
+];
|
|
|
|
|
|
export const AttributeManageColumns = [
|
|
export const AttributeManageColumns = [
|
|
{ type: 'seq', title: 'No.', width: 70, align: 'center', fixed: 'left' },
|
|
{ type: 'seq', title: 'No.', width: 70, align: 'center', fixed: 'left' },
|
|
- { field: 'placement', title: '位 置', align: 'center', slots: { default: 'placement' } },
|
|
|
|
- { field: 'attribute', title: '属 性', align: 'center', slots: { default: 'attribute' } },
|
|
|
|
- { field: 'order', title: '顺 序', align: 'center', slots: { default: 'order' } },
|
|
|
|
|
|
+ { field: 'placement', title: '位 置', align: 'center', slots: { default: 'placement' } },
|
|
|
|
+ { field: 'attribute', title: '属 性', align: 'center', slots: { default: 'attribute' } },
|
|
|
|
+ { field: 'order', title: '顺 序', align: 'center', slots: { default: 'order' } },
|
|
{ field: 'update_datetime', title: '更新时间', width: 170, align: 'center', slots: { default: 'update_datetime' } },
|
|
{ field: 'update_datetime', title: '更新时间', width: 170, align: 'center', slots: { default: 'update_datetime' } },
|
|
{ field: 'create_datetime', title: '创建时间', width: 170, align: 'center', slots: { default: 'create_datetime' } },
|
|
{ field: 'create_datetime', title: '创建时间', width: 170, align: 'center', slots: { default: 'create_datetime' } },
|
|
{ field: 'operate', title: '操 作', width: 175, align: 'center', fixed: 'right', slots: { default: 'operate' } }
|
|
{ field: 'operate', title: '操 作', width: 175, align: 'center', fixed: 'right', slots: { default: 'operate' } }
|
|
-]
|
|
|
|
|
|
+];
|