Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ca5c4c1d
authored
Oct 19, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户跟进紧急需求
1 parent
d41185af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
src/views/customer/detail.vue
src/views/customer/editPlat.vue
src/views/customer/detail.vue
View file @
ca5c4c1
...
@@ -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
})
{
...
...
src/views/customer/editPlat.vue
View file @
ca5c4c1
...
@@ -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
({
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment