This commit is contained in:
qsh
2024-07-05 15:18:51 +08:00
parent e1ff8213bf
commit ab0c770167
6 changed files with 407 additions and 109 deletions

View File

@@ -108,9 +108,11 @@ const aftersaleList = ref([])
const extraPayList = ref([])
const prodTotalPrice = computed(() => {
return orderInfo.value.signProducts.reduce(
(pre, cur) => pre + (cur?.price || 0) * (cur?.signNum || 0),
0
return (
orderInfo.value.signProducts?.reduce(
(pre, cur) => pre + (cur?.price || 0) * (cur?.signNum || 0),
0
) || 0
)
})