Browse Source

完善客户管理

master
yunuo970428 10 months ago
parent
commit
75c51b9c0c
  1. 6
      src/api/customerManagement/customerInformation.js
  2. 1
      src/views/customerManagement/customerInformation/customerInformationAdd.vue
  3. 1
      src/views/customerManagement/customerInformation/customerInformationInfo.vue

6
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'
}
})
}
}

1
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

1
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) => {

Loading…
Cancel
Save