|
@@ -452,14 +452,16 @@ export default {
|
|
|
// name:'立即修改',
|
|
|
// disabled:false,
|
|
|
// },
|
|
|
+ //主页列表按钮
|
|
|
+ // {
|
|
|
+ // type: 'warning',
|
|
|
+ // size: 'mini',
|
|
|
+ // icon: 'el-icon-upload2',
|
|
|
+ // name: '导出',
|
|
|
+ // disabled: false,
|
|
|
+ // hasPermi: ['anpin:stockControl:export']
|
|
|
+ // },
|
|
|
{
|
|
|
- type: 'warning',
|
|
|
- size: 'mini',
|
|
|
- icon: 'el-icon-upload2',
|
|
|
- name: '导出',
|
|
|
- disabled: false,
|
|
|
- hasPermi: ['anpin:stockControl:export']
|
|
|
- }, {
|
|
|
type: 'success',
|
|
|
size: 'mini',
|
|
|
icon: 'el-icon-c-scale-to-original',
|
|
@@ -913,6 +915,8 @@ export default {
|
|
|
this.tableData = res.rows
|
|
|
this.total = res.total
|
|
|
})
|
|
|
+ this.tEnclosure = []
|
|
|
+ this.disabled = true
|
|
|
},
|
|
|
//查询列数据
|
|
|
getRow(data, list, add, i) {
|
|
@@ -933,6 +937,7 @@ export default {
|
|
|
}
|
|
|
if (add) {
|
|
|
this.purchaseList.columnList.forEach(item => item.disabled = false)
|
|
|
+ this.disabled = false
|
|
|
} else {
|
|
|
this.purchaseList.columnList.forEach(item => item.disabled = true)
|
|
|
}
|
|
@@ -1300,6 +1305,8 @@ export default {
|
|
|
})
|
|
|
this.contentButton.forEach(item => item.disabled = false)
|
|
|
this.contentStyle.forEach(item => item.disabled = false)
|
|
|
+ this.tEnclosure = []
|
|
|
+ // this.$set(this,'tEnclosure',[])
|
|
|
this.$refs.avatar.clearVerification()
|
|
|
this.$refs.avatar.form.createBy = Cookies.get('userName')
|
|
|
} else {
|
|
@@ -1323,9 +1330,9 @@ export default {
|
|
|
})
|
|
|
this.contentButton.forEach(item => item.disabled = false)
|
|
|
this.contentStyle.forEach(item => item.disabled = false)
|
|
|
+ this.tEnclosure = []
|
|
|
this.$refs.avatar.clearVerification()
|
|
|
this.$refs.avatar.form.createBy = Cookies.get('userName')
|
|
|
-
|
|
|
}
|
|
|
break
|
|
|
case '保存':
|