Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
welfare
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
达摩4.0重构
welfare
Commits
c3b71ef0
Commit
c3b71ef0
authored
Mar 09, 2021
by
shaojiawen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:已过期未生效时隐藏库存记录
parent
118d5a1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
form.vue
src/views/card/card-package/form.vue
+1
-1
list.vue
src/views/card/card-package/list.vue
+2
-2
No files found.
src/views/card/card-package/form.vue
View file @
c3b71ef0
...
...
@@ -232,7 +232,7 @@ export default {
this
.
loading
=
true
;
getPackageDetail
({
couponPackageId
:
this
.
couponPackageId
}).
then
(
res
=>
{
this
.
loading
=
false
;
const
info
=
res
.
result
.
couponDetail
||
{};
const
info
=
res
.
result
.
couponDetail
||
{};
// 卡券详情的库存
this
.
info
=
info
;
const
exclude
=
[
'operAuth'
];
// 不需要赋值的字段
Object
.
keys
(
this
.
ruleForm
).
map
(
v
=>
{
...
...
src/views/card/card-package/list.vue
View file @
c3b71ef0
...
...
@@ -102,8 +102,8 @@
<el-button
v-if=
"!(scope.row.useStatus == 2 && scope.row.statusFlag == 0)"
type=
"text"
@
click=
"$router.push(`/card-package/send-list?id=$
{scope.row.couponPackageId}`)">发放记录
</el-button>
<el-popover
popper-class=
"option-dropdown"
trigger=
"hover"
>
<ul>
<li>
<el-button
@
click=
"$router.push(`/card-package/stock-list?id=$
{scope.row.couponPackageId}`)" type="text">库存记录
</el-button>
<li
v-if=
"!(scope.row.useStatus == 2 && scope.row.statusFlag == 0)"
>
<el-button
@
click=
"$router.push(`/card-package/stock-list?id=$
{scope.row.couponPackageId}`)" type="text">库存记录
</el-button>
</li>
<li
:class=
"
{ disabled: $itemPerm($itemCode.gicDeletePackage) }">
<dm-perm-button
@
click=
"delOne(scope.row)"
:disabld=
"$itemPerm($itemCode.gicDeletePackage)"
type=
"text"
>
删除
</dm-perm-button>
...
...
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