|
|
@ -251,11 +251,11 @@ export default { |
|
|
|
}, |
|
|
|
toEdit() { |
|
|
|
if (this.sids.length === 1) { |
|
|
|
if (this.multipleSelection[0].bankContractNo !== '' && this.multipleSelection[0].builded === '否') { |
|
|
|
if (this.multipleSelection[0].bankContractNo !== '' && (this.multipleSelection[0].builded === '否' && this.multipleSelection[0].handleBtn)) { |
|
|
|
this.viewState = 2 |
|
|
|
this.$refs['divAdd'].showEdit(this.sids[0]) |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '该记录资方合同号为空或已生成还款计划表' }) |
|
|
|
this.$message({ showClose: true, type: 'error', message: '该记录资方合同号为空或已生成还款计划表且已存在还款记录' }) |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行操作' }) |
|
|
|