Commit 21dce137 by 杨北旺

修复bug

1 parent 1e720701
This diff could not be displayed because it is too large.
......@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5",
"glsx-common": "^1.4.6",
"glsx-components": "^1.2.2",
"glsx-components": "^1.2.5",
"lodash": "^4.17.21",
"vue": "^2.6.10",
"vue-router": "^3.1.3",
......@@ -41,4 +41,4 @@
"> 1%",
"last 2 versions"
]
}
\ No newline at end of file
}
......@@ -2,9 +2,9 @@
<div v-if="show" class="select-seach-con">
<!-- <div class="find_line"> -->
<div class="cell_wrapper flex_sc">
<div v-if="accountLevel == 2" class="cell_label h13_title">4S店</div>
<!-- <div v-if="accountLevel == 2" class="cell_label h13_title">4S店</div>
<div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">市级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">省级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">省级经销商</div> -->
<el-select class="find_width" v-if="accountLevel == 2" clearable size="mini" v-model="storeId" placeholder="请选择" @change="selectStoreId">
<el-option v-for="item in storeList" :key="item.id" :label="item.label" :value="item.id"></el-option>
</el-select>
......@@ -13,8 +13,8 @@
</el-select>
</div>
<div v-if="nextAccountId" class="cell_wrapper flex_sc">
<div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">4S店</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">市级经销商</div>
<!-- <div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">4S店</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">市级经销商</div> -->
<el-select class="find_width" v-if="!isAdmin" clearable size="mini" v-model="storeId" placeholder="请选择" @change="selectStoreId">
<el-option v-for="item in newStroeList" :key="item.id" :label="item.label" :value="item.id"></el-option>
</el-select>
......@@ -23,7 +23,7 @@
</el-select>
</div>
<div v-if="nextAccountId1" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">4S店</div>
<!-- <div class="cell_label h13_title">4S店</div> -->
<el-select class="find_width" clearable size="mini" v-model="storeId" placeholder="请选择" @change="selectStoreId">
<el-option v-for="item in lastStoreList" :key="item.id" :label="item.label" :value="item.id"></el-option>
</el-select>
......@@ -134,6 +134,7 @@ export default {
display: flex;
align-items: center;
margin-bottom: 18px;
margin-right: 5px;
// padding-right: 30px;
.cell_label {
text-align: right;
......
......@@ -147,6 +147,7 @@
</div>
<qrCode :codeUrl="code" phone="189 2340 8808"></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:18px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/afterSale.mp4"></video>
</el-dialog>
</div>
......
<template>
<div v-if="accountLevel == 4 || isAdmin" class="rule-container">
<div v-if="nodata == 1" class="top_wrapper">
<div v-if="nodata == 1&&updateTime" class="top_wrapper">
<div v-if="updateTime" class="tip_line">
<img class="icon" src="../../assets/notice.png" />
<span class="h10_title">尊敬的客户,您的分账规则于 #{{ updateTime }}#已经变更,新的规则将于 #{{ effectTime }} 00:00# 生效,修改人:{{ settleRultData.updatedBy }}。</span>
......@@ -34,7 +34,7 @@
<div slot="dot" class="dot_line">
<div class="icon"></div>
<span class="text">生效时间:{{ item.effectStartDate }}-{{ item.effectEndDate || '至今' }}</span>
<div class="btn">已生效</div>
<div class="btn">{{item.effectEndDate?'已生效':'生效中'}}</div>
<span v-if="index" class="tip_text" @click="showTable(item.show, index)">{{ item.show ? '收缩详情' : '点击查看详情' }}</span>
</div>
<div v-if="item.show" class="table_con">
......
......@@ -434,20 +434,21 @@ export default {
right: 15px;
}
}
.flex_wrap_new{
.flex_wrap_new {
display: flex;
align-items: center;
justify-content: flex-end;
box-sizing: border-box;
padding-right: 15px;
.cell_btn {
width: 78px;
}
.cell_btn {
width: 78px;
}
}
.table_wrap {
padding: 0 15px;
padding-bottom: 10px;
}
.customTitle {
display: flex;
align-items: center;
......@@ -463,4 +464,11 @@ export default {
color: #5850ff;
}
}
.table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover{
background: #f4f3ff !important;
}
.table_wrap /deep/ .el-table tbody tr:hover >td{
background: #f4f3ff !important;
}
</style>
......@@ -8,7 +8,7 @@
</div> -->
</div>
<div class="tip_wrap">
<span class="h5_title">车主精品升级服务施工完成后,系统会通过微信小程序通知自动提醒客户取车,并且邀请客户好评,客户完成评价后,门店可以在对应的“订单-查看明细”中查看评价。</span>
<span class="h5_title">车主精品升级服务核券完成后,系统会通过微信小程序通知自动提醒客户评价,并且邀请客户好评,客户完成评价后,门店可以在对应的“订单-查看明细”中查看评价。</span>
</div>
<div class="box_wrapper">
<div class="box_1 flex-cc">
......
......@@ -110,6 +110,7 @@
</div>
<qrCode :codeUrl="code" phone="188 2423 1191"></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:18px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/totalSale.mp4"></video>
</el-dialog>
</div>
......
......@@ -29,7 +29,7 @@
</el-select>
</div>
<div v-if="accountLevel == 3" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">4S店</div>
<div class="cell_label h13_title">商户名</div>
<el-select class="find_width" clearable size="mini" v-model="storeId" placeholder="请选择">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.id"></el-option>
</el-select>
......@@ -48,15 +48,6 @@
<div class="cell_label h13_title">商品名称</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="goodsName"></el-input>
</div>
<div v-if="accountLevel < 3" class="cell_wrapper flex_sc">
<div v-if="accountLevel == 2" class="cell_label h13_title">市级经销商</div>
<div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">工厂</div>
<el-select class="find_width" clearable size="mini" filterable v-model="curMerchantNo" placeholder="请选择" @change="selectCurMechant">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<selectSearch ref="myNewSelect" :show="curMerchantNo ? true : false" @getId="getCurStoreId"></selectSearch>
</div>
<div class="right_widget">
<div class="cell_wrapper flex_sc">
......@@ -65,6 +56,20 @@
</div>
</div>
</div>
<div v-if="accountLevel < 3" class="find_wrap new_find_wrapper">
<div class="left_widget">
<div class="cell_wrapper flex_sc" style="margin-right:5px">
<!-- <div v-if="accountLevel == 2" class="cell_label h13_title">市级经销商</div>
<div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">工厂</div> -->
<div class="cell_label h13_title">商户名</div>
<el-select class="find_width" clearable size="mini" filterable v-model="curMerchantNo" placeholder="请选择" @change="selectCurMechant">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<selectSearch ref="myNewSelect" :show="curMerchantNo ? true : false" @getId="getCurStoreId"></selectSearch>
</div>
</div>
<div class="tipper flex_scb">
<div class="tip_text">
<span>共</span>
......@@ -464,7 +469,7 @@ export default {
})
},
// 表格分页获取数据
tableRefreshData(){
tableRefreshData() {
let temp = this.httpParam
delete temp.currentPage
delete temp.pageSize
......@@ -504,7 +509,7 @@ export default {
// 精品礼券
.find_wrap {
box-sizing: border-box;
padding: 9px 0px 9px 15px;
padding: 9px 0px 0px 15px;
display: flex;
position: relative;
.left_widget {
......@@ -551,6 +556,10 @@ export default {
right: 15px;
}
}
.new_find_wrapper{
// padding: 0;
padding:0 0 0 15px;
}
.tipper {
width: 100%;
box-sizing: border-box;
......@@ -582,4 +591,11 @@ export default {
background: #e8e8ea;
margin-bottom: 20px;
}
// 表格悬浮样式
.table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover {
background: #f4f3ff !important;
}
.table_wrap /deep/ .el-table tbody tr:hover > td {
background: #f4f3ff !important;
}
</style>
......@@ -79,6 +79,7 @@
</template>
</div>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:18px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/upgrade.mp4"></video>
</el-dialog>
<qrCode phone="138 2651 0577" :codeUrl="code"></qrCode>
......
......@@ -12,7 +12,8 @@
<p class="h20_title">累计产值:总产值为门店的精品升级业务该获得的 分账金额总和,包括线上分账和线下对 账,但分账金额不明确订单不算入统计。</p>
<p class="h20_title">昨日产值:当前时间前一天的产值</p>
<p class="h20_title">今日产值:当前时间的实时产值</p>
<p class="h20_title">平均单店产值:一个门店的平均产值=累计产值/开通精品升级的门店数</p>
<p v-if="accountLevel!=4" class="h20_title">平均单店产值:一个门店的平均产值=累计产值/开通精品升级的门店数</p>
<p v-if="accountLevel==4" class="h20_title">行业均值(单店):一个门店的平均产值=所有门店的累计产值/开通精品升级的门店数。</p>
<p class="h20_title">冠军店:显示统计时间范围内产值最高的店及占比,占比=冠军店产值/总产值</p>
<p class="h20_title">累计利润:统计时间范围内该店的导流方分润金额的总和</p>
<p class="h20_title">昨日利润:当前时间前一天的导流方分润金额</p>
......@@ -33,7 +34,7 @@
<p style="height: 15px"></p>
<p class="h13_title">今日产值:{{ productValueInfo.todayDivisionMoney ? '¥' : '' }}{{ productValueInfo.todayDivisionMoney || '---' }}</p>
</div>
<span class="text_tip_price2 h13_title">平均单店产值:{{ productValueInfo.totalDivisionMoney ? '¥' : '' }}{{ productValueInfo.totalDivisionMoney || '---' }}</span>
<span class="text_tip_price2 h13_title">行业均值(单店):{{ productValueInfo.totalDivisionMoney ? '¥' : '' }}{{ productValueInfo.totalDivisionMoney || '---' }}</span>
<span class="text_tip_price3 h13_title">累计利润:{{ productValueInfo.profitMoney ? '¥' : '' }}{{ productValueInfo.profitMoney || '---' }}</span>
<span class="text_tip_price4 h13_title">今日利润:{{ productValueInfo.todayProfitMoney ? '¥' : '' }}{{ productValueInfo.todayProfitMoney || '---' }}</span>
<span class="text_tip_price11 h13_title">昨日利润:{{ productValueInfo.yesterdayProfitMoney ? '¥' : '' }}{{ productValueInfo.yesterdayProfitMoney || '---' }}</span>
......@@ -194,7 +195,7 @@ export default {
const { session } = this.$globalState
this.accountLevel = session.accountLevel
if (session.accountLevel != 4) {
this.tabList = ['精品升级订单', '我的分账']
this.tabList = ['订单明细', '分账明细']
this.toGet4SStore()
}
// 获取上一次打开的状态
......
......@@ -21,7 +21,7 @@
</div>
<div class="table_widget">
<el-table :data="tableData" height="350" style="100%" highlight-current-row>
<el-table-column label="排名" align="center" type="index" :index="index => index + 1"></el-table-column>
<el-table-column label="排名" width="100" align="center" type="index" :index="index => index + 1"></el-table-column>
<el-table-column prop="merchantName" label="门店名称" align="center"></el-table-column>
<el-table-column label="总产值" width="500">
<template slot-scope="scope">
......@@ -137,6 +137,9 @@ export default {
}
.page_title {
padding: 15px 20px 10px 20px;
font-size: 16px;
font-weight: 600;
color: #333333;
}
.tipper {
width: 100%;
......@@ -175,4 +178,10 @@ export default {
}
}
}
.table_widget /deep/ .el-table--enable-row-hover .el-table__body tr:hover{
background: #f4f3ff !important;
}
.table_widget /deep/ .el-table tbody tr:hover >td{
background: #f4f3ff !important;
}
</style>
\ No newline at end of file
......@@ -19,7 +19,7 @@
</el-select>
</div>
<div v-if="accountLevel == 3" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">4S店</div>
<div class="cell_label h13_title">商户名</div>
<el-select class="find_width" clearable size="mini" v-model="storeId" placeholder="请选择">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
......@@ -46,15 +46,16 @@
<el-option v-for="item in disivionOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div v-if="accountLevel < 3" class="cell_wrapper flex_sc">
<div v-if="accountLevel == 2" class="cell_label h13_title">市级经销商</div>
<!-- <div v-if="accountLevel < 3" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">商户名</div>
<div v-if="accountLevel == 2" class="cell_label h13_title">商户名</div>
<div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">工厂</div>
<el-select class="find_width" clearable size="mini" filterable v-model="curMerchantNo" placeholder="请选择" @change="selectCurMechant">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<selectSearch ref="mySelectCon" :show="curMerchantNo ? true : false" @getId="getCurStoreId"></selectSearch>
<selectSearch ref="mySelectCon" :show="curMerchantNo ? true : false" @getId="getCurStoreId"></selectSearch> -->
</div>
<!-- :style="'flex:'+flexWidth" -->
<div class="right_widget">
......@@ -67,6 +68,20 @@
</div>
</div>
</div>
<div v-if="accountLevel < 3" class="find_wrap new_find_wrapper">
<div class="left_widget">
<div class="cell_wrapper flex_sc" style="margin-right:5px">
<div class="cell_label h13_title">商户名</div>
<!-- <div v-if="accountLevel == 2" class="cell_label h13_title">商户名</div> -->
<!-- <div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">工厂</div> -->
<el-select class="find_width" clearable size="mini" filterable v-model="curMerchantNo" placeholder="请选择" @change="selectCurMechant">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<selectSearch ref="mySelectCon" :show="curMerchantNo ? true : false" @getId="getCurStoreId"></selectSearch>
</div>
</div>
<!-- <div class="find_wrap">
<div class="find_line">
<div class="cell_wrapper flex_sc">
......@@ -880,7 +895,7 @@ export default {
<style lang="scss" scoped>
.find_wrap {
box-sizing: border-box;
padding: 9px 0 9px 15px;
padding: 9px 0 0px 15px;
display: flex;
.left_widget {
flex: 3;
......@@ -933,6 +948,10 @@ export default {
right: 15px;
}
}
.new_find_wrapper{
// padding: 9px 0 9px 15px;
padding:0 0 0 15px;
}
.tipper {
width: 100%;
box-sizing: border-box;
......@@ -1039,4 +1058,62 @@ export default {
.right_select /deep/ .el-select .el-tag__close.el-icon-close {
display: none;
}
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar {
// /*width: 0;宽度为0隐藏*/
// width: 2px !important;
// border: none;
// }
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
// border-radius: 6px;
// height: 2px !important;
// background: #E9E8FF; //滚动条颜色
// border: none;
// }
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-track {
// // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
// border-radius: 6px;
// background: white; //滚动条背景色
// border: none;
// }
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar {
// width: 10px;
// height: 10px;
// /* display: none; */
// }
// /*正常情况下滑块的样式*/
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
// background-color: rgba(0, 0, 0, 0.05);
// border-radius: 10px;
// box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
// }
// /*鼠标悬浮在该类指向的控件上时滑块的样式*/
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
// /* background-color: rgba(0, 0, 0, 0.2); */
// background: #e9e8ff;
// border-radius: 10px;
// box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
// }
// /*鼠标悬浮在滑块上时滑块的样式*/
// /* &::-webkit-scrollbar-thumb:hover {
// background-color: rgba(0, 0, 0, 0.4);
// box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
// } */
// /*正常时候的主干部分*/
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-track {
// border-radius: 10px;
// box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
// background-color: white;
// }
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!