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 4dea41b8
authored
May 12, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
ab6fbc18
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
src/views/baseInfo/relevance.vue
src/views/followUp/components/addSale.vue
src/views/baseInfo/relevance.vue
View file @
4dea41b
...
@@ -221,6 +221,7 @@ export default {
...
@@ -221,6 +221,7 @@ export default {
...
this
.
curTempMerchant
,
...
this
.
curTempMerchant
,
...
this
.
tempDepart
...
this
.
tempDepart
}
}
console
.
log
(
this
.
curGLData
)
let
flag
=
false
let
flag
=
false
this
.
dataList
.
forEach
(
item
=>
{
this
.
dataList
.
forEach
(
item
=>
{
if
(
item
.
departmentId
==
this
.
curGLData
.
departmentId
||
item
.
merchantId
==
this
.
curGLData
.
merchantId
)
{
if
(
item
.
departmentId
==
this
.
curGLData
.
departmentId
||
item
.
merchantId
==
this
.
curGLData
.
merchantId
)
{
...
@@ -242,6 +243,7 @@ export default {
...
@@ -242,6 +243,7 @@ export default {
},
},
// 批量关联
// 批量关联
handleMutiGL
()
{
handleMutiGL
()
{
console
.
log
(
this
.
dataList
)
if
(
!
this
.
dataList
.
length
)
{
if
(
!
this
.
dataList
.
length
)
{
this
.
$message
({
this
.
$message
({
message
:
'请先选择您要关联的账户'
,
message
:
'请先选择您要关联的账户'
,
...
@@ -289,15 +291,15 @@ export default {
...
@@ -289,15 +291,15 @@ export default {
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
$apis
.
baseInfo
.
toGL
(
para
).
then
(
res
=>
{
//
this.$apis.baseInfo.toGL(para).then(res => {
if
(
res
)
{
//
if (res) {
this
.
$message
({
//
this.$message({
message
:
'操作成功'
,
//
message: '操作成功',
type
:
'success'
//
type: 'success'
})
//
})
this
.
$router
.
push
({
path
:
'/account/index'
})
//
this.$router.push({ path: '/account/index' })
}
//
}
})
//
})
})
})
},
},
deleteLine
(
row
)
{
deleteLine
(
row
)
{
...
...
src/views/followUp/components/addSale.vue
View file @
4dea41b
...
@@ -36,11 +36,11 @@
...
@@ -36,11 +36,11 @@
</div>
</div>
<div
class=
"sale-type-desc"
>
跟进员工类型最多新增30个,已新增
{{
empType
.
length
-
empTypeF
.
length
}}
个
</div>
<div
class=
"sale-type-desc"
>
跟进员工类型最多新增30个,已新增
{{
empType
.
length
-
empTypeF
.
length
}}
个
</div>
</el-form-item>
</el-form-item>
<
!--
<
el-form-item
label=
"负责的业务类型"
v-if=
"typeIndex != 2 && typeIndex != 4"
>
<el-form-item
label=
"负责的业务类型"
v-if=
"typeIndex != 2 && typeIndex != 4"
>
<el-checkbox-group
v-model=
"selectBusiness"
@
change=
"selectType"
>
<el-checkbox-group
v-model=
"selectBusiness"
@
change=
"selectType"
>
<el-checkbox
:disabled=
"(typeIndex == 0 && item.id != 1) || (typeIndex == 1 && item.id == 1)"
v-for=
"item in businessType"
:key=
"item"
:label=
"item.id"
>
{{
item
.
businessName
}}
</el-checkbox>
<el-checkbox
:disabled=
"(typeIndex == 0 && item.id != 1) || (typeIndex == 1 && item.id == 1)"
v-for=
"item in businessType"
:key=
"item"
:label=
"item.id"
>
{{
item
.
businessName
}}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
-->
</el-form-item>
<el-form-item
style=
"text-align: center"
>
<el-form-item
style=
"text-align: center"
>
<el-button
@
click=
"onCancel"
size=
"small"
>
取消
</el-button>
<el-button
@
click=
"onCancel"
size=
"small"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
size=
"small"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
size=
"small"
>
确定
</el-button>
...
...
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