Commit 601f160f by zhouzy

1

1 parent 79cfbb3a
<template>
<div class="equity-dialog">
<el-dialog :title=" type == 1 ? '添加汽车权益' : '添加商品权益'" :visible.sync="show" :show-close="true" :close-on-press-escape="false" :close-on-click-modal="false" width="712px" class="equityDialog">
<el-dialog :title="type == 1 ? '添加汽车权益' : '添加商品权益'" v-if="show" :visible.sync="show" :show-close="true" :close-on-press-escape="false" :close-on-click-modal="false" width="712px" class="equityDialog" :before-close="closeListPoup">
<div class="form">
<el-form class="equityForm" :model="form" :rules="rules" ref="ruleForm" label-position="right" label-width="auto">
<el-form-item v-if="type == 1" label="服务提供方" prop="supplier">
......@@ -141,6 +141,11 @@ export default {
}
},
methods: {
closeListPoup(done) {
this.$emit('update:show', false)
this.$emit('update:isEdit', false)
done()
},
close() {
;(this.form.appearance = ''), (this.form.equityName = '')
this.$emit('update:show', false)
......@@ -291,25 +296,25 @@ export default {
line-height: 20px;
margin-top: 8px;
}
.titleDialogText{
margin-left: 20px;
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 28px;
.titleDialogText {
margin-left: 20px;
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 28px;
}
.equityDialog .el-dialog__footer{
.equityDialog .el-dialog__footer {
padding: 10px 20px 20px;
text-align: center;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-top: 1px solid #E6E6E6;
text-align: center;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-top: 1px solid #e6e6e6;
}
.buttonBtn .el-button+.el-button {
margin-left: 40px;
.buttonBtn .el-button + .el-button {
margin-left: 40px;
}
.equityDialog .el-dialog__header{
.equityDialog .el-dialog__header {
padding: 20px 20px 20px;
border-bottom: 1px solid #d8d8d8;
font-size: 20px;
......
......@@ -949,7 +949,7 @@ flex-wrap: nowrap;
line-height: 20px;
}
.detailFont , .el-form-item__content {
line-height: 40px !important;
line-height: 36px !important;
margin-bottom: 0px;
}
.batchDetailBox .el-dialog__footer {
......
......@@ -46,8 +46,8 @@
</div>
</el-form>
<div slot="footer">
<el-button size="small" @click="handleClose">取消</el-button>
<el-button type="primary" @click="handleConfirm" size="small">确定</el-button>
<el-button size="small" @click="handleClose">取消</el-button>
<el-button type="primary" @click="handleConfirm" size="small">确定</el-button>
</div>
</el-dialog>
<!-- 新建权益卡弹窗 -->
......@@ -193,7 +193,7 @@ export default {
id: 'firstImg',
imgSrc: require('./images/card0.png'),
src: './images/card0.png'
}
},
],
rules: {
cardClassName: [
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!