Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
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 f7f13e18
authored
May 27, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
关联企微bug修复
1 parent
db2e9746
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
7 deletions
src/views/baseInfo/components/search.vue
src/views/baseInfo/relevance.vue
src/views/baseInfo/components/search.vue
View file @
f7f13e1
...
...
@@ -14,7 +14,7 @@
<template
v-for=
"item in searchList"
>
<li
:key=
"item.id"
class=
"el-cascader__suggestion-item"
:class=
"item.departmentName == searchKey.departmentName"
v-if=
"!item.childrenNums"
@
click=
"selectMerchantItem(item)"
>
<div>
{{
item
.
merchantName
}}
</div>
<div
class=
"parent-merchant"
>
{{
item
.
parentMerchant
}}
</div>
<div
class=
"parent-merchant"
>
{{
item
.
parentMerchant
Name
}}
</div>
</li>
</
template
>
</template>
...
...
@@ -132,7 +132,6 @@ export default {
// supRangeMerchantNo-商户ID
params
.
parentMerchantNo
=
this
.
$globalState
.
session
.
merchantId
this
.
$apis
.
baseInfo
.
findMerchantTreeList
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
data
.
length
)
{
this
.
count
=
res
.
count
if
(
res
.
pageNum
==
1
)
{
...
...
@@ -140,7 +139,6 @@ export default {
}
else
{
this
.
searchList
=
this
.
searchList
.
concat
(
res
.
data
)
}
console
.
log
(
this
.
searchList
)
}
})
this
.
visible
=
true
...
...
@@ -166,7 +164,6 @@ export default {
},
// 选择商户账户
selectMerchant
(
val
)
{
console
.
log
(
val
)
this
.
searchKey
.
id
=
val
.
first
.
merchantNo
+
''
this
.
searchKey
.
departmentName
=
val
.
first
.
merchantName
this
.
$emit
(
'getCurMerchant'
,
val
.
first
)
...
...
src/views/baseInfo/relevance.vue
View file @
f7f13e1
...
...
@@ -116,7 +116,6 @@ export default {
},
// 获取当前选择的商户
getCurMerchant
(
val
)
{
console
.
log
(
val
)
this
.
curTempMerchant
=
{
merchantId
:
val
.
merchantNo
,
merchantName
:
val
.
merchantName
...
...
@@ -149,7 +148,6 @@ export default {
...
this
.
curTempMerchant
,
...
this
.
tempDepart
}
console
.
log
(
this
.
curGLData
)
let
flag
=
false
this
.
dataList
.
forEach
(
item
=>
{
if
(
item
.
departmentId
==
this
.
curGLData
.
departmentId
||
item
.
merchantId
==
this
.
curGLData
.
merchantId
)
{
...
...
@@ -212,7 +210,6 @@ export default {
})
let
all
=
[...
arrpara1
,
...
arrpara2
,
...
arrpara3
]
let
para
=
Object
.
assign
({},
...
all
)
console
.
log
(
para
)
this
.
$confirm
(
' 请确认是否关联当前信息?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
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