Browse Source

完善金融产品政策管理

master
yunuo970428 2 years ago
parent
commit
2b8f5c1549
  1. 14
      anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagement.vue

14
anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagement.vue

@ -223,7 +223,7 @@ export default {
tableKey: 0, tableKey: 0,
list: [], list: [],
sids: [], // SIDs sids: [], // SIDs
multipleSelection:[], multipleSelection: [],
filingState_list: [ filingState_list: [
{ {
dictKey: '0', dictKey: '0',
@ -446,6 +446,12 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行删除操作' }) this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行删除操作' })
return return
} }
for (var i = 0; i < this.multipleSelection.length; i++) {
if (this.multipleSelection[i].filingStateValue !== '未报备') {
this.$message({ showClose: true, type: 'error', message: '请选择报备状态为未报备的记录进行删除操作' })
return
}
}
const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?' const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?'
this.$confirm(tip, '提示', { this.$confirm(tip, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
@ -475,6 +481,12 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行报备操作' }) this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行报备操作' })
return return
} }
for (var i = 0; i < this.multipleSelection.length; i++) {
if (this.multipleSelection[i].filingStateValue !== '未报备') {
this.$message({ showClose: true, type: 'error', message: '请选择报备状态为未报备的记录进行报备操作' })
return
}
}
this.viewState = 6 this.viewState = 6
this.$refs['divBaoBei'].showAdd(this.sids) this.$refs['divBaoBei'].showAdd(this.sids)
}, },

Loading…
Cancel
Save