diff --git a/src/components/Search/src/Search.vue b/src/components/Search/src/Search.vue index c60109b..084982e 100644 --- a/src/components/Search/src/Search.vue +++ b/src/components/Search/src/Search.vue @@ -59,6 +59,11 @@ const usedSchema = ref([]) const newSchema = computed(() => { let schema: FormSchema[] = cloneDeep(usedSchema.value) + schema.forEach((item: FormSchema) => { + if (item.component == 'TreeSelect') { + item.componentProps['check-strictly'] = true + } + }) if (props.expand && props.expandField && !unref(visible)) { const index = findIndex(schema, (v: FormSchema) => v.field === props.expandField) if (index > -1) { diff --git a/src/views/Clue/Order/Comp/DialogOrder.vue b/src/views/Clue/Order/Comp/DialogOrder.vue index bc8d260..2244a25 100644 --- a/src/views/Clue/Order/Comp/DialogOrder.vue +++ b/src/views/Clue/Order/Comp/DialogOrder.vue @@ -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 ) }) diff --git a/src/views/Clue/Order/Comp/MallOrderList.vue b/src/views/Clue/Order/Comp/MallOrderList.vue index 8df8280..8ffef86 100644 --- a/src/views/Clue/Order/Comp/MallOrderList.vue +++ b/src/views/Clue/Order/Comp/MallOrderList.vue @@ -67,9 +67,10 @@
- - - + + + +