Commit 82ac366a by 张权

广汇样式更改

1 parent 8b7040bf
<!-- 权益订单列表 -->
<template>
<div class="before-sale">
<div class="flex m-b-20">
<el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit(1)">新增权益</el-button>
<div class="table-top-tips"><span class="el-icon-warning"></span>请注意:订单列表还有{{countNoData}}单未上传客户凭证等资料,若发生事故无法获得补偿,请尽快在列表操作-上传资料中完善。</div>
<div>
<el-button fn="新增权益" :size="size" type="primary" class="el-icon-plus" @click="handleEdit(1)">新增权益</el-button>
<div class="top-tips"><span class="el-icon-warning"></span>请注意:订单列表还有{{countNoData}}单未上传客户凭证等资料,若发生事故无法获得补偿,请尽快在列表操作-上传资料中完善。</div>
</div>
<div class="container">
<div>
<glsx-combi-form ref="showSearch" labelWidth="110px" defaultWidth="210px" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData">
<div class="number">
<glsx-combi-form ref="showSearch" labelWidth="100px" defaultWidth="210px" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
......@@ -17,15 +17,19 @@
</div>
<!-- 表格区域 开始 -->
<GLTable ref="equityRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div class="table-btns" slot="table-btns" slot-scope="scope">
<el-button v-if="[2, 4, 5].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(5, scope.scope)">查看</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" style="position: relative;" type="text" @click="handleUpload(scope.scope)">上传资料<span v-show="scope.scope.dataPerfection == 0" class="circule-tips"></span></el-button>
<el-button v-if="[0].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(2, scope.scope)">编辑</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(3, scope.scope)">修改</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button>
<el-button v-if="[3, 4, 5].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(4, scope.scope)">重新提单</el-button>
<div class="btn-item">
<el-button v-if="[2, 4, 5].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(5, scope.scope)">查看</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" style="position: relative;" type="text" @click="handleUpload(scope.scope)">上传资料<span v-show="scope.scope.dataPerfection == 0" class="circule-tips"></span></el-button>
</div>
<div class="btn-item">
<el-button v-if="[0].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(2, scope.scope)">编辑</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(3, scope.scope)">修改</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button>
<el-button v-if="[3, 4, 5].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(4, scope.scope)">重新提单</el-button>
</div>
</div>
</GLTable>
<!-- 表格区域 end -->
......@@ -448,12 +452,13 @@ export default {
{
label: '操作',
prop: '',
width: '250px',
width: '220px',
fixed: 'right',
addHtml: 'table-btns'
}
]
},
sizeList: [5, 10, 20, 30, 40],
pageConf: { pageSize: 'pageCount', pageNum: 'pageSize', totalCount: 'total' },
// 公共数据
baseData: {
......@@ -820,10 +825,31 @@ export default {
}
</script>
<style>
<style lang="scss">
.before-sale .flex {
display: flex;
}
.number{
.el-form-item:first-child{
.input-with-select{
width: 286px!important;
margin-left: 24px;
}
.el-select--small{
width: 120px!important;
}
}
.footer-btns{
float: none!important;
display: flex;
justify-content: flex-end;
margin-bottom: 20px;
}
}
.before-sale{
padding-top: 17px;
}
.before-sale .container {
padding: 0px 20px 20px 40px;
......@@ -832,26 +858,26 @@ export default {
padding: 20px;
}
.before-sale .m-b-20 {
margin-bottom: 20px;
}
.before-sale .table-top-tips {
.before-sale .top-tips {
box-sizing: border-box;
margin-left: 10px;
margin: 10px 0;
width: 100%;
height: 32px;
line-height: 30px;
font-size: 12px;
background-color: #FFF0BB;
border: 1px solid #FFCA78;
height: 40px;
display: flex;
align-items: center;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(0, 0, 0, 0.65);
background-color: #E6E9FF;
border: 1px solid #5850FF;
padding: 0 10px;
border-radius: 2px;
border-radius: 4px;
}
.before-sale .table-top-tips .el-icon-warning {
font-size: 12px;
color: #f77315;
.before-sale .top-tips .el-icon-warning {
font-size: 16px;
color: #5850FF;
margin-right: 8px;
}
......@@ -877,16 +903,22 @@ export default {
line-height: 16px;
}
.before-sale .table-btns .el-button {
padding: 0 0 0 5px;
margin-left: 5px;
border-left: 1px solid #dcdfe6;
border-radius: 0;
}
.before-sale .table-btns .el-button:first-child {
padding: 0;
border: 0;
.before-sale {
.btn-item{
display: flex;
justify-content: flex-start;
padding: 0 10px;
.el-button {
margin-right: 0;
margin-left: 28px;
&:first-child{
margin-left: 0;
}
}
&:first-child{
margin-bottom: 10px;
}
}
}
.tips-dialog .el-icon-success {
margin-right: 10px;
......
......@@ -2,8 +2,8 @@
<template>
<div class="before-sale">
<div class="container">
<div>
<glsx-combi-form ref="showSearch" labelWidth="110px" defaultWidth="210px" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData">
<div class="number">
<glsx-combi-form ref="showSearch" labelWidth="100px" defaultWidth="210px" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
......@@ -17,6 +17,7 @@
<div class="table-btns" slot="table-btns" slot-scope="scope">
<!-- <el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleAudit(scope.scope)">{{scope.scope.auditStatus ? '撤销' : '财务已收款'}}</el-button> -->
<el-button v-if="[2].includes(scope.scope.orderStatus) && !scope.scope.auditStatus" type="text" @click="handleAudit(scope.scope)">财务已收款</el-button>
<el-button v-else type="text">-</el-button>
</div>
</GLTable>
<!-- 表格区域 end -->
......@@ -647,7 +648,7 @@ export default {
}
</script>
<style>
<style lang="scss">
.before-sale .container {
padding: 0px 20px 20px 40px;
background: #ffffff;
......@@ -735,4 +736,23 @@ export default {
.tips-dialog .el-dialog__body {
padding: 10px 15px 20px !important;
}
.number{
.el-form-item:first-child{
.input-with-select{
width: 286px!important;
margin-left: 24px;
}
.el-select--small{
width: 120px!important;
}
}
.footer-btns{
float: none!important;
display: flex;
justify-content: flex-end;
margin-bottom: 20px;
}
}
</style>
<!-- 店面服务设置 -->
<template>
<div class="before-sale edit-equity">
<div class="container edit-container">
<div class="before-sale edit-equity mall-server">
<div class="container edit-container mall-server-box">
<p class="edit-title">{{ title }}</p>
<glsx-combi-form class="edit-form-container" ref="editFormRef" labelWidth="140px" :isBlock="isBlock" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"></glsx-combi-form>
<glsx-combi-form ref="editFormRefBrand" labelWidth="140px" defaultWidth="215px" formRef="editChildRefBrand" :formObj.sync="editForm" :formData="editFormDataCar">
<glsx-combi-form class="edit-form-container" ref="editFormRef" labelWidth="144px" :isBlock="isBlock" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"></glsx-combi-form>
<glsx-combi-form ref="editFormRefBrand" labelWidth="144px" defaultWidth="215px" formRef="editChildRefBrand" :formObj.sync="editForm" :formData="editFormDataCar">
<template slot="vehicleBrandId">
<el-select v-model="editForm.vehicleBrandId" placeholder="请选择品牌" filterable @change="handleChangeBrand(editForm.vehicleBrandId)" style="width:160px;" clearable>
<el-option v-for="item in baseData.carBrandOptions" :key="item.id" :value="item.id" :label="item.name" />
......@@ -23,7 +23,7 @@
</div>
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> -->
<div class="footer" :style="{ width: '100%' }">
<el-button type="primary" @click="handleConfirm">确定</el-button>
<el-button type="primary" style="width:88px;" @click="handleConfirm">确定</el-button>
</div>
</div>
</template>
......@@ -153,7 +153,7 @@ export default {
</script>
<style scoped>
.before-sale .container {
padding: 0px 20px 20px 40px;
padding: 0 !important;
background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
padding: 20px;
......@@ -193,12 +193,14 @@ export default {
}
.before-sale .edit-title {
padding: 0 20px;
font-size: 16px;
font-weight: bold;
height: 48px;
line-height: 48px;
height: 58px;
line-height: 58px;
border-bottom: 1px solid #e7eaec;
margin: 0 0;
color: #333333;
}
.before-sale .edit-sub-title {
......@@ -232,4 +234,12 @@ export default {
width: 160px;
height: 160px;
}
.mall-server{
height: calc(100% - 94px);
}
.mall-server-box{
height: 100%;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!