Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 cf910902
authored
Feb 20, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
员工恢复
1 parent
98690088
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
src/views/giftBag/editGift.vue
src/views/giftBag/giftList.vue
src/views/giftBag/selectStaffDialog.vue
src/views/giftBag/editGift.vue
View file @
cf91090
...
@@ -278,7 +278,7 @@ export default {
...
@@ -278,7 +278,7 @@ export default {
this
.
editForm
.
receiveWay
=
this
.
editForm
.
receiveWay
+
''
this
.
editForm
.
receiveWay
=
this
.
editForm
.
receiveWay
+
''
this
.
recoveryCoupon
()
this
.
recoveryCoupon
()
this
.
recoveryTotalPrice
()
this
.
recoveryTotalPrice
()
this
.
hasStaffBlock
()
this
.
hasStaffBlock
(
false
)
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
editStatus
=
false
this
.
editStatus
=
false
})
})
...
@@ -355,10 +355,10 @@ export default {
...
@@ -355,10 +355,10 @@ export default {
this
.
key
=
new
Date
()
this
.
key
=
new
Date
()
},
},
hasStaffBlock
()
{
hasStaffBlock
(
isValidate
=
true
)
{
var
idx
=
this
.
editFormData
.
findIndex
(
item
=>
item
.
name
==
'staffListBlock'
)
var
idx
=
this
.
editFormData
.
findIndex
(
item
=>
item
.
name
==
'staffListBlock'
)
this
.
editFormData
[
idx
].
isHide
=
!
this
.
editForm
.
staffList
.
length
this
.
editFormData
[
idx
].
isHide
=
!
this
.
editForm
.
staffList
.
length
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validateField
(
'staffList'
)
isValidate
&&
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validateField
(
'staffList'
)
},
},
handleSelectStaff
()
{
handleSelectStaff
()
{
...
...
src/views/giftBag/giftList.vue
View file @
cf91090
...
@@ -136,7 +136,10 @@ export default {
...
@@ -136,7 +136,10 @@ export default {
},
},
{
{
label
:
'赠送原因'
,
label
:
'赠送原因'
,
prop
:
'giveReason'
prop
:
'giveReason'
,
formatter
:
cellValue
=>
{
return
cellValue
.
giveReason
||
'-'
}
},
},
{
{
label
:
'创建时间'
,
label
:
'创建时间'
,
...
...
src/views/giftBag/selectStaffDialog.vue
View file @
cf91090
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
recoverySelected
()
{
recoverySelected
()
{
if
(
this
.
selectedStaffList
&&
this
.
selectedStaffList
.
length
)
{
if
(
this
.
selectedStaffList
&&
this
.
selectedStaffList
.
length
)
{
this
.
selectedStaffList
.
forEach
(
row
=>
{
this
.
selectedStaffList
.
forEach
(
row
=>
{
row
.
userOneId
=
row
.
staff
Id
row
.
userOneId
=
row
.
staff
UUID
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
toggleRowSelection
(
row
)
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
toggleRowSelection
(
row
)
})
})
}
}
...
...
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