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