zuozhengqing
2023-10-18 0ec635d5e432be07c3103ac2e9bd25edb941f775
跟进记录,销售明细单,退货单客户关联修改
3个文件已修改
28 ■■■■■ 已修改文件
src/views/client/followupRecords/AddFollowupRecordsDialog.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesDetails/AddSalesDetailsDialog.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesReturn/AddSalesReturnDialog.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/followupRecords/AddFollowupRecordsDialog.vue
@@ -632,7 +632,9 @@
    },
    async handleSelectClient(value, item) {
      if (value === "client") {
        console.log(item, "item")
        this.editConfig.infomation.contact_name = ""
        this.editConfig.infomation.sales_leads_name=""
        this.editConfig.infomation.sale_chance_name=""
        this.editSelectContactConfig.search_map.client_id = item.id
        this.editSelectChanceConfig.search_map.client_id = item.id
        this.editSelectLeadConfig.search_map.name = item.name
@@ -669,9 +671,9 @@
        this.editConfig.infomation.contact_name = row.name
        this.contactId = row.id
      } else if (value === "client") {
        // this.editConfig.infomation.client_name = row.name;
        // this.clientId = row.id;
        // this.isChance = false;
        this.editConfig.infomation.contact_name = ""
        this.editConfig.infomation.sales_leads_name=""
        this.editConfig.infomation.sale_chance_name=""
        this.editSelectContactConfig.search_map.client_id = row.id
        this.editSelectChanceConfig.search_map.client_id = row.id
        this.editSelectLeadConfig.search_map.name = row.name
@@ -692,6 +694,9 @@
    // 清除已选择用户
    clearupClient(value) {
      if (value === "client") {
        this.editConfig.infomation.contact_name = ""
        this.editConfig.infomation.sales_leads_name=""
        this.editConfig.infomation.sale_chance_name=""
        this.editConfig.infomation.client_name = ""
        this.clientId = 0
        this.isChance = true
src/views/sales/salesDetails/AddSalesDetailsDialog.vue
@@ -701,13 +701,15 @@
    },
    handleSelectClient(value, item) {
      if (value === "client") {
        this.editConfig.infomation.subbill_name =""
        this.editConfig.infomation.sale_chance_name=""
        this.clientId = item.id
        this.editConfig.infomation.client_name = item.name
        this.getSaleChanceList(item)
        this.getSubOrderList(item)
      } else if (value === "chance") {
        this.saleChanceId = item.id
        this.editConfig.infomation.client_name = item.name
        this.editConfig.infomation.sale_chance_name = item.name
      } else if (value === "subbill") {
        console.log("下拉框点击", item)
        this.subbillId = item.id
@@ -728,6 +730,8 @@
    },
    selClient(row, value) {
      if (value === "client") {
        this.editConfig.infomation.sale_chance_name=""
        this.editConfig.infomation.subbill_name=""
        this.editConfig.infomation.client_name = row.name
        this.clientId = row.id
        this.getSaleChanceList(row)
@@ -743,7 +747,9 @@
    // 清除已选择用户
    clearupClient(value) {
      if (value === "client") {
        this.editConfig.infomation.sale_chance_name=""
        this.editConfig.infomation.client_name = ""
        this.editConfig.infomation.subbill_name =""
        this.clientId = 0
      } else if (value === "chance") {
        this.editConfig.infomation.sale_chance_name = ""
src/views/sales/salesReturn/AddSalesReturnDialog.vue
@@ -460,6 +460,7 @@
    },
    async handleSelectClient(value, item) {
      if (value === "client") {
        this.editConfig.infomation.salesDetailNumber = ""
        this.clientId = item.id
        this.editSelCommonConfig.clientId = item.id
        await getSalesDetailsList({
@@ -486,6 +487,7 @@
    async selClient(row, value) {
      console.log(row, value)
      if (value === "client") {
        this.editConfig.infomation.salesDetailNumber = ""
        this.editConfig.infomation.client_name = row.name
        this.clientId = row.id
        this.editSelCommonConfig.clientId = row.id
@@ -504,14 +506,11 @@
    // 清除已选择用户
    clearupClient(value) {
      if (value === "client") {
        // this.editConfig.infomation = {}
        this.editConfig.infomation.salesDetailNumber = ""
        this.editConfig.infomation.client_name = ""
        this.clientId = 0
      } else if (value === "contract") {
        this.editConfig.infomation.salesDetailNumber = ""
        // this.productTableList.tableData = []
        // this.tableData = []
        // this.SalesDetailsId = 0
      }
    },
    // 添加附件