diff --git a/src/views/emis/emisWaybill/centerWaybillList.vue b/src/views/emis/emisWaybill/centerWaybillList.vue index efee7ff7..00201279 100644 --- a/src/views/emis/emisWaybill/centerWaybillList.vue +++ b/src/views/emis/emisWaybill/centerWaybillList.vue @@ -1225,11 +1225,11 @@ export default { if (j === 'paymentType') { return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]); } - if(j === 'waybillOther?.salesSupport'){ - return v['waybillOther']['salesSupport']; + if(j === 'waybillOther.salesSupport'){ + return v['waybillOther']?.['salesSupport'] || ''; } - if(j === 'waybillOther?.moneyCompany'){ - return v['waybillOther']['moneyCompany']; + if(j === 'waybillOther.moneyCompany'){ + return v['waybillOther']?.['moneyCompany'] || ''; } if(j=== 'blIsQuestion'){ if(v[j] == 1){ diff --git a/src/views/emis/emisWaybill/dispatchWaybillList.vue b/src/views/emis/emisWaybill/dispatchWaybillList.vue index 03ab2c59..72a520f1 100644 --- a/src/views/emis/emisWaybill/dispatchWaybillList.vue +++ b/src/views/emis/emisWaybill/dispatchWaybillList.vue @@ -1189,11 +1189,11 @@ export default { if (j === 'paymentType') { return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]); } - if(j === 'waybillOther?.salesSupport'){ - return v['waybillOther']['salesSupport']; + if(j === 'waybillOther.salesSupport'){ + return v['waybillOther']?.['salesSupport'] || ''; } - if(j === 'waybillOther?.moneyCompany'){ - return v['waybillOther']['moneyCompany']; + if(j === 'waybillOther.moneyCompany'){ + return v['waybillOther']?.['moneyCompany'] || ''; } if(j=== 'blIsQuestion'){ if(v[j] == 1){ diff --git a/src/views/emis/emisWaybill/sendWaybillList.vue b/src/views/emis/emisWaybill/sendWaybillList.vue index e7648b84..39f74dee 100644 --- a/src/views/emis/emisWaybill/sendWaybillList.vue +++ b/src/views/emis/emisWaybill/sendWaybillList.vue @@ -1268,11 +1268,11 @@ export default { if (j === 'paymentType') { return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]); } - if(j === 'waybillOther?.salesSupport'){ - return v['waybillOther']['salesSupport']; + if(j === 'waybillOther.salesSupport'){ + return v['waybillOther']?.['salesSupport'] || ''; } - if(j === 'waybillOther?.moneyCompany'){ - return v['waybillOther']['moneyCompany']; + if(j === 'waybillOther.moneyCompany'){ + return v['waybillOther']?.['moneyCompany'] || ''; } if(j=== 'blIsQuestion'){ if(v[j] == 1){ diff --git a/src/views/emis/emisWaybill/sendWaybillListNew.vue b/src/views/emis/emisWaybill/sendWaybillListNew.vue index f0c7d2bd..bb5f45f5 100644 --- a/src/views/emis/emisWaybill/sendWaybillListNew.vue +++ b/src/views/emis/emisWaybill/sendWaybillListNew.vue @@ -1218,11 +1218,11 @@ export default { if (j === 'paymentType') { return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]); } - if(j === 'waybillOther?.salesSupport'){ - return v['waybillOther']['salesSupport']; + if(j === 'waybillOther.salesSupport'){ + return v['waybillOther']?.['salesSupport'] || ''; } - if(j === 'waybillOther?.moneyCompany'){ - return v['waybillOther']['moneyCompany']; + if(j === 'waybillOther.moneyCompany'){ + return v['waybillOther']?.['moneyCompany'] || ''; } if(j=== 'blIsQuestion'){ if(v[j] == 1){