From b136c0a80500d929897a8e24f920efad47e2e307 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 01 十一月 2023 19:03:01 +0800
Subject: [PATCH] 变更公海 的接口传参修改

---
 src/views/sales/salesDetails/index.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/views/sales/salesDetails/index.vue b/src/views/sales/salesDetails/index.vue
index 1df9ab4..bc8ae32 100644
--- a/src/views/sales/salesDetails/index.vue
+++ b/src/views/sales/salesDetails/index.vue
@@ -308,9 +308,10 @@
       this.editConfig.infomation = {
         ...this.addConfig,
         currency: "浜烘皯甯�",
-        sale_chance_name:"",
-        subbill_name:"",
-        client_name: Object.keys(this.addConfig).length === 0 ? "" : this.addConfig.client_name
+        sale_chance_name: "",
+        subbill_name: "",
+        client_name: this.addConfig?.client_name ?? "",
+        quotation_number: ""
       }
     },
     // 缂栬緫
@@ -318,7 +319,13 @@
       console.log(row)
       this.editConfig.visible = true
       this.editConfig.title = "缂栬緫"
-      this.editConfig.infomation = { ...row, sale_chance_name: "", currency: "浜烘皯甯�",sale_chance_name:row.saleChance.name,}
+      this.editConfig.infomation = {
+        ...row,
+        currency: "浜烘皯甯�",
+        sale_chance_name: row.saleChance.name,
+        deliverType: row.deliverType === 0 ? "" : row.deliverType,
+        quotation_number: row.quotation.number
+      }
     },
     // 鍒犻櫎
     delClick(rowID) {
@@ -366,9 +373,8 @@
     },
     // 鑱旂郴浜鸿鎯�
     selCommonClick(row) {
-      console.log(row)
-      this.specificationDetail.visible = true
       this.specificationDetail.infomation = { ...row }
+      this.specificationDetail.visible = true
     },
     addCollectionPlanClick(row) {
       this.addCollectionConfig.visible = true

--
Gitblit v1.8.0