Commit ca5c4c1d by 前端

客户跟进紧急需求

1 parent d41185af
...@@ -322,7 +322,7 @@ export default { ...@@ -322,7 +322,7 @@ export default {
vehicleInfo: { vehicleNo } vehicleInfo: { vehicleNo }
} = this.userInfo } = this.userInfo
this.customerId = 0 this.customerId = 0
console.log(customerPhone, !vehicleNo, '99999') // console.log(customerPhone, !vehicleNo, '99999')
if (!customerPhone && !vehicleNo && this.customerId == 0) { if (!customerPhone && !vehicleNo && this.customerId == 0) {
this.showToast('请完善客户的联系电话或车牌号,系统将自动关联更多的客户信息') this.showToast('请完善客户的联系电话或车牌号,系统将自动关联更多的客户信息')
return return
...@@ -380,7 +380,7 @@ export default { ...@@ -380,7 +380,7 @@ export default {
} }
}) })
}) })
console.log(labelArray) // console.log(labelArray)
this.labelArray = labelArray this.labelArray = labelArray
}, },
setDetail({ type, title, save_key, maxlength }) { setDetail({ type, title, save_key, maxlength }) {
......
...@@ -15,8 +15,8 @@ export default { ...@@ -15,8 +15,8 @@ export default {
methods: { methods: {
updateData(val) { updateData(val) {
let plateNum = Object.values(val).join('') let plateNum = Object.values(val).join('')
var regExp = /(^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4}[A-Z0-9挂学警港澳]{1}$)/ // var regExp = /(^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4}[A-Z0-9挂学警港澳]{1}$)/
console.log(regExp.test(plateNum), plateNum) // console.log(regExp.test(plateNum), plateNum)
if (plateNum.length < 8) { if (plateNum.length < 8) {
this.showToast('请输入正确的车牌号') this.showToast('请输入正确的车牌号')
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
userId, userId,
info: { customerPhone } info: { customerPhone }
} = this.getParams() } = this.getParams()
console.log(customerPhone, 'customerPhone', this.getParams()) // console.log(customerPhone, 'customerPhone', this.getParams())
let staffUserId = this.getLocalStorage('dj_scrm_userInfo').workUserId let staffUserId = this.getLocalStorage('dj_scrm_userInfo').workUserId
entmicroApi entmicroApi
.editplatCustomer({ .editplatCustomer({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!