|
@@ -42,7 +42,43 @@ const formOptions: VbenFormProps = {
|
|
|
label: '产品名称',
|
|
label: '产品名称',
|
|
|
componentProps: {
|
|
componentProps: {
|
|
|
placeholder: $t('ui.placeholder.input'),
|
|
placeholder: $t('ui.placeholder.input'),
|
|
|
- allowClear: true,
|
|
|
|
|
|
|
+ clearable: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ component: 'Input',
|
|
|
|
|
+ fieldName: 'productsmodel',
|
|
|
|
|
+ label: '产品型号',
|
|
|
|
|
+ componentProps: {
|
|
|
|
|
+ placeholder: $t('ui.placeholder.input'),
|
|
|
|
|
+ clearable: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ component: 'Input',
|
|
|
|
|
+ fieldName: 'productsjjlx',
|
|
|
|
|
+ label: '机具类型',
|
|
|
|
|
+ componentProps: {
|
|
|
|
|
+ placeholder: $t('ui.placeholder.input'),
|
|
|
|
|
+ clearable: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ component: 'Input',
|
|
|
|
|
+ fieldName: 'scqyinfomc',
|
|
|
|
|
+ label: '生产企业',
|
|
|
|
|
+ componentProps: {
|
|
|
|
|
+ placeholder: $t('ui.placeholder.input'),
|
|
|
|
|
+ clearable: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ component: 'Input',
|
|
|
|
|
+ fieldName: 'productscategory',
|
|
|
|
|
+ label: '产品类别',
|
|
|
|
|
+ componentProps: {
|
|
|
|
|
+ placeholder: $t('ui.placeholder.input'),
|
|
|
|
|
+ clearable: true,
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
@@ -91,22 +127,23 @@ const gridOptions: VxeGridProps<any> = {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
columns: [
|
|
columns: [
|
|
|
- { title: '机具类型', field: 'productsjjlx', sortable: true, width: 120 },
|
|
|
|
|
|
|
+ { title: '序号', type: 'seq', width: 50 },
|
|
|
{ title: '产品名称', field: 'productsname', sortable: true, width: 240 },
|
|
{ title: '产品名称', field: 'productsname', sortable: true, width: 240 },
|
|
|
|
|
+ { title: '产品型号', field: 'productsmodel', sortable: true, width: 220 },
|
|
|
|
|
+ { title: '机具类型', field: 'productsjjlx', sortable: true, width: 120 },
|
|
|
{
|
|
{
|
|
|
title: '产品类别',
|
|
title: '产品类别',
|
|
|
field: 'productscategory',
|
|
field: 'productscategory',
|
|
|
sortable: true,
|
|
sortable: true,
|
|
|
width: 120,
|
|
width: 120,
|
|
|
},
|
|
},
|
|
|
- { title: '产品型号', field: 'productsmodel', sortable: true, width: 220 },
|
|
|
|
|
{ title: '生产企业', field: 'scqyinfomc', sortable: true, width: 220 },
|
|
{ title: '生产企业', field: 'scqyinfomc', sortable: true, width: 220 },
|
|
|
// { title: '产品sn号', field: 'productssn' },
|
|
// { title: '产品sn号', field: 'productssn' },
|
|
|
- { title: '品目', field: 'productspm', sortable: true, width: 120 },
|
|
|
|
|
- { title: '一级分类', field: 'productsfl1', sortable: true, width: 120 },
|
|
|
|
|
- { title: '二级分类', field: 'productsfl2', sortable: true, width: 120 },
|
|
|
|
|
- { title: '分档名称', field: 'productsfdmc', sortable: true, width: 120 },
|
|
|
|
|
- { title: '分档编号', field: 'productsfdbh', sortable: true, width: 120 },
|
|
|
|
|
|
|
+ // { title: '品目', field: 'productspm', sortable: true, width: 120 },
|
|
|
|
|
+ // { title: '一级分类', field: 'productsfl1', sortable: true, width: 120 },
|
|
|
|
|
+ // { title: '二级分类', field: 'productsfl2', sortable: true, width: 120 },
|
|
|
|
|
+ // { title: '分档名称', field: 'productsfdmc', sortable: true, width: 120 },
|
|
|
|
|
+ // { title: '分档编号', field: 'productsfdbh', sortable: true, width: 120 },
|
|
|
{
|
|
{
|
|
|
title: '产品原价',
|
|
title: '产品原价',
|
|
|
field: 'productsprice',
|
|
field: 'productsprice',
|