10.30
This commit is contained in:
parent
7a045a9e71
commit
fa5ddf6a0b
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user