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 05713137b7..9d3013f1f7 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 @@ -68,7 +68,7 @@
开票类型默认
- + @@ -76,7 +76,7 @@
开票名称默认
- + @@ -348,14 +348,21 @@ export default { const choose = this.openTickType_list.filter((item) => item.dictValue === val) if (choose !== null && choose.length > 0) { this.formobj.openTickTypeKey = choose[0].dictKey + this.formobj.openTickName = '' + this.formobj.openTickSid = '' if (this.formobj.finBillVehicles.length > 0) { for (var i = 0; i < this.formobj.finBillVehicles.length; i++) { this.formobj.finBillVehicles[i].billTypeValue = choose[0].dictValue this.formobj.finBillVehicles[i].billTypeKey = choose[0].dictKey } } - } else { - this.formobj.openTickTypeKey = '' + if (this.formobj.finBillVehicles.length > 0) { + for (var k = 0; k < this.formobj.finBillVehicles.length; k++) { + this.formobj.finBillVehicles[k].openTickName = '' + this.formobj.finBillVehicles[k].openTickSid = '' + this.formobj.finBillVehicles[k].openTickRemarks = '' + } + } } }, changeOpenTick(val) { @@ -379,16 +386,15 @@ export default { } } } - } else { - this.formobj.openTickSid = '' } }, changeBillType(val, row) { const choose = this.openTickType_list.filter((item) => item.dictValue === val) if (choose !== null && choose.length > 0) { row.billTypeKey = choose[0].dictKey - } else { - row.billTypeKey = '' + row.openTickName = '' + row.openTickSid = '' + row.openTickRemarks = '' } }, changeOpenTickName(val, row) { @@ -407,9 +413,6 @@ export default { row.openTickSid = choose[0].sid row.openTickRemarks = choose[0].openTickRemarks } - } else { - row.openTickSid = '' - row.openTickRemarks = '' } }, handleLookByDingDan() { diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/kehuchaxun/kehuchaxun.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/kehuchaxun/kehuchaxun.vue index a32a356d18..97afd7eed9 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/kehuchaxun/kehuchaxun.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/kehuchaxun/kehuchaxun.vue @@ -174,7 +174,7 @@