From a959470596a5222a1e819b0c92c0c483cf9db1b0 Mon Sep 17 00:00:00 2001 From: weiwei Date: Tue, 11 Mar 2025 11:03:42 +0800 Subject: [PATCH] ` --- src/views/wallet/mch-manage/form.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/wallet/mch-manage/form.vue b/src/views/wallet/mch-manage/form.vue index 79e6e26..ee0df57 100644 --- a/src/views/wallet/mch-manage/form.vue +++ b/src/views/wallet/mch-manage/form.vue @@ -176,7 +176,8 @@ const onSubmit = async () => { const _pa = { ...form, types: form.merchantType, - jobTime: (jobTime.morning?.join("-") || "") + "," + (jobTime.noon?.join("-") || "") + "," + (jobTime.evening?.join("-") || ""), + // jobTime: (jobTime.morning?.join("-") || "") + "," + (jobTime.noon?.join("-") || "") + "," + (jobTime.evening?.join("-") || ""), + jobTime: "", } try { loading.value = true @@ -197,13 +198,13 @@ const getmerchantInfoData = async (id: string) => { try { const res = await getObj(id) if (res.code === 0) { - const resJobTime = res.data.jobTime ? res.data.jobTime.split(",") : [] + // const resJobTime = res.data.jobTime ? res.data.jobTime.split(",") : [] Object.assign(form, res.data, { merchantType: res.data.types, }) - jobTime.morning = resJobTime[0]?.split("-") - jobTime.noon = resJobTime[1]?.split("-") - jobTime.evening = resJobTime[2]?.split("-") + // jobTime.morning = resJobTime[0]?.split("-") + // jobTime.noon = resJobTime[1]?.split("-") + // jobTime.evening = resJobTime[2]?.split("-") } } catch (error: any) { useMessage().error(error.msg)