Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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-3
Commits
6878fa80
Commit
6878fa80
authored
Jul 26, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 活码列表bugxiugia
parent
297f56e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
act-code-table.vue
...leads/actCodeManage/staffActCode/views/act-code-table.vue
+9
-9
group-list.vue
...alesleads/actCodeManage/staffActCode/views/group-list.vue
+2
-2
No files found.
src/views/salesleads/actCodeManage/staffActCode/views/act-code-table.vue
View file @
6878fa80
...
...
@@ -17,13 +17,13 @@
<el-select
v-model=
"inFields.clerkSelect"
v-if=
"storeSelect == 2"
filterable
remote
placeholder=
"请输入成员名称/code"
:loading=
"selectLoading"
@
change=
"searchList"
style=
"margin-left: -4px; width:196px;"
clearable
>
<el-option
v-for=
"item in memberList"
:key=
"item.clerkId"
:label=
"item.clerkName"
:value=
"item.clerkId"
>
</el-option>
</el-select>
-->
<el-select
v-model=
"inFields.storeSelect"
v-if=
"storeSelect == 1"
filterable
remote
placeholder=
"请输入门店名称/code"
:remote-method=
"remoteMethods"
:loading=
"selectLoading"
@
change=
"searchList"
style=
"margin-left: -4px; width:196px;"
clearable
@
keyup
.
native=
"toInput"
v-loadmore=
"onLoadmoreStore"
popper-class=
"s-select"
@
clear=
"searchListShop"
>
<el-select
v-model=
"inFields.storeSelect"
v-if=
"storeSelect == 1"
filterable
remote
placeholder=
"请输入门店名称/code"
:remote-method=
"remoteMethods"
:loading=
"selectLoading"
@
change=
"searchList"
style=
"margin-left: -4px; width:196px;"
clearable
v-loadmore=
"onLoadmoreStore"
popper-class=
"s-select"
@
clear=
"searchListShop"
>
<el-option
v-for=
"item in shopList"
:key=
"item.storeId"
:label=
"item.storeName"
:value=
"item.storeId"
>
<p
class=
"sname"
>
{{
item
.
storeName
}}
</p>
<p
class=
"scode"
>
{{
item
.
storeCode
}}
</p>
</el-option>
</el-select>
<el-select
v-model=
"inFields.clerkSelect"
v-if=
"storeSelect == 2"
filterable
remote
placeholder=
"请输入成员名称/code"
:remote-method=
"remoteMethodShop"
:loading=
"selectLoading"
@
change=
"searchList"
style=
"margin-left: -4px; width:196px;"
clearable
@
keyup
.
native=
"toInputs"
popper-class=
"s-select"
>
<el-select
v-model=
"inFields.clerkSelect"
v-if=
"storeSelect == 2"
filterable
remote
placeholder=
"请输入成员名称/code"
:remote-method=
"remoteMethodShop"
:loading=
"selectLoading"
@
change=
"searchList"
style=
"margin-left: -4px; width:196px;"
clearable
popper-class=
"s-select"
>
<el-option
v-for=
"item in memberList"
:key=
"item.clerkId"
:label=
"item.clerkName"
:value=
"item.clerkId"
>
<p
class=
"sname"
>
{{
item
.
clerkName
}}
</p>
<p
class=
"scode"
>
{{
item
.
clerkCode
}}
</p>
...
...
@@ -169,7 +169,7 @@
<
script
>
import
{
actCodeListApi
}
from
'@/api/actCode.js'
;
import
links
from
'@/components/common/links'
;
import
{
_debounce
}
from
'@/common/js/public'
;
//
import { _debounce } from '@/common/js/public';
import
{
deleteRequest
,
getRequest
,
postRequest
,
postJsonRequest
}
from
'@/api/api'
;
export
default
{
name
:
'actCodeTable'
,
...
...
@@ -381,12 +381,12 @@ export default {
this
.
getTableList
();
},
methods
:
{
toInput
:
_debounce
(
function
(
e
,
value
)
{
this
.
getStore
();
},
500
),
toInputs
:
_debounce
(
function
(
e
,
value
)
{
this
.
getStraff
();
},
500
),
//
toInput: _debounce(function(e, value) {
//
this.getStore();
//
}, 500),
//
toInputs: _debounce(function(e, value) {
//
this.getStraff();
//
}, 500),
storeMemberSe
(
e
)
{
if
(
e
==
1
)
{
this
.
inFields
.
clerkSelect
=
''
;
...
...
src/views/salesleads/actCodeManage/staffActCode/views/group-list.vue
View file @
6878fa80
...
...
@@ -186,7 +186,7 @@ export default {
// 用来接收编辑或者新增后的返回结果
let
res
=
{
}
;
let
resSucTip
=
`${this.isEditGroup ? '修改' : '新增'
}
成功`
;
let
resErTip
=
`${this.isEditGroup ? '修改' : '新增'
}
失败`
;
//
let resErTip = `$
{
this
.
isEditGroup
?
'修改'
:
'新增'
}失败
`;
if (this.isEditGroup) {
let obj = {
groupId: this.groupListForm.groupId,
...
...
@@ -218,7 +218,7 @@ export default {
}
else {
this.$message({
type: 'error',
message
:
res
ErTip
message: res
.data.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