浏览代码

提交客户管家代码

Lijy 11 月之前
父节点
当前提交
65897a6225
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      fhKeeper/formulahousekeeper/customerBuler-crm/src/pages/customer/index.vue

+ 5 - 0
fhKeeper/formulahousekeeper/customerBuler-crm/src/pages/customer/index.vue

@@ -392,6 +392,11 @@ function editCustomer(row: any) { // row 有数据代表编辑
     customerTemplateValue.value = formVal
     allText.editCustomerText = '编辑客户'
   } else { // 没有数据代表新建
+    setTimeout(() => {
+      console.log(customerTemplateRef.value)
+      customerTemplateValue.value = {}
+      customerTemplateRefKey.value++
+    }, 200)
     allText.editCustomerText = '新增客户'
   }
   showVisible('editCustomerVisible')