From 92fdf2baac4cedc56e2bb59e29dc0de3e45835d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=96=B5=E5=92=AA?= <15233722133@163.com> Date: Sat, 8 Aug 2026 15:57:05 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=94=AE=E5=90=8E=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=8F=82=E6=95=B0=E4=BC=A0=E9=80=92=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/aftersale/apply.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/order/aftersale/apply.vue b/pages/order/aftersale/apply.vue index c0cdce1..d7a0acf 100644 --- a/pages/order/aftersale/apply.vue +++ b/pages/order/aftersale/apply.vue @@ -191,7 +191,8 @@ return; } // 通用字段(整单/单品都一样) - const way = formData.way === '20' ? 2 : 1; + // way:不再做前端值到后端值的映射,配置的是多少就传多少(wayList.value = '10' 仅退款 / '20' 退货退款,直接转整数传) + const way = parseInt(formData.way, 10); const applyReason = String(formData.applyReason); const applyDescription = String(formData.applyDescription || ''); // applyPicUrls:类型应该是数组或 null(用户最新要求);有值传数组,没值传 null(不传空字符串)