Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
3a8a8842
Commit
3a8a8842
authored
Nov 30, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改绑定导购
parent
993ba36c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
add-relate.vue
src/components/company/add-relate.vue
+10
-3
No files found.
src/components/company/add-relate.vue
View file @
3a8a8842
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘
* @LastEditTime: 2020-11-30 17:
15:23
* @LastEditTime: 2020-11-30 17:
27:02
* @FilePath : \haoban-4\src\components\company\add-relate.vue
-->
<!--
...
...
@@ -84,7 +84,8 @@ export default {
selectId
:
''
,
departVisible
:
true
,
loading
:
false
,
visible
:
false
visible
:
false
,
backKey
:
0
};
},
methods
:
{
...
...
@@ -177,11 +178,14 @@ export default {
const
that
=
this
;
if
(
that
.
searchSelect
.
trim
()
==
''
)
{
that
.
storeData
=
[];
if
(
e
.
keyCode
==
8
)
{
e
.
keyCode
==
8
?
that
.
backKey
++
:
0
;
if
(
e
.
keyCode
==
8
&&
that
.
backKey
>
1
)
{
that
.
selectId
=
''
;
that
.
partForm
.
salerName
=
''
;
}
return
false
;
}
else
{
that
.
backKey
=
0
;
}
that
.
getData
();
},
200
),
...
...
@@ -200,12 +204,14 @@ export default {
*/
handleClose
(
done
)
{
const
that
=
this
;
that
.
backKey
=
0
;
that
.
$refs
[
'partForm'
].
resetFields
();
that
.
$emit
(
'refreshData'
,
'close'
);
done
();
},
cancel
()
{
const
that
=
this
;
that
.
backKey
=
0
;
that
.
$refs
[
'partForm'
].
resetFields
();
that
.
$emit
(
'refreshData'
,
'close'
);
},
...
...
@@ -237,6 +243,7 @@ export default {
that
.
loading
=
false
;
if
(
res
.
code
==
'0000'
)
{
showMsg
.
showmsg
(
'添加成功'
,
'success'
);
that
.
backKey
=
0
;
that
.
$emit
(
'refreshData'
,
that
.
partForm
);
}
else
{
that
.
$message
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment