|
|
@@ -790,7 +790,12 @@ const handleRemark = (row) => {
|
|
|
const saveRemark = () => {
|
|
|
if (!remarkForm.content) return ElMessage.warning('请输入内容')
|
|
|
// For now, update customer remark via API
|
|
|
- const data = { id: currentUser.value.id, remark: remarkForm.content }
|
|
|
+ const data = {
|
|
|
+ id: currentUser.value.id,
|
|
|
+ name: currentUser.value.name,
|
|
|
+ phone: currentUser.value.phone,
|
|
|
+ remark: remarkForm.content
|
|
|
+ }
|
|
|
updateCustomer(data).then(() => {
|
|
|
ElMessage.success('备注添加成功')
|
|
|
remarkDialogVisible.value = false
|