This commit is contained in:
helloDy
2024-04-11 16:49:48 +08:00
parent 2592551e66
commit 63a753d7d6
32 changed files with 284 additions and 219 deletions

View File

@@ -14,7 +14,7 @@
<method-btn
v-if="tableBtn.length"
slot="handleBtn"
:width="120"
:Width="120"
label="操作"
:method-list="tableBtn"
@clickBtn="handleClick" />
@@ -48,45 +48,45 @@ const tableProps = [
prop: 'createTime',
label: '添加时间',
filter: parseTime,
width: 150,
minWidth: 150,
showOverflowtooltip: true
},
{
prop: 'name',
label: '产品名称',
width: 150,
minWidth: 150,
showOverflowtooltip: true
},
{
prop: 'code',
label: '产品编码',
width: 190,
minWidth: 190,
showOverflowtooltip: true
},
{
prop: 'productType',
label: '产品类型',
filter: publicFormatter('product_type'),
width: 180,
minWidth: 180,
showOverflowtooltip: true
},
{
prop: 'specifications',
label: '规格',
width: 150,
minWidth: 150,
showOverflowtooltip: true
},
{
prop: 'unit',
label: '单位',
filter: publicFormatter('unit_dict'),
width: 90,
minWidth: 90,
showOverflowtooltip: true
},
{
prop: 'remark',
label: '备注',
width: 120,
minWidth: 120,
showOverflowtooltip: true
},
];
@@ -141,7 +141,7 @@ export default {
color: 'primary',
},
{
type: 'separate',
type: this.$auth.hasPermi('base:core-product:create') ? 'separate' : '',
},
{
type: this.$auth.hasPermi('base:core-product:create') ? 'button' : '',