yangfeng
2023-10-17 f0592fc7fa68eefa445eac8d878114f739c0d13d
Merge branch 'dev' of http://192.168.5.5:10010/r/web/crm-web into zhengwenfeng/modify-style
1个文件已修改
11 ■■■■ 已修改文件
src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue
@@ -819,11 +819,16 @@
    handleSelectClient(value, item) {
      if (value === "client") {
        this.clientId = item.id
        this.editConfig.infomation.client_name = item.name
        this.editConfig.infomation.contact_name = ''
        this.contactId = 0
        this.isContact = false
        this.getContactList(item.id)
      } else if (value === "contact") {
        this.editConfig.infomation.contact_name = item.name
        this.contactId = item.id
      }
      this.refresh()
    },
    selClientClick(value) {
      if (value === "client") {
@@ -836,11 +841,13 @@
      if (value === "contact") {
        this.editConfig.infomation.contact_name = row.name
        this.contactId = row.id
        this.isContact = false
        this.getContactList(row.id)
      } else if (value === "client") {
        this.editConfig.infomation.client_name = row.name
        this.clientId = row.id
        this.editConfig.infomation.contact_name = ''
        this.contactId = 0
        this.isContact = false
        this.getContactList(row.id)
      }
      this.refresh()
    },