Merge branch 'main' of http://122.51.230.86:3000/dianliang/oil-station
This commit is contained in:
commit
c8f9b2b9be
@ -2,6 +2,7 @@
|
|||||||
#app {
|
#app {
|
||||||
|
|
||||||
.main-container {
|
.main-container {
|
||||||
|
background: #f6f8f9 !important;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
transition: margin-left .28s;
|
transition: margin-left .28s;
|
||||||
//margin-left: $base-sidebar-width;
|
//margin-left: $base-sidebar-width;
|
||||||
|
@ -174,6 +174,7 @@
|
|||||||
</el-drawer>
|
</el-drawer>
|
||||||
|
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
:close-on-click-modal="false"
|
||||||
:title="titles"
|
:title="titles"
|
||||||
:visible.sync="dialog"
|
:visible.sync="dialog"
|
||||||
width="50%"
|
width="50%"
|
||||||
@ -355,7 +356,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 弹窗-->
|
<!-- 弹窗-->
|
||||||
<el-dialog title="优惠券列表" :visible.sync="dialogTableVisible">
|
<el-dialog :close-on-click-modal="false" title="优惠券列表" :visible.sync="dialogTableVisible">
|
||||||
<div style="display: flex;align-items: center; margin-bottom: 20px ">
|
<div style="display: flex;align-items: center; margin-bottom: 20px ">
|
||||||
<el-input v-model="youhuiquan.name" placeholder="优惠券名称"></el-input>
|
<el-input v-model="youhuiquan.name" placeholder="优惠券名称"></el-input>
|
||||||
<el-button type="primary" icon="el-icon-search" @click="getlistFavorable" >搜索</el-button>
|
<el-button type="primary" icon="el-icon-search" @click="getlistFavorable" >搜索</el-button>
|
||||||
@ -417,7 +418,7 @@
|
|||||||
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 规则-->
|
<!-- 规则-->
|
||||||
<el-dialog title="编辑储值卡规则" :visible.sync="Crule">
|
<el-dialog :close-on-click-modal="false" title="编辑储值卡规则" :visible.sync="Crule">
|
||||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm" :label-position="labelPosition">
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm" :label-position="labelPosition">
|
||||||
<el-form-item label="名称" prop="name">
|
<el-form-item label="名称" prop="name">
|
||||||
<el-input disabled v-model="ruleForm.name"></el-input>
|
<el-input disabled v-model="ruleForm.name"></el-input>
|
||||||
|
@ -240,6 +240,7 @@
|
|||||||
<el-dialog
|
<el-dialog
|
||||||
title="上传礼品卡数据"
|
title="上传礼品卡数据"
|
||||||
:visible.sync="uploadingShow"
|
:visible.sync="uploadingShow"
|
||||||
|
:close-on-click-modal="false"
|
||||||
width="40%"
|
width="40%"
|
||||||
@close="handleClose2"
|
@close="handleClose2"
|
||||||
>
|
>
|
||||||
@ -297,6 +298,7 @@
|
|||||||
<el-dialog
|
<el-dialog
|
||||||
title="新增/修改礼品卡活动"
|
title="新增/修改礼品卡活动"
|
||||||
:visible.sync="centerDialogVisible"
|
:visible.sync="centerDialogVisible"
|
||||||
|
:close-on-click-modal="false"
|
||||||
width="40%"
|
width="40%"
|
||||||
@close="handleClose1"
|
@close="handleClose1"
|
||||||
>
|
>
|
||||||
@ -350,6 +352,7 @@
|
|||||||
<el-dialog
|
<el-dialog
|
||||||
title="密码加密"
|
title="密码加密"
|
||||||
:visible.sync="Encryption"
|
:visible.sync="Encryption"
|
||||||
|
:close-on-click-modal="false"
|
||||||
width="30%"
|
width="30%"
|
||||||
>
|
>
|
||||||
<div class="d-b">
|
<div class="d-b">
|
||||||
|
@ -220,6 +220,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:title="titles"
|
:title="titles"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:visible.sync="centerDialogVisible"
|
:visible.sync="centerDialogVisible"
|
||||||
width="40%">
|
width="40%">
|
||||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
|
||||||
@ -314,6 +315,7 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:title="titles1"
|
:title="titles1"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:visible.sync="showDialogVisible"
|
:visible.sync="showDialogVisible"
|
||||||
width="60%">
|
width="60%">
|
||||||
<el-form :model="ruleForm1" :rules="rules" ref="ruleForm1" label-width="120px" class="demo-ruleForm">
|
<el-form :model="ruleForm1" :rules="rules" ref="ruleForm1" label-width="120px" class="demo-ruleForm">
|
||||||
|
@ -221,6 +221,7 @@
|
|||||||
<el-dialog
|
<el-dialog
|
||||||
:title="titles"
|
:title="titles"
|
||||||
:visible.sync="centerDialogVisible"
|
:visible.sync="centerDialogVisible"
|
||||||
|
:close-on-click-modal="false"
|
||||||
center
|
center
|
||||||
width="35%">
|
width="35%">
|
||||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
|
||||||
@ -273,9 +274,10 @@
|
|||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
|
label-width="0px"
|
||||||
:prop="'oilList.' + scope.$index + '.price'"
|
:prop="'oilList.' + scope.$index + '.price'"
|
||||||
:rules="rules['oilList.*.price']"
|
:rules="rules['oilList.*.price']"
|
||||||
class="custom-form-itemMy100989"
|
style="margin-left: 0px"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="scope.row.price"
|
v-model="scope.row.price"
|
||||||
@ -315,6 +317,7 @@
|
|||||||
:title="titles1"
|
:title="titles1"
|
||||||
center
|
center
|
||||||
:visible.sync="showDialogVisible"
|
:visible.sync="showDialogVisible"
|
||||||
|
:close-on-click-modal="false"
|
||||||
width="60%">
|
width="60%">
|
||||||
<el-form :model="ruleForm1" :rules="rules" ref="ruleForm1" label-width="120px" class="demo-ruleForm">
|
<el-form :model="ruleForm1" :rules="rules" ref="ruleForm1" label-width="120px" class="demo-ruleForm">
|
||||||
<div style="display: flex;width: 100%; margin-bottom: 20px">
|
<div style="display: flex;width: 100%; margin-bottom: 20px">
|
||||||
|
@ -187,7 +187,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<!-- 规则-->
|
<!-- 规则-->
|
||||||
<el-dialog title="编辑囤油卡规则" width="30%" :visible.sync="Crule">
|
<el-dialog :close-on-click-modal="false" title="编辑囤油卡规则" width="30%" :visible.sync="Crule">
|
||||||
<el-form :model="oilForm" :rules="ruleInfo" ref="oilForm" label-width="70px" class="demo-ruleForm" >
|
<el-form :model="oilForm" :rules="ruleInfo" ref="oilForm" label-width="70px" class="demo-ruleForm" >
|
||||||
<el-form-item label="名称" prop="name">
|
<el-form-item label="名称" prop="name">
|
||||||
<el-input disabled v-model="oilForm.name"></el-input>
|
<el-input disabled v-model="oilForm.name"></el-input>
|
||||||
@ -210,6 +210,7 @@
|
|||||||
title="囤油卡操作"
|
title="囤油卡操作"
|
||||||
:visible.sync="centerDialogVisible"
|
:visible.sync="centerDialogVisible"
|
||||||
width="30%"
|
width="30%"
|
||||||
|
:close-on-click-modal="false"
|
||||||
center>
|
center>
|
||||||
|
|
||||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="80px" class="demo-ruleForm">
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="80px" class="demo-ruleForm">
|
||||||
|
@ -637,7 +637,7 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 批量录入会员信息-->
|
<!-- 批量录入会员信息-->
|
||||||
<el-dialog :title="title" width="500px" :visible.sync="openUpload" append-to-body>
|
<el-dialog :title="title" :close-on-click-modal="false" width="500px" :visible.sync="openUpload" append-to-body>
|
||||||
<el-form ref="form1" :model="form1" :rules="rules1" label-width="90px">
|
<el-form ref="form1" :model="form1" :rules="rules1" label-width="90px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
|
@ -369,7 +369,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- 添加或修改对话框 -->
|
<!-- 添加或修改对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="55%" append-to-body>
|
<el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="55%" append-to-body>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<div class="flax_box">
|
<div class="flax_box">
|
||||||
<el-form-item label="分组名称" prop="groupName">
|
<el-form-item label="分组名称" prop="groupName">
|
||||||
@ -509,7 +509,7 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 添加或修改对话框 -->
|
<!-- 添加或修改对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open1" width="35%" append-to-body>
|
<el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open1" width="35%" append-to-body>
|
||||||
<el-form ref="form1" :model="form1" :rules="rules" label-width="80px">
|
<el-form ref="form1" :model="form1" :rules="rules" label-width="80px">
|
||||||
|
|
||||||
<el-form-item label="活动名称" prop="name">
|
<el-form-item label="活动名称" prop="name">
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-cont">
|
||||||
<!-- 搜索框-->
|
<!-- 搜索框-->
|
||||||
<el-card>
|
<div class="card_box">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
|
||||||
<el-form-item label="" prop="tankName">
|
<el-form-item label="" prop="tankName">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.tankName"
|
v-model="queryParams.tankName"
|
||||||
placeholder="请输入油罐名称"
|
placeholder="请输入油罐名称"
|
||||||
clearable
|
clearable
|
||||||
style="width: 240px;"
|
|
||||||
@keyup.enter.native="handleQuery"
|
@keyup.enter.native="handleQuery"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -46,7 +46,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div style="height: 76vh;overflow: auto">
|
<div style="height: 77vh;overflow: auto">
|
||||||
<el-table key="2" ref="tables"
|
<el-table key="2" ref="tables"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:data="statisticsList"
|
:data="statisticsList"
|
||||||
@ -61,12 +61,6 @@
|
|||||||
<el-table-column label="当前成本价(元/L)" align="center" prop="discountedPrice"/>
|
<el-table-column label="当前成本价(元/L)" align="center" prop="discountedPrice"/>
|
||||||
<el-table-column label="成本金额(元)" align="center" prop="totalPrice"/>
|
<el-table-column label="成本金额(元)" align="center" prop="totalPrice"/>
|
||||||
<el-table-column label="状态" align="center" prop="inventoryStatistics">
|
<el-table-column label="状态" align="center" prop="inventoryStatistics">
|
||||||
<!-- <template slot-scope="scope">-->
|
|
||||||
<!-- <div slot="reference" class="name-wrapper">-->
|
|
||||||
<!-- <el-tag v-if="scope.row.inventoryStatistics == '启用'" size="success">启用</el-tag>-->
|
|
||||||
<!-- <el-tag v-if="scope.row.inventoryStatistics == '禁用'" type="danger" size="medium">禁用</el-tag>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </template>-->
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch
|
<el-switch
|
||||||
disabled
|
disabled
|
||||||
@ -105,7 +99,7 @@
|
|||||||
:limit.sync="queryParams.pageSize"
|
:limit.sync="queryParams.pageSize"
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
</el-card>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<el-drawer
|
<el-drawer
|
||||||
@ -117,7 +111,7 @@
|
|||||||
|
|
||||||
<div style="display: grid; place-items: center;">
|
<div style="display: grid; place-items: center;">
|
||||||
<div class="box-card" style="">
|
<div class="box-card" style="">
|
||||||
<div style="display: flex; justify-content: space-between;margin-bottom: 10px">
|
<div style="display: flex; justify-content: space-between;margin-bottom: 10px;font-size: 14px;color: #808285">
|
||||||
<span>油罐名称:{{ statisticsForm.tankName }}</span>
|
<span>油罐名称:{{ statisticsForm.tankName }}</span>
|
||||||
<span>油品油号:{{ statisticsForm.oilNumber }}</span>
|
<span>油品油号:{{ statisticsForm.oilNumber }}</span>
|
||||||
<span>库存数量(L):{{ statisticsForm.storedQuantity }}{{ statisticsForm.unit }}</span>
|
<span>库存数量(L):{{ statisticsForm.storedQuantity }}{{ statisticsForm.unit }}</span>
|
||||||
@ -287,11 +281,6 @@ export default {
|
|||||||
|
|
||||||
handleClose(done) {
|
handleClose(done) {
|
||||||
done();
|
done();
|
||||||
// this.$confirm('确认关闭?')
|
|
||||||
// .then(_ => {
|
|
||||||
// done();
|
|
||||||
// })
|
|
||||||
// .catch(_ => {});
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// 选择油品号
|
// 选择油品号
|
||||||
@ -314,9 +303,10 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.app-container {
|
.app-cont {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
box-sizing: border-box;
|
||||||
|
padding: 10px;
|
||||||
background: #f6f8f9;
|
background: #f6f8f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -345,5 +335,10 @@ export default {
|
|||||||
.el-form--inline .el-form-item {
|
.el-form--inline .el-form-item {
|
||||||
margin-right: 44px;
|
margin-right: 44px;
|
||||||
}
|
}
|
||||||
|
.card_box{
|
||||||
|
border-radius: 8px;
|
||||||
|
background: #fff;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -51,6 +51,9 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
goback(){
|
||||||
|
this.$router.go(-1)
|
||||||
|
},
|
||||||
// 查询菜单树结构
|
// 查询菜单树结构
|
||||||
getMenuTreeselect() {
|
getMenuTreeselect() {
|
||||||
// merchantId 代表deptType
|
// merchantId 代表deptType
|
||||||
@ -311,7 +314,11 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="container">
|
<div>
|
||||||
|
<div class="top-box">
|
||||||
|
<span style="cursor: pointer; text-indent: 20px;" @click="goback()">当前位置:机构管理 / 角色信息 / 新增角色</span>
|
||||||
|
</div>
|
||||||
|
<div class="container">
|
||||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="110px">
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="110px">
|
||||||
<div class="top-box">
|
<div class="top-box">
|
||||||
<!-- <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">-->
|
<!-- <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">-->
|
||||||
@ -410,6 +417,8 @@ export default {
|
|||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@ -420,15 +429,17 @@ export default {
|
|||||||
background: #f4f5f9;
|
background: #f4f5f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-box {
|
.top-box{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: #FFFFFF;
|
font-weight: 400;
|
||||||
box-shadow: 0px 3px 6px 1px rgba(255, 255, 255, 0.4), inset 0px 3px 6px 1px rgba(255, 255, 255, 0.5);
|
font-size: 14px;
|
||||||
border-radius: 10px 10px 10px 10px;
|
color: #999;
|
||||||
|
padding-left: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.demo-ruleForm {
|
.demo-ruleForm {
|
||||||
|
@ -284,7 +284,7 @@ export default {
|
|||||||
start.setMinutes(0)
|
start.setMinutes(0)
|
||||||
start.setSeconds(0)
|
start.setSeconds(0)
|
||||||
start.setMilliseconds(0)
|
start.setMilliseconds(0)
|
||||||
this.value2 = [start,new Date()];
|
this.value2 = [parseTime(start),parseTime(new Date())];
|
||||||
} else if (this.timeList[index]=='近一周'){
|
} else if (this.timeList[index]=='近一周'){
|
||||||
let nowDate = new Date();
|
let nowDate = new Date();
|
||||||
let oneWeekAgo = new Date(nowDate.getTime() - 6 * 24 * 60 * 60 * 1000)
|
let oneWeekAgo = new Date(nowDate.getTime() - 6 * 24 * 60 * 60 * 1000)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="card-change" style="min-height: 500px; margin-left: 20px; margin-top: 20px; margin-right: 20px;" shadow="never">
|
||||||
<div class="card-change" >
|
<div>
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="90px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="90px">
|
||||||
<el-form-item label="" prop="name">
|
<el-form-item label="" prop="name">
|
||||||
<el-input
|
<el-input
|
||||||
@ -374,5 +374,10 @@ export default {
|
|||||||
width: 98px;
|
width: 98px;
|
||||||
height: 98px;
|
height: 98px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user