From 10ad30e4ff5109af0a36ab814c695ae01062fc8a Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Thu, 23 May 2024 01:06:55 +0800 Subject: [PATCH] uu --- components/tpx-checkitems/tpx-checkitems.vue | 5 ++++- pages/print/courierNote.vue | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/tpx-checkitems/tpx-checkitems.vue b/components/tpx-checkitems/tpx-checkitems.vue index 6fe17a2..d7e0368 100644 --- a/components/tpx-checkitems/tpx-checkitems.vue +++ b/components/tpx-checkitems/tpx-checkitems.vue @@ -27,6 +27,9 @@ if(this.transKeyVal) { list = transListKeyTitle({ ...this.transKeyVal, list: list }) } + list.map(t=> { + t.val = t.val + '' + }) return list }, checkedVal() { @@ -39,7 +42,7 @@ res = val.split(",") } if (typeof val == 'number') { - res = [val] + res = [val + ''] } return res }, diff --git a/pages/print/courierNote.vue b/pages/print/courierNote.vue index 333b783..b946f5f 100644 --- a/pages/print/courierNote.vue +++ b/pages/print/courierNote.vue @@ -95,6 +95,7 @@