Browse Source

修改问题

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

9
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

9
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

Loading…
Cancel
Save