diff --git a/src/views/invoicing/consumable/cons_record.vue b/src/views/invoicing/consumable/cons_record.vue index a86accf..a9f3c9e 100644 --- a/src/views/invoicing/consumable/cons_record.vue +++ b/src/views/invoicing/consumable/cons_record.vue @@ -158,7 +158,7 @@ export default { }); this.clickseetableData.loading = false; this.clickseetableData.data = res.content.map(v=>{ - const productIds=v.productId.split(',') + const productIds=v.productId?v.productId.split(','):[] return{ ...v, product:productIds.map((str,index)=>{