From 2ae9178704e08f4f081a7d80280cb8b5edf9f489 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 19 Oct 2023 11:30:53 +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 --- .../chukubanli/relation/billingapplicationAdd.vue | 9 +++++++-- .../chukuguanliFlow/chukuguanli/relation/kaipiaoAdd.vue | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/relation/billingapplicationAdd.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/relation/billingapplicationAdd.vue index c9473a8cc0..05713137b7 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/relation/billingapplicationAdd.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/relation/billingapplicationAdd.vue @@ -365,8 +365,10 @@ export default { } const choose = this.openTick_list.filter((item) => item.name === val) if (choose !== null && choose.length > 0) { - if (choose[0].openTickTypeValue !== this.formobj.openTickTypeValue) { + if (choose[0].openTickTypeValue !== this.formobj.openTickTypeValue && this.formobj.openTickTypeValue === '增值税专用发票') { this.$message({ showClose: true, type: 'error', message: '因开票信息与所选开票类型不符,请维护开票信息' }) + this.formobj.openTickName = '' + this.formobj.openTickSid = '' } else { this.formobj.openTickSid = choose[0].sid if (this.formobj.finBillVehicles.length > 0) { @@ -396,8 +398,11 @@ export default { } const choose = this.openTick_list.filter((item) => item.name === val) if (choose !== null && choose.length > 0) { - if (choose[0].openTickTypeValue !== row.billTypeValue) { + if (choose[0].openTickTypeValue !== row.billTypeValue && row.billTypeValue === '增值税专用发票') { this.$message({ showClose: true, type: 'error', message: '因开票信息与所选开票类型不符,请维护开票信息' }) + row.openTickName = '' + row.openTickSid = '' + row.openTickRemarks = '' } else { row.openTickSid = choose[0].sid row.openTickRemarks = choose[0].openTickRemarks diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/relation/kaipiaoAdd.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/relation/kaipiaoAdd.vue index a5b800683c..ab281a7c26 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/relation/kaipiaoAdd.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/relation/kaipiaoAdd.vue @@ -365,8 +365,10 @@ export default { } const choose = this.openTick_list.filter((item) => item.name === val) if (choose !== null && choose.length > 0) { - if (choose[0].openTickTypeValue !== this.formobj.openTickTypeValue) { + if (choose[0].openTickTypeValue !== this.formobj.openTickTypeValue && this.formobj.openTickTypeValue === '增值税专用发票') { this.$message({ showClose: true, type: 'error', message: '因开票信息与所选开票类型不符,请维护开票信息' }) + this.formobj.openTickName = '' + this.formobj.openTickSid = '' } else { this.formobj.openTickSid = choose[0].sid if (this.formobj.finBillVehicles.length > 0) { @@ -396,8 +398,11 @@ export default { } const choose = this.openTick_list.filter((item) => item.name === val) if (choose !== null && choose.length > 0) { - if (choose[0].openTickTypeValue !== row.billTypeValue) { + if (choose[0].openTickTypeValue !== row.billTypeValue && row.billTypeValue === '增值税专用发票') { this.$message({ showClose: true, type: 'error', message: '因开票信息与所选开票类型不符,请维护开票信息' }) + row.openTickName = '' + row.openTickSid = '' + row.openTickRemarks = '' } else { row.openTickSid = choose[0].sid row.openTickRemarks = choose[0].openTickRemarks