|
|
@ -389,7 +389,10 @@ export default { |
|
|
|
const bb = [] |
|
|
|
row.forEach(element => { |
|
|
|
aa.push(element.sid) |
|
|
|
bb.push(element.nodeState) |
|
|
|
bb.push({ |
|
|
|
nodeState: element.nodeState, |
|
|
|
isLQOrigInvoice: element.isLQOrigInvoice |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.sids = aa |
|
|
|
this.nodeState_list = bb |
|
|
@ -474,11 +477,11 @@ export default { |
|
|
|
}, |
|
|
|
toArrear() { |
|
|
|
if (this.sids.length === 1) { |
|
|
|
if (this.nodeState_list[0] === '已办结') { |
|
|
|
if (this.nodeState_list[0].nodeState === '已办结' && this.nodeState_list[0].isLQOrigInvoice === '是') { |
|
|
|
this.viewState = 5 |
|
|
|
this.$refs['divArrearScollection'].showAdd(this.sids[0]) |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择状态为已办结的进行欠款领票操作' }) |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择状态为已办结且是否领取发票原件为否的进行欠款领票操作' }) |
|
|
|
return |
|
|
|
} |
|
|
|
} else { |
|
|
|