Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
49078567
Commit
49078567
authored
May 27, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
875e2796
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
128 additions
and
126 deletions
+128
-126
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+128
-126
No files found.
src/components/SalesModule/MyCustomer.vue
View file @
49078567
...
@@ -574,20 +574,19 @@
...
@@ -574,20 +574,19 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"統一编号"
prop=
"UniqueCode"
>
<el-form-item
label=
"統一编号"
prop=
"UniqueCode"
>
<el-input
v-model=
"addMsg.UniqueCode"
placeholder=
"请输入統一编号"
<el-input
v-model=
"addMsg.UniqueCode"
placeholder=
"请输入統一编号"
maxlength=
"20"
></el-input>
maxlength=
"20"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"LINE ID"
prop=
"LINEID"
>
<el-form-item
label=
"LINE ID"
prop=
"LINEID"
>
<el-input
v-model=
"addMsg.LINEID"
placeholder=
"请输入LINE ID"
<el-input
v-model=
"addMsg.LINEID"
placeholder=
"请输入LINE ID"
maxlength=
"20"
></el-input>
maxlength=
"20"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"Email"
prop=
"Email"
>
<el-form-item
label=
"Email"
prop=
"Email"
>
<el-input
v-model=
"addMsg.Email"
placeholder=
"请输入Email"
style=
"width: 240px;"
></el-input>
<el-input
v-model=
"addMsg.Email"
placeholder=
"请输入Email"
style=
"width: 240px;"
></el-input>
<span
class=
"q-pl-lg text-grey-8"
style=
"cursor: pointer;margin-left: 10px;color: gray;"
@
click=
"isShow=!isShow"
>
{{
isShow
?
'收起'
:
'展开'
}}
</span>
<span
class=
"q-pl-lg text-grey-8"
style=
"cursor: pointer;margin-left: 10px;color: gray;"
@
click=
"isShow=!isShow"
>
{{
isShow
?
'收起'
:
'展开'
}}
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -722,7 +721,8 @@
...
@@ -722,7 +721,8 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"联系电话"
>
<el-form-item
label=
"联系电话"
>
<el-input
class=
'w200'
v-model=
"updateMsg.contactNumber"
@
input=
'searchHistory(updateMsg.contactNumber)'
placeholder=
"请输入联系电话"
></el-input>
<el-input
class=
'w200'
v-model=
"updateMsg.contactNumber"
@
input=
'searchHistory(updateMsg.contactNumber)'
placeholder=
"请输入联系电话"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
...
@@ -1068,11 +1068,11 @@
...
@@ -1068,11 +1068,11 @@
// this.$message.error('请输入联系电话')
// this.$message.error('请输入联系电话')
// return
// return
// }
// }
if
(
!
this
.
updateMsg
.
CustomerName
)
{
if
(
!
this
.
updateMsg
.
CustomerName
)
{
this
.
$message
.
error
(
'请输入客户名称'
)
this
.
$message
.
error
(
'请输入客户名称'
)
return
return
}
}
if
(
!
this
.
updateMsg
.
Contact
)
{
if
(
!
this
.
updateMsg
.
Contact
)
{
this
.
$message
.
error
(
'请输入联系人'
)
this
.
$message
.
error
(
'请输入联系人'
)
return
return
}
}
...
@@ -1133,7 +1133,7 @@
...
@@ -1133,7 +1133,7 @@
})
})
let
AreaName
=
sheng
+
shi
+
qu
let
AreaName
=
sheng
+
shi
+
qu
this
.
updateMsg
.
Address
=
AreaName
+
','
+
this
.
updateMsg
.
Address
this
.
updateMsg
.
Address
=
AreaName
+
','
+
this
.
updateMsg
.
Address
if
(
!
this
.
updateMsg
.
Address
)
{
if
(
!
this
.
updateMsg
.
Address
)
{
this
.
$message
.
error
(
'请输入输入详情地址'
)
this
.
$message
.
error
(
'请输入输入详情地址'
)
return
return
}
}
...
@@ -1502,23 +1502,25 @@
...
@@ -1502,23 +1502,25 @@
saveVisa
()
{
//
saveVisa
()
{
//
this
.
addMsg
.
SigningType
=
this
.
addMsg
.
SigningType
?
1
:
0
this
.
addMsg
.
SigningType
=
this
.
addMsg
.
SigningType
?
1
:
0
console
.
log
(
'save'
,
this
.
addMsg
,
this
.
updateMsg
)
console
.
log
(
'save'
,
this
.
addMsg
,
this
.
updateMsg
)
if
(
!
this
.
addMsg
.
contactNumber
)
{
if
(
!
this
.
addMsg
.
contactNumber
)
{
this
.
$message
.
error
(
'请输入联系电话'
)
this
.
$message
.
error
(
'请输入联系电话'
)
return
return
}
}
if
(
!
this
.
addMsg
.
customerName
)
{
if
(
!
this
.
addMsg
.
customerName
)
{
this
.
$message
.
error
(
'请输入客户名称'
)
this
.
$message
.
error
(
'请输入客户名称'
)
return
return
}
}
if
(
!
this
.
addMsg
.
contact
)
{
if
(
!
this
.
addMsg
.
contact
)
{
this
.
$message
.
error
(
'请输入联系人'
)
this
.
$message
.
error
(
'请输入联系人'
)
return
return
}
}
if
(
this
.
addMsg
.
SigningType
&&
!
this
.
saveMsg
.
length
)
{
if
(
this
.
addMsg
.
SigningType
&&
!
this
.
saveMsg
.
length
)
{
this
.
$message
.
error
(
'请上传签约材料'
)
this
.
$message
.
error
(
'请上传签约材料'
)
return
return
}
else
{
}
else
{
this
.
addMsg
.
SigningFile
=
this
.
saveMsg
[
0
].
Path
if
(
this
.
saveMsg
&&
this
.
saveMsg
.
length
>
0
)
{
this
.
addMsg
.
SigningFile
=
this
.
saveMsg
[
0
].
Path
;
}
}
}
// if(!this.addMsg.UniqueCode){
// if(!this.addMsg.UniqueCode){
// this.$message.error('请输入统一编码')
// this.$message.error('请输入统一编码')
...
@@ -1528,9 +1530,9 @@
...
@@ -1528,9 +1530,9 @@
// this.$message.error('请输入LINE ID')
// this.$message.error('请输入LINE ID')
// return
// return
// }
// }
if
(
this
.
updateMsg
.
Email
)
{
if
(
this
.
updateMsg
.
Email
)
{
var
reg
=
/^
[
A-Za-z0-9
\u
4e00-
\u
9fa5
]
+@
[
a-zA-Z0-9_-
]
+
(\.[
a-zA-Z0-9_-
]
+
)
+$/
;
var
reg
=
/^
[
A-Za-z0-9
\u
4e00-
\u
9fa5
]
+@
[
a-zA-Z0-9_-
]
+
(\.[
a-zA-Z0-9_-
]
+
)
+$/
;
if
(
!
reg
.
test
(
this
.
updateMsg
.
Email
))
{
if
(
!
reg
.
test
(
this
.
updateMsg
.
Email
))
{
this
.
$message
.
error
(
'请输入有效的邮箱'
)
this
.
$message
.
error
(
'请输入有效的邮箱'
)
return
return
}
}
...
@@ -1577,7 +1579,7 @@
...
@@ -1577,7 +1579,7 @@
})
})
let
AreaName
=
sheng
+
shi
+
qu
let
AreaName
=
sheng
+
shi
+
qu
this
.
addMsg
.
address
=
AreaName
+
','
+
this
.
addMsg
.
address
this
.
addMsg
.
address
=
AreaName
+
','
+
this
.
addMsg
.
address
if
(
!
this
.
addMsg
.
address
)
{
if
(
!
this
.
addMsg
.
address
)
{
this
.
$message
.
error
(
'请输入输入详情地址'
)
this
.
$message
.
error
(
'请输入输入详情地址'
)
return
return
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment