|
@@ -135,36 +135,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
- ],
|
|
|
- [
|
|
|
- [
|
|
|
- {
|
|
|
- name: '删除',
|
|
|
- click: () => {
|
|
|
- if (this.recordSelected.length === 0) {
|
|
|
- this.$message.error('请选择需要删除的数据')
|
|
|
- return
|
|
|
- }
|
|
|
- if(!this.isTradeExaminer){
|
|
|
- for (let index = 0; index < this.recordSelected.length; index++) {
|
|
|
- if (this.recordSelected[index].orderStatus !== '保存') {
|
|
|
- this.$message.error('请选择保存的数据')
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- // for (let index = 0; index < this.recordSelected.length; index++) {
|
|
|
- // if (this.recordSelected[index].orderStatus !== '已审核') {
|
|
|
- // this.$message.error('请选择审核通过的数据')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // }
|
|
|
- this.operateType = 'delete'
|
|
|
- this.operateTitle = '删除'
|
|
|
- this.operateVisible = true
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
]
|
|
|
]
|
|
|
: []
|