完善客户管理
This commit is contained in:
@@ -34,10 +34,12 @@ export default {
|
|||||||
},
|
},
|
||||||
update: function(data) {
|
update: function(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/oms/v1/crmcustomertemp/save',
|
url: '/oms/v1/crmcustomertemp/update/' + data.sid,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data,
|
data: data,
|
||||||
headers: { 'Content-Type': 'application/json' }
|
headers: {
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -316,6 +316,7 @@ export default {
|
|||||||
req.fetchBySid(sid).then((response) => {
|
req.fetchBySid(sid).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
this.temp = response.data
|
this.temp = response.data
|
||||||
|
this.temp.crmVisitAppendixDtoList = []
|
||||||
typeValues({ type: 'customerType' }).then((res) => {
|
typeValues({ type: 'customerType' }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.customerType_list = res.data
|
this.customerType_list = res.data
|
||||||
|
|||||||
@@ -220,6 +220,7 @@ export default {
|
|||||||
req.fetchBySid(sid).then((response) => {
|
req.fetchBySid(sid).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
this.temp = response.data
|
this.temp = response.data
|
||||||
|
this.temp.crmVisitAppendixDtoList = []
|
||||||
const aa = []
|
const aa = []
|
||||||
if (this.temp.customerFiles.length > 0) {
|
if (this.temp.customerFiles.length > 0) {
|
||||||
this.temp.customerFiles.forEach((e) => {
|
this.temp.customerFiles.forEach((e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user