From 9b8edb3f7e779c706c25642313b264289665ad66 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Fri, 19 May 2023 16:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../finginvoiceapply/arrearsbilling/arrearsbilling.vue | 9 ++++++--- .../billingmanagement/billingmanagement.vue | 9 ++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/arrearsbilling/arrearsbilling.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/arrearsbilling/arrearsbilling.vue index 8208cfeefb..d975b26010 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/arrearsbilling/arrearsbilling.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/arrearsbilling/arrearsbilling.vue @@ -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 { diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/billingmanagement/billingmanagement.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/billingmanagement/billingmanagement.vue index af9d78a70f..09ae6aff4c 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/billingmanagement/billingmanagement.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/billingmanagement/billingmanagement.vue @@ -446,11 +446,18 @@ export default { doHandover() { if (this.sids.length === 1) { if (this.nodeState_list[0].billingState === '已开票' && this.nodeState_list[0].transferState === '未移交') { + var nowDate = new Date() + var date = { + year: nowDate.getFullYear(), + month: nowDate.getMonth() + 1, + day: nowDate.getDate() + } + var dayDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) this.formobj = { recipient: '', recipientSid: '', showTransfer: true, - transferTime: '', + transferTime: dayDate, sid: '' } this.dialogFileVisible = true