修改bug

This commit is contained in:
‘937886381’ 2024-04-12 14:30:11 +08:00
parent 6050eb4df5
commit 2a599d96b3
2 changed files with 17 additions and 21 deletions

View File

@ -123,14 +123,6 @@ const tableProps = [
label: '备注',
},
];
const topBtnConfig = [
{
type: 'add',
btnName: 'btn.add'
}
]
export default {
mixins: [basicAdd],
components: { SmallTitle, attrAdd },
@ -153,7 +145,14 @@ export default {
},
],
tableProps,
topBtnConfig,
topBtnConfig:[
{
type: this.$auth.hasPermi('extend:process-equ-material-bom-det:add')
? 'add'
: '',
btnName: 'btn.add'
}
],
addOrUpdateVisible: false,
urlOptions: {
isGetCode: false,

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: zhp
* @LastEditTime: 2024-04-12 14:27:07
* @LastEditTime: 2024-04-12 14:28:44
* @Description:
-->
<template>
@ -143,17 +143,7 @@ const tableProps = [
prop: 'remark',
label: '备注',
},
];
const topBtnConfig = [
{
type: this.$auth.hasPermi('extend:process-equ-value-bom-det:add')
? 'add'
: '',
btnName: 'btn.add'
}
]
export default {
mixins: [basicAdd],
components: { SmallTitle, attrAdd },
@ -174,7 +164,14 @@ export default {
},
],
tableProps,
topBtnConfig,
topBtnConfig:[
{
type: this.$auth.hasPermi('extend:process-equ-value-bom-det:add')
? 'add'
: '',
btnName: 'btn.add'
}
],
addOrUpdateVisible: false,
enableList: [
{