Commit 7a68cfd6 by huaying

fix: 核销弹框ui

parent 7355f662
......@@ -3971,7 +3971,7 @@
color: #606266;
font-size: 14px; }
.el-dialog__footer {
/* border-top:1px solid #DCDFE6; */
border-top:1px solid #DCDFE6;
padding: 10px 20px;
/* padding-top: 10px; */
text-align: right;
<template>
<el-dialog title="新增门店" :visible.sync="show" width="600px" :before-close="handleClose" @opened="onOpen">
<el-dialog title="新增门店" :visible.sync="show" width="600px" :before-close="handleClose" @opened="onOpen" custom-class="dialogPublicClass">
<el-form :model="form" ref="form">
<el-form-item label="门店范围:">
<dm-store-selector ref="se" storeTypeDisabled :options="[5]" @saving="saving" :uuid.sync="uuid"></dm-store-selector>
......@@ -7,7 +7,7 @@
</el-form>
<span slot="footer">
<el-button @click="handleClose" :loading="loadings">取 消</el-button>
<el-button type="primary" @click="submit" :loading="loadings">保存</el-button>
<el-button type="primary" @click="submit" :loading="loadings">确定</el-button>
</span>
</el-dialog>
</template>
......@@ -78,6 +78,20 @@ export default {
}
};
</script>
<style lang="scss">
.dialogPublicClass {
.el-dialog__footer {
border-top: none !important;
padding: 0px 24px 20px 0;
}
.el-dialog__body {
padding-bottom: 0 !important;
}
.el-form-item {
margin-bottom: 20px;
}
}
</style>
<style lang="scss" scoped>
.el-dialog__footer {
border-top: none;
......
<template>
<el-dialog :title="row.writeOffStoreStaffId ? '编辑员工' : '新增员工'" :visible.sync="show" width="600px" :before-close="handleClose">
<el-form :model="form" ref="form" :rules="rules" label-width="100px">
<el-dialog :title="row.writeOffStoreStaffId ? '编辑员工' : '新增员工'" :visible.sync="show" width="600px" :before-close="handleClose" custom-class="dialogPublicClass">
<el-form :model="form" ref="form" :rules="rules" label-width="125px">
<el-form-item label="员工姓名:" prop="writeOffName">
<el-input class="w304" v-model.trim="form.writeOffName" placeholder="请输入内容" maxlength="10" show-word-limit></el-input>
</el-form-item>
......@@ -12,7 +12,7 @@
</el-form>
<span slot="footer">
<el-button @click="handleClose" :loading="loadings">取 消</el-button>
<el-button type="primary" @click="submit" :loading="loadings">保存</el-button>
<el-button type="primary" @click="submit" :loading="loadings">确定</el-button>
</span>
</el-dialog>
</template>
......@@ -128,6 +128,20 @@ export default {
}
};
</script>
<style lang="scss">
.dialogPublicClass {
.el-dialog__footer {
border-top: none !important;
padding: 0px 24px 20px 0;
}
.el-dialog__body {
padding-bottom: 0 !important;
}
.el-form-item {
margin-bottom: 20px;
}
}
</style>
<style lang="scss" scoped>
.w304 {
width: 304px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment