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 9943d735
authored
May 10, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
只选择省份回显问题
1 parent
2e11abb6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
html/merchant/edit.html
html/merchant/edit.html
View file @
9943d73
...
@@ -1089,7 +1089,6 @@
...
@@ -1089,7 +1089,6 @@
}
}
}
}
})
})
console
.
log
(
cityInfo
);
var
city
=
cityInfo
.
find
(
item
=>
item
.
name
==
cityIdx
)
var
city
=
cityInfo
.
find
(
item
=>
item
.
name
==
cityIdx
)
merchantForm
.
cityCode
=
city
.
adcode
merchantForm
.
cityCode
=
city
.
adcode
merchantForm
.
cityName
=
city
.
name
merchantForm
.
cityName
=
city
.
name
...
@@ -1495,10 +1494,12 @@
...
@@ -1495,10 +1494,12 @@
}
}
}
}
})
})
if
(
merchantForm
.
cityName
)
{
var
city
=
cityInfo
.
find
(
item
=>
item
.
name
.
indexOf
(
merchantForm
.
cityName
)
!=
-
1
)
var
city
=
cityInfo
.
find
(
item
=>
item
.
name
.
indexOf
(
merchantForm
.
cityName
)
!=
-
1
)
merchantForm
.
cityName
=
city
.
name
merchantForm
.
cityName
=
city
.
name
// merchantForm.cityCode = city.cityId
// merchantForm.cityCode = city.cityId
$
(
'#startc'
).
val
(
city
.
name
)
$
(
'#startc'
).
val
(
city
.
name
)
}
form
.
render
(
'select'
);
form
.
render
(
'select'
);
}
}
if
(
step
==
1
)
{
if
(
step
==
1
)
{
...
...
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