From 08ada50d1a76cc146a0b2a23baeec0d50f844b2d Mon Sep 17 00:00:00 2001 From: qsh <> Date: Fri, 5 Jul 2024 15:29:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Clue/Order/Comp/MallOrderList.vue | 18 +++++++++--------- src/views/Clue/Order/Comp/OrderList.vue | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/views/Clue/Order/Comp/MallOrderList.vue b/src/views/Clue/Order/Comp/MallOrderList.vue index 4846595..8ffef86 100644 --- a/src/views/Clue/Order/Comp/MallOrderList.vue +++ b/src/views/Clue/Order/Comp/MallOrderList.vue @@ -206,6 +206,15 @@ import DialogDelivery from './DialogDelivery.vue' import { removeNullField } from '@/utils' +const userOptions = ref([]) +onMounted(() => { + getUserOption().then((data) => { + userOptions.value = data + getCurdSchemas() + }) + getOptions() +}) + const message = useMessage() // 消息弹窗 const allSchemas = ref({}) @@ -338,15 +347,6 @@ const deliveryDialog = ref() function handleDelivery(row) { deliveryDialog.value.open(row) } - -const userOptions = ref([]) -onMounted(() => { - getUserOption().then((data) => { - userOptions.value = data - getCurdSchemas() - }) - getOptions() -}) diff --git a/src/views/Clue/Order/Comp/OrderList.vue b/src/views/Clue/Order/Comp/OrderList.vue index 5439d22..f9c89c0 100644 --- a/src/views/Clue/Order/Comp/OrderList.vue +++ b/src/views/Clue/Order/Comp/OrderList.vue @@ -182,6 +182,15 @@ import DialogExtraFee from './DialogExtraPay.vue' import { removeNullField } from '@/utils' +const userOptions = ref([]) +onMounted(() => { + getUserOption().then((data) => { + userOptions.value = data + getCurdSchemas() + }) + getOptions() +}) + const message = useMessage() // 消息弹窗 const allSchemas = ref({}) @@ -327,15 +336,6 @@ function getOptions() { allPlaceOptions.value = data.placeList }) } - -const userOptions = ref([]) -onMounted(() => { - getUserOption().then((data) => { - userOptions.value = data - getCurdSchemas() - }) - getOptions() -})