yangfeng
2023-08-21 46ed69e3b72658140a40127f4bae16bef9a02d56
src/views/sales/salesOpportunity/index.vue
@@ -159,7 +159,7 @@
          { label: "销售机会编号", prop: "number" }, // 销售机会编号
          { label: "联系人姓名", prop: "contact_name", min: 100, isContactClick: true }, // 联系人姓名
          { label: "销售阶段", prop: "sale_stage_name" }, // 销售阶段
          { label: "可能性(%)", prop: "possibilities" }, // 可能性
          { label: "可能性(%)", prop: "possibility_name" }, // 可能性
          { label: "预计成交日期", prop: "expected_time", min: 130 }, // 预计成交日期
          { label: "预计合同金额", prop: "projected_amount" }, // 预计合同金额
          { label: "预算绝对值", prop: "capital_budget" }, // 预算绝对值
@@ -190,7 +190,9 @@
                  ...item,
                  client_name: item.client.name,
                  contact_name: item.contact.name,
                  sale_stage_name: item.sale_stage.name
                  sale_stage_name: item.sale_stage.name,
                  member_name: item.member.username,
                  possibility_name: item.possibility.name
                }
              })
              this.tableList.tableInfomation = list || []
@@ -281,7 +283,13 @@
    selContactsClick(row) {
      console.log(row)
      this.contactsDeail.visible = true
      this.contactsDeail.infomation = { ...row.contact, sale_chance_name: row.name, sale_chance_id: row.id }
      this.contactsDeail.infomation = {
        ...row.contact,
        sale_chance_name: row.name,
        sale_chance_id: row.id,
        Client: { name: row.client.name, client_status_id: row.client.client_status_id },
        client_name: row.name
      }
    },
    // 机会名称详情
    selCommonClick(row) {