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
06584ee0
Commit
06584ee0
authored
Apr 15, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改卡券
parent
3e10dbbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
select-card.vue
src/components/app/card/select-card.vue
+13
-1
newCard.vue
src/views/apps/card/newCard.vue
+7
-2
No files found.
src/components/app/card/select-card.vue
View file @
06584ee0
<!--
<select-card :brandId="brandId" @closeCard="closeCard"></select-card>
<select-card :brandId="brandId" @closeCard="closeCard"
@returnId="returnId"
></select-card>
import selectCard from '@/components/app/card/select-card.vue';
-->
<
template
>
...
...
@@ -34,6 +34,10 @@
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:page-size=
"pageSize"
layout=
" prev, pager, next"
:total=
"total"
>
</el-pagination>
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer m-b-20"
>
<el-button
@
click=
"toCancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"toConfirm"
>
确认
</el-button>
</div>
</el-dialog>
</template>
<
script
>
...
...
@@ -65,6 +69,14 @@ export default {
const
that
=
this
;
that
.
$emit
(
'closeCard'
);
},
toConfirm
()
{
const
that
=
this
;
that
.
$emit
(
'returnId'
,
that
.
selectCoupCardId
);
},
toCancel
()
{
const
that
=
this
;
that
.
$emit
(
'closeCard'
);
},
/**
* 输入
*/
...
...
src/views/apps/card/newCard.vue
View file @
06584ee0
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-13 15:27:46
* @LastEditors: 无尘
* @LastEditTime: 2020-04-15 1
0:36:59
* @LastEditTime: 2020-04-15 1
1:17:17
-->
<
template
>
...
...
@@ -90,7 +90,7 @@
</el-form-item>
</el-form>
</div>
<select-card
v-if=
"cardSelectShow"
:brandId=
"brandId"
@
closeCard=
"closeCard"
></select-card>
<select-card
v-if=
"cardSelectShow"
:brandId=
"brandId"
@
closeCard=
"closeCard"
@
returnId=
"returnId"
></select-card>
</section>
</template>
<
script
>
...
...
@@ -209,6 +209,11 @@ export default {
const
that
=
this
;
that
.
cardSelectShow
=
false
;
},
returnId
(
id
)
{
const
that
=
this
;
that
.
coupCardId
=
id
;
that
.
cardSelectShow
=
false
;
},
/**
* 确认新建
*/
...
...
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