Browse Source

修改问题

master
yunuo970428 2 years ago
parent
commit
285aa89fce
  1. 4
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/relation/billingapplicationAdd.vue
  2. 4
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/relation/kaipiaoAdd.vue

4
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 = ''

4
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 = ''

Loading…
Cancel
Save