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 5b0091c0
authored
Aug 24, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of 192.168.3.233:h5/account
2 parents
4d17da83
dbb7d975
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
13 deletions
html/merchant/edit.html
html/merchant/map.html
html/merchant/validPeriodForm.html
html/merchant/edit.html
View file @
5b0091c
...
@@ -535,7 +535,7 @@
...
@@ -535,7 +535,7 @@
merchantForm
[
item
]
=
formData
[
item
]
||
''
merchantForm
[
item
]
=
formData
[
item
]
||
''
params
[
item
]
=
formData
[
item
]
||
''
params
[
item
]
=
formData
[
item
]
||
''
})
})
if
(
merchantId
)
{
if
(
merchantId
)
{
params
.
effectiveTime
=
merchantForm
.
effectiveTime
params
.
effectiveTime
=
merchantForm
.
effectiveTime
}
}
var
checkClassNameList
=
[{
var
checkClassNameList
=
[{
...
@@ -617,7 +617,10 @@
...
@@ -617,7 +617,10 @@
getMerchantApi
(
merchantId
,
function
(
respone
)
{
getMerchantApi
(
merchantId
,
function
(
respone
)
{
form
.
val
(
'merchantForm'
,
respone
.
data
)
form
.
val
(
'merchantForm'
,
respone
.
data
)
merchantForm
=
respone
.
data
merchantForm
=
respone
.
data
$
(
'#addrEl'
).
text
(
merchantForm
.
merchantAddress
)
if
(
merchantForm
.
merchantAddress
)
{
$
(
'#addrEl'
).
text
(
merchantForm
.
merchantAddress
)
}
accountTypeVisible
=
true
accountTypeVisible
=
true
var
el
=
$
(
'#accountTypeEl'
)
var
el
=
$
(
'#accountTypeEl'
)
el
.
empty
()
el
.
empty
()
...
...
html/merchant/map.html
View file @
5b0091c
...
@@ -241,7 +241,7 @@
...
@@ -241,7 +241,7 @@
function
setPosition
(
targerItem
)
{
function
setPosition
(
targerItem
)
{
marker
.
setPosition
(
targerItem
.
location
)
marker
.
setPosition
(
targerItem
.
location
)
mapData
.
merchantAddress
=
targerItem
.
name
mapData
.
merchantAddress
=
targerItem
.
address
modelVal
(
'merchantAddress'
,
mapData
.
merchantAddress
)
modelVal
(
'merchantAddress'
,
mapData
.
merchantAddress
)
setFitView
()
setFitView
()
}
}
...
...
html/merchant/validPeriodForm.html
View file @
5b0091c
...
@@ -59,17 +59,24 @@
...
@@ -59,17 +59,24 @@
getVaildPeriod
()
getVaildPeriod
()
form
.
on
(
'submit(periodSubmit)'
,
function
(
data
)
{
form
.
on
(
'submit(periodSubmit)'
,
function
(
data
)
{
var
params
=
{
if
(
data
.
field
.
effectiveTime
)
{
method
:
'cn.com.glsx.merchants.merchant.updateValPerByMerId'
,
var
params
=
{
id
:
vaildData
.
id
,
method
:
'cn.com.glsx.merchants.merchant.updateValPerByMerId'
,
effectiveTime
:
data
.
field
.
effectiveTime
id
:
vaildData
.
id
,
}
effectiveTime
:
data
.
field
.
effectiveTime
request
(
params
,
function
(
res
)
{
if
(
res
.
code
==
'0'
)
{
helper
.
store
.
set
(
'isRefresh'
,
true
)
parent
.
layer
.
close
(
currLayerIdx
)
}
}
})
request
(
params
,
function
(
res
)
{
if
(
res
.
code
==
'0'
)
{
helper
.
store
.
set
(
'isRefresh'
,
true
)
parent
.
layer
.
close
(
currLayerIdx
)
}
})
}
else
{
layer
.
msg
(
'请选择账户有效期'
,
{
icon
:
5
,
anim
:
6
})
}
return
false
return
false
})
})
...
...
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