Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 1be2d5a1
authored
Aug 11, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
5a973fa1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
src/views/inSale/components/addressCom.vue
src/views/inSale/purchase.vue
src/views/inSale/components/addressCom.vue
View file @
1be2d5a
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
<
script
>
<
script
>
import
glsxCombiForm
from
'@/components/glsx-combi-form'
import
glsxCombiForm
from
'@/components/glsx-combi-form'
// import { checkPhone as validPhone } from '@/utils/index'
export
default
{
export
default
{
name
:
'AddressCom'
,
name
:
'AddressCom'
,
components
:
{
glsxCombiForm
},
components
:
{
glsxCombiForm
},
...
@@ -32,7 +31,7 @@ export default {
...
@@ -32,7 +31,7 @@ export default {
},
},
data
()
{
data
()
{
let
checkPhone
=
(
rule
,
value
,
callback
)
=>
{
let
checkPhone
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
validPhone
(
value
))
{
if
(
!
this
.
validPhone
(
value
))
{
callback
(
new
Error
(
'请输入正确的手机号码'
))
callback
(
new
Error
(
'请输入正确的手机号码'
))
return
false
return
false
}
}
...
...
src/views/inSale/purchase.vue
View file @
1be2d5a
...
@@ -266,7 +266,7 @@ export default {
...
@@ -266,7 +266,7 @@ export default {
areaId
,
areaId
,
areaName
areaName
}
}
if
(
provinceName
==
=
null
)
{
if
(
provinceName
==
null
)
{
this
.
$message
.
error
(
'请先完善发货地址'
)
this
.
$message
.
error
(
'请先完善发货地址'
)
return
return
}
}
...
...
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