From fb3da04f2244f66545462dcaaa63c0b5a4684976 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 28 二月 2024 15:38:22 +0800 Subject: [PATCH] 新增销售机会-产品管理-添加、上传、编辑产品数据处理 --- src/views/sales/quotation/AddQuotationDialog.vue | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/views/sales/quotation/AddQuotationDialog.vue b/src/views/sales/quotation/AddQuotationDialog.vue index 4ab4bcd..543a115 100644 --- a/src/views/sales/quotation/AddQuotationDialog.vue +++ b/src/views/sales/quotation/AddQuotationDialog.vue @@ -617,6 +617,8 @@ this.getSaleChanceList(item) } else if (value === "chance") { this.saleChanceId = item.id + this.productTableList.tableData = item.products?item.products:[] + this.tableData = item.products?item.products:[] } else { this.contactId = item.id } @@ -642,6 +644,7 @@ this.clientId = row.client.id this.saleChanceId = row.id this.productTableList.tableData = row.products?row.products:[] + this.tableData = row.products?row.products:[] } else { this.editConfig.infomation.client_name = row.name this.clientId = row.id @@ -661,6 +664,8 @@ this.editConfig.infomation.contact_name = "" this.contactId = 0 } + this.productTableList.tableData = [] + this.tableData = [] this.refresh() }, // 閿�鍞満浼氬垪琛� -- Gitblit v1.8.0