feat:售后类型参数传递问题修改

This commit is contained in:
2026-08-08 15:57:05 +08:00
parent 531033c066
commit 92fdf2baac
+2 -1
View File
@@ -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(不传空字符串)