From a512ebb0e9cbe2dcd12de3afdf11568d3b2e0e3a Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期二, 22 八月 2023 15:17:09 +0800
Subject: [PATCH] bug修复
---
src/components/makepager/TableCommonView.vue | 6 ++----
src/views/client/contacts/DetailContacts.vue | 10 ++++++----
src/views/sales/contractManage/AddContractManageDialog.vue | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/components/makepager/TableCommonView.vue b/src/components/makepager/TableCommonView.vue
index 342cc71..08762f7 100644
--- a/src/components/makepager/TableCommonView.vue
+++ b/src/components/makepager/TableCommonView.vue
@@ -223,8 +223,7 @@
sumPrice += parseFloat(val.total)
})
})
- console.log((sums[index + 1] = sumPrice))
- console.log(sumPrice)
+ sums[index + 1] = sumPrice
}
if (column.property === "productAmount") {
let sumPrice = 0
@@ -234,8 +233,7 @@
sumPrice += parseFloat(val.amount)
})
})
- console.log((sums[index + 1] = sumPrice))
- console.log(sumPrice)
+ sums[index + 1] = sumPrice
}
}
})
diff --git a/src/views/client/contacts/DetailContacts.vue b/src/views/client/contacts/DetailContacts.vue
index b375e17..b50c987 100644
--- a/src/views/client/contacts/DetailContacts.vue
+++ b/src/views/client/contacts/DetailContacts.vue
@@ -10,7 +10,7 @@
<template slot="title">
<div class="header">
<span class="header-label">鑱旂郴浜哄鍚�</span>
- <span class="header-title">{{ detailConfig.infomation.contact_name }}</span>
+ <span class="header-title">{{ detailConfig.infomation.name }}</span>
</div>
</template>
<div class="content">
@@ -112,10 +112,10 @@
<FollowupRecords :isDetail="true" :add-config="addConfig" />
</div>
<div v-if="activeName === 'detail'" class="second">
- <SalesDetails :isDetail="true" />
+ <SalesDetails :isDetail="true" :add-config="addConfig" />
</div>
<div v-if="activeName === 'serviceContract'" class="second">
- <ServiceContract :isDetail="true" />
+ <ServiceContract :isDetail="true" :add-config="addConfig" />
</div>
</div>
</el-drawer>
@@ -164,7 +164,9 @@
contact_name: this.detailConfig.infomation.name,
client_status_id: this.detailConfig.infomation.Client.client_status_id,
contact_id: this.detailConfig.infomation.id,
- client_id: this.detailConfig.infomation.client_id
+ client_id: this.detailConfig.infomation.client_id,
+ keyword: this.detailConfig.infomation.name,
+ keywordType: "鑱旂郴浜哄鍚�"
}
},
mounted() {},
diff --git a/src/views/sales/contractManage/AddContractManageDialog.vue b/src/views/sales/contractManage/AddContractManageDialog.vue
index 6108b21..6333e49 100644
--- a/src/views/sales/contractManage/AddContractManageDialog.vue
+++ b/src/views/sales/contractManage/AddContractManageDialog.vue
@@ -304,7 +304,7 @@
id: this.editConfig.title === "鏂板缓" ? 0 : data.id,
client_id: this.clientId || 0,
file: "",
- member_id: data.member_id || 0,
+ member_id: data.memberId || 0,
number: data.number || "",
quotation_id: this.quotationId || 0,
status_id: data.status_id || 0
--
Gitblit v1.8.0