Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-task
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 33fb1f12
authored
Oct 20, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改查商户
1 parent
a1ad4e54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/task/addTask/index.vue
src/views/task/addTask/index.vue
View file @
33fb1f1
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
<el-select
<el-select
v-model=
"basicForm.merchantId"
v-model=
"basicForm.merchantId"
filterable
filterable
remote
:filter-method=
"filterMethod"
:remote-method=
"remoteMethod
"
no-data-text=
"暂无数据
"
placeholder=
"请选择商户"
placeholder=
"请选择商户"
size=
"small"
size=
"small"
@
change=
"changeMerchant"
@
change=
"changeMerchant"
...
@@ -469,7 +469,7 @@ export default {
...
@@ -469,7 +469,7 @@ export default {
this
.
isClone
=
true
this
.
isClone
=
true
this
.
findMissionDeail
(
params
.
id
)
this
.
findMissionDeail
(
params
.
id
)
}
}
this
.
selectMerchant
()
if
(
this
.
isClone
||
this
.
isEditor
)
this
.
selectMerchant
()
})
})
},
},
methods
:
{
methods
:
{
...
@@ -507,7 +507,7 @@ export default {
...
@@ -507,7 +507,7 @@ export default {
return
return
}
}
let
params
=
{}
let
params
=
{}
params
.
sceneCode
=
'SC00
3
'
params
.
sceneCode
=
'SC00
4
'
params
.
merchantName
=
query
params
.
merchantName
=
query
taskApi
.
findMerchantByScene
(
params
).
then
((
res
)
=>
{
taskApi
.
findMerchantByScene
(
params
).
then
((
res
)
=>
{
this
.
merchantList
=
res
.
data
.
data
this
.
merchantList
=
res
.
data
.
data
...
@@ -520,7 +520,7 @@ export default {
...
@@ -520,7 +520,7 @@ export default {
this
.
merchantList
.
find
((
item
)
=>
item
.
merchantId
==
val
).
merchantName
this
.
merchantList
.
find
((
item
)
=>
item
.
merchantId
==
val
).
merchantName
},
},
// 根据商户名搜索商户
// 根据商户名搜索商户
remote
Method
(
query
)
{
filter
Method
(
query
)
{
if
(
query
!==
''
)
{
if
(
query
!==
''
)
{
this
.
selectMerchant
(
query
)
this
.
selectMerchant
(
query
)
}
}
...
...
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