From 1249ca8ff44f8de7992fdb5866eae19613d606c3 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 16 八月 2023 19:37:49 +0800
Subject: [PATCH] 详情页联调

---
 src/views/service/clientServiceOrder/AddCientServiceOrderDialog.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/service/clientServiceOrder/AddCientServiceOrderDialog.vue b/src/views/service/clientServiceOrder/AddCientServiceOrderDialog.vue
index 5450cbc..d9d1319 100644
--- a/src/views/service/clientServiceOrder/AddCientServiceOrderDialog.vue
+++ b/src/views/service/clientServiceOrder/AddCientServiceOrderDialog.vue
@@ -677,7 +677,7 @@
       contactId: this.editCommonConfig.infomation.contactId,
       serviceContractId: this.editCommonConfig.infomation.serviceContractId,
       SalesDetailsId: this.editCommonConfig.infomation.SalesDetailsId,
-      productNameId: this.editCommonConfig.infomation.productId,
+      productName: this.editCommonConfig.infomation.productName,
       saleChanceId: this.editCommonConfig.infomation.saleChanceId
     }
   },
@@ -769,7 +769,8 @@
         SalesDetailsId: this.SalesDetailsId || 0,
         priorityLevelId: data.priorityLevelId || 0,
         problemDesc: data.problemDesc || "",
-        productId: this.productNameId,
+        productName: this.productName,
+        productTypeName: "",
         realTime: data.realTime || "",
         remark: data.remark || "",
         saleChanceId: this.saleChanceId || 0,
@@ -798,7 +799,6 @@
       } else if (value === "contract") {
         restaurants = this.salesDetailsList
       } else if (value === "productName") {
-        console.log(this.productList)
         restaurants = this.productList
       } else if (value === "contact") {
         restaurants = this.contactNamelist
@@ -827,7 +827,7 @@
       } else if (value === "contract") {
         this.SalesDetailsId = item.id
       } else if (value === "productName") {
-        this.productNameId = item.Number
+        this.productName = item.Name
       } else if (value === "contact") {
         this.contactId = item.id
       } else if (value === "chance") {
@@ -869,7 +869,7 @@
         this.SalesDetailsId = row.id
       } else if (value === "productName") {
         this.editConfig.infomation.product_name = row.Name
-        this.productNameId = row.Number
+        this.productName = row.Name
       } else if (value === "chance") {
         this.editConfig.infomation.sale_chance_name = row.name
         this.saleChanceId = row.id
@@ -888,7 +888,7 @@
         this.SalesDetailsId = 0
       } else if (value === "productName") {
         this.editConfig.infomation.product_name = ""
-        this.productNameId = 0
+        this.productName = ""
       } else if (value === "contact") {
         this.editConfig.infomation.contact_name = ""
         this.contactId = 0

--
Gitblit v1.8.0