From 285aa89fce0ea53c8f92ca0ab6d3bc2e9d10940b Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 19 Oct 2023 16:43:43 +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 --- .../chukuguanli/chukubanli/relation/billingapplicationAdd.vue | 4 ++-- .../chukuguanliFlow/chukuguanli/relation/kaipiaoAdd.vue | 4 ++-- 2 files changed, 4 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 9d3013f1f7..13edded352 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 @@ -372,7 +372,7 @@ 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 && this.formobj.openTickTypeValue === '增值税专用发票') { + if ((choose[0].openTickTypeValue !== this.formobj.openTickTypeValue || !choose[0].companyIs) && this.formobj.openTickTypeValue === '增值税专用发票') { this.$message({ showClose: true, type: 'error', message: '因开票信息与所选开票类型不符,请维护开票信息' }) this.formobj.openTickName = '' this.formobj.openTickSid = '' @@ -404,7 +404,7 @@ export default { } const choose = this.openTick_list.filter((item) => item.name === val) if (choose !== null && choose.length > 0) { - if (choose[0].openTickTypeValue !== row.billTypeValue && row.billTypeValue === '增值税专用发票') { + if ((choose[0].openTickTypeValue !== row.billTypeValue || !choose[0].companyIs) && row.billTypeValue === '增值税专用发票') { this.$message({ showClose: true, type: 'error', message: '因开票信息与所选开票类型不符,请维护开票信息' }) row.openTickName = '' row.openTickSid = '' 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 965cb79e17..a4f842bfde 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 @@ -372,7 +372,7 @@ 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 && this.formobj.openTickTypeValue === '增值税专用发票') { + if ((choose[0].openTickTypeValue !== this.formobj.openTickTypeValue || !choose[0].companyIs) && this.formobj.openTickTypeValue === '增值税专用发票') { this.$message({ showClose: true, type: 'error', message: '因开票信息与所选开票类型不符,请维护开票信息' }) this.formobj.openTickName = '' this.formobj.openTickSid = '' @@ -404,7 +404,7 @@ export default { } const choose = this.openTick_list.filter((item) => item.name === val) if (choose !== null && choose.length > 0) { - if (choose[0].openTickTypeValue !== row.billTypeValue && row.billTypeValue === '增值税专用发票') { + if ((choose[0].openTickTypeValue !== row.billTypeValue || !choose[0].companyIs) && row.billTypeValue === '增值税专用发票') { this.$message({ showClose: true, type: 'error', message: '因开票信息与所选开票类型不符,请维护开票信息' }) row.openTickName = '' row.openTickSid = ''