|
|
@ -450,11 +450,15 @@ export default { |
|
|
|
}, |
|
|
|
toSettle() { |
|
|
|
if (this.sids.length === 1) { |
|
|
|
if (this.multipleSelection[0].nodeState === '已办结') { |
|
|
|
this.viewState = 5 |
|
|
|
this.$refs['divSettle'].showInit(this.sids[0]) |
|
|
|
if (this.multipleSelection[0].riskStateValue === '正常') { |
|
|
|
if (this.multipleSelection[0].nodeState === '已办结') { |
|
|
|
this.viewState = 5 |
|
|
|
this.$refs['divSettle'].showInit(this.sids[0]) |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择流程状态为已办结的记录进行操作' }) |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择状态为已办结的记录进行操作' }) |
|
|
|
this.$message({ showClose: true, type: 'error', message: '当前车辆处于' + this.multipleSelection[0].riskStateValue + '状态,只有正常状态的才能发起结清申请!' }) |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行操作' }) |
|
|
|