|
@@ -20,6 +20,7 @@
|
|
|
@showSearch="showSearch"
|
|
|
@feedback="feedback"
|
|
|
@getList="getList"
|
|
|
+ :hasPermi="hasPermi"
|
|
|
:isItHidden="isItHidden"
|
|
|
:customButton="customButton"
|
|
|
:listStyle="listStyle"
|
|
@@ -172,6 +173,10 @@ export default {
|
|
|
name: 'index',
|
|
|
data() {
|
|
|
return {
|
|
|
+ hasPermi:{
|
|
|
+ lookup:['anpin:stockControl:query'],
|
|
|
+ disappear:['anpin:stockControl:remove']
|
|
|
+ },
|
|
|
addOrUpdateVisib: false,
|
|
|
addOrUpdateVisible: false,
|
|
|
total:0,
|
|
@@ -419,7 +424,7 @@ export default {
|
|
|
icon: 'el-icon-edit',
|
|
|
name: '新增',
|
|
|
disabled: false,
|
|
|
- hasPermi:['warehouseBusiness:inStock:export']
|
|
|
+ hasPermi:['anpin:stockControl:anPingApply']
|
|
|
},
|
|
|
// {
|
|
|
// type:'warning',
|
|
@@ -434,14 +439,14 @@ export default {
|
|
|
icon: 'el-icon-upload2',
|
|
|
name: '导出',
|
|
|
disabled: false,
|
|
|
- hasPermi:['warehouseBusiness:inStock:export']
|
|
|
+ hasPermi:['anpin:stockControl:export']
|
|
|
}, {
|
|
|
type: 'success',
|
|
|
size: 'mini',
|
|
|
icon: 'el-icon-c-scale-to-original',
|
|
|
name: '复制新增',
|
|
|
disabled: false,
|
|
|
- hasPermi:['warehouseBusiness:inStock:export']
|
|
|
+ hasPermi:['anpin:stockControl:generateReceipts']
|
|
|
}
|
|
|
],
|
|
|
contentButton: [
|