From 75c51b9c0c50ea59a5734f9e3d9b45a1bfaa23bf Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Mon, 29 Jul 2024 14:53:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=AE=A2=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/customerManagement/customerInformation.js | 6 ++++-- .../customerInformation/customerInformationAdd.vue | 1 + .../customerInformation/customerInformationInfo.vue | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/api/customerManagement/customerInformation.js b/src/api/customerManagement/customerInformation.js index 6fd4bdb..35a65fa 100644 --- a/src/api/customerManagement/customerInformation.js +++ b/src/api/customerManagement/customerInformation.js @@ -34,10 +34,12 @@ export default { }, update: function(data) { return request({ - url: '/oms/v1/crmcustomertemp/save', + url: '/oms/v1/crmcustomertemp/update/' + data.sid, method: 'post', data: data, - headers: { 'Content-Type': 'application/json' } + headers: { + 'Content-Type': 'application/json' + } }) } } diff --git a/src/views/customerManagement/customerInformation/customerInformationAdd.vue b/src/views/customerManagement/customerInformation/customerInformationAdd.vue index c0765ce..bfb8103 100644 --- a/src/views/customerManagement/customerInformation/customerInformationAdd.vue +++ b/src/views/customerManagement/customerInformation/customerInformationAdd.vue @@ -316,6 +316,7 @@ export default { req.fetchBySid(sid).then((response) => { if (response.success) { this.temp = response.data + this.temp.crmVisitAppendixDtoList = [] typeValues({ type: 'customerType' }).then((res) => { if (res.success) { this.customerType_list = res.data diff --git a/src/views/customerManagement/customerInformation/customerInformationInfo.vue b/src/views/customerManagement/customerInformation/customerInformationInfo.vue index 801da78..6d89b40 100644 --- a/src/views/customerManagement/customerInformation/customerInformationInfo.vue +++ b/src/views/customerManagement/customerInformation/customerInformationInfo.vue @@ -220,6 +220,7 @@ export default { req.fetchBySid(sid).then((response) => { if (response.success) { this.temp = response.data + this.temp.crmVisitAppendixDtoList = [] const aa = [] if (this.temp.customerFiles.length > 0) { this.temp.customerFiles.forEach((e) => {