Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
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 268ae98b
authored
Apr 16, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'huy_dev_v2.1.0' into 'v2.1.0'
Huy dev v2.1.0 See merge request
!15
2 parents
8dad9e3b
ca711bf7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
5 deletions
html/merchant/add.html
html/merchant/addSubMerchant.html
html/merchant/edit.html
html/merchant/add.html
View file @
268ae98
...
...
@@ -1047,7 +1047,6 @@
var
body
=
layer
.
getChildFrame
(
'body'
,
index
)
body
.
find
(
'#mapBtn'
).
click
()
var
res
=
helper
.
store
.
get
(
'merchantMapObj'
)
console
.
log
(
res
.
geocoderAddress
,
'======'
)
if
(
res
.
lat
&&
res
.
merchantAddress
)
{
merchantForm
.
lat
=
res
.
lat
merchantForm
.
lng
=
res
.
lng
...
...
@@ -1082,7 +1081,15 @@
text
:
'cityName'
,
data
:
cityInfo
,
link
:
'startp'
,
isFirst
:
false
// isFirst: false,
select
:
function
(
data
)
{
const
{
value
}
=
data
if
(
value
)
{
merchantForm
.
cityCode
=
city
.
cityId
merchantForm
.
cityName
=
city
.
cityName
$
(
'#addrEl'
).
val
(
''
)
}
}
})
var
city
=
cityInfo
.
find
(
item
=>
item
.
cityName
.
indexOf
(
city
)
!=
-
1
)
merchantForm
.
cityCode
=
city
.
cityId
...
...
html/merchant/addSubMerchant.html
View file @
268ae98
...
...
@@ -646,7 +646,7 @@
cityInfo
=
province
.
cityInfoList
merchantForm
.
provinceCode
=
province
.
provinceId
merchantForm
.
provinceName
=
province
.
provinceName
$
(
'#addrEl'
).
val
(
''
)
//
$('#addrEl').val('')
}
else
{
cityInfo
=
[]
merchantForm
.
provinceCode
=
''
...
...
@@ -1091,7 +1091,15 @@
text
:
'cityName'
,
data
:
cityInfo
,
link
:
'startp'
,
isFirst
:
false
// isFirst: false,
select
:
function
(
data
)
{
const
{
value
}
=
data
if
(
value
)
{
merchantForm
.
cityCode
=
city
.
cityId
merchantForm
.
cityName
=
city
.
cityName
$
(
'#addrEl'
).
val
(
''
)
}
}
})
var
city
=
cityInfo
.
find
(
item
=>
item
.
cityName
.
indexOf
(
city
)
!=
-
1
)
merchantForm
.
cityCode
=
city
.
cityId
...
...
html/merchant/edit.html
View file @
268ae98
...
...
@@ -1052,7 +1052,15 @@
text
:
'cityName'
,
data
:
cityInfo
,
link
:
'startp'
,
isFirst
:
false
// isFirst: false,
select
:
function
(
data
)
{
const
{
value
}
=
data
if
(
value
)
{
merchantForm
.
cityCode
=
city
.
cityId
merchantForm
.
cityName
=
city
.
cityName
$
(
'#addrEl'
).
val
(
''
)
}
}
})
var
city
=
cityInfo
.
find
(
item
=>
item
.
cityName
.
indexOf
(
city
)
!=
-
1
)
merchantForm
.
cityCode
=
city
.
cityId
...
...
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