fix(mall): 订单备注表单收口 remark 默认值

- 三端订单备注弹窗只写入 id/remark 表单字段
- remark 使用空字符串兜底,避免可选商家备注传入必填提交字段
- 避免将完整订单对象写入备注表单

对齐 Vue3 管理后台 9c95bebc2
migration
YunaiV 2026-06-21 08:57:55 -07:00
parent 1ead6888e9
commit 796982e488
3 changed files with 12 additions and 3 deletions

View File

@ -63,7 +63,10 @@ const [Modal, modalApi] = useVbenModal({
modalApi.lock();
try {
// values
await formApi.setValues(data);
await formApi.setValues({
id: data.id,
remark: data.remark || '',
});
} finally {
modalApi.unlock();
}

View File

@ -63,7 +63,10 @@ const [Modal, modalApi] = useVbenModal({
modalApi.lock();
try {
// values
await formApi.setValues(data);
await formApi.setValues({
id: data.id,
remark: data.remark || '',
});
} finally {
modalApi.unlock();
}

View File

@ -63,7 +63,10 @@ const [Modal, modalApi] = useVbenModal({
modalApi.lock();
try {
// values
await formApi.setValues(data);
await formApi.setValues({
id: data.id,
remark: data.remark || '',
});
} finally {
modalApi.unlock();
}