2 Commits da61d333bd ... 251a4e992a

Author SHA1 Message Date
  steelwei 251a4e992a Merge branch 'master' of http://8.152.4.3:3000/yp_other/pet-system-admin-web 1 month ago
  steelwei d4f2f7e685 1.修复添加备注参数上传导致的报错 1 month ago
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/views/archieves/customer/index.vue

+ 6 - 1
src/views/archieves/customer/index.vue

@@ -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