From 7b679fb415dd4e477fde8d73bed2783de81c0499 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 23 Jul 2024 15:01:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=80=97=E6=9D=90=E6=B5=81=E6=B0=B4=E4=BF=A1=E6=81=AF=E9=87=8C?= =?UTF-8?q?=E6=97=B6=E8=BF=94=E5=9B=9E=E7=9A=84=E5=95=86=E5=93=81id?= =?UTF-8?q?=E4=B8=BAnull=E6=97=B6=E6=8A=A5=E9=94=99=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E8=80=97=E6=9D=90=E8=AE=B0=E5=BD=95=E5=88=97=E8=A1=A8=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/invoicing/consumable/cons_record.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)=>{