11.4
This commit is contained in:
parent
3ccbd60e4f
commit
95b7fab796
@ -181,6 +181,7 @@
|
|||||||
:visible.sync="dialog"
|
:visible.sync="dialog"
|
||||||
width="50%"
|
width="50%"
|
||||||
ref="drawer"
|
ref="drawer"
|
||||||
|
center
|
||||||
>
|
>
|
||||||
<div class="demo-drawer__content">
|
<div class="demo-drawer__content">
|
||||||
<el-form :model="form" ref="ruleForm" :rules="rules" :inline="true" :label-position="labelPosition" label-width="100px" >
|
<el-form :model="form" ref="ruleForm" :rules="rules" :inline="true" :label-position="labelPosition" label-width="100px" >
|
||||||
@ -351,9 +352,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="demo-drawer__footer">
|
<div class="demo-drawer__footer">
|
||||||
<el-button @click="cancelForm">取 消</el-button>
|
<el-button @click="cancelForm">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm('ruleForm')"
|
<el-button type="primary" @click="submitForm('ruleForm')">保 存</el-button>
|
||||||
>
|
|
||||||
确定</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -420,7 +419,7 @@
|
|||||||
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 规则-->
|
<!-- 规则-->
|
||||||
<el-dialog title="编辑储值卡规则" :visible.sync="Crule">
|
<el-dialog title="编辑储值卡规则" :visible.sync="Crule" center>
|
||||||
<el-form :model="ruleForm" ref="ruleForm1" :rules="rules" label-width="100px" class="demo-ruleForm" :label-position="labelPosition">
|
<el-form :model="ruleForm" ref="ruleForm1" :rules="rules" 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>
|
||||||
@ -436,15 +435,14 @@
|
|||||||
<div class="d-s" @click="ruleForm.oilLimit = 1">
|
<div class="d-s" @click="ruleForm.oilLimit = 1">
|
||||||
<img src="../../../assets/images/wx.png" v-if="ruleForm.oilLimit != 1" style="width: 20px;height: 20px;">
|
<img src="../../../assets/images/wx.png" v-if="ruleForm.oilLimit != 1" style="width: 20px;height: 20px;">
|
||||||
<img src="../../../assets/images/xz.png" v-if="ruleForm.oilLimit == 1" style="width: 20px;height: 20px;">
|
<img src="../../../assets/images/xz.png" v-if="ruleForm.oilLimit == 1" style="width: 20px;height: 20px;">
|
||||||
<div>不限</div>
|
<div style="width: 60px;">不限</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-s" @click="ruleForm.oilLimit = 2" >
|
<div class="d-s" @click="ruleForm.oilLimit = 2" >
|
||||||
<img src="../../../assets/images/wx.png" v-if="ruleForm.oilLimit != 2" style="width: 20px;height: 20px;">
|
<img src="../../../assets/images/wx.png" v-if="ruleForm.oilLimit != 2" style="width: 20px;height: 20px;">
|
||||||
<img src="../../../assets/images/xz.png" v-if="ruleForm.oilLimit == 2" style="width: 20px;height: 20px;">
|
<img src="../../../assets/images/xz.png" v-if="ruleForm.oilLimit == 2" style="width: 20px;height: 20px;">
|
||||||
<div>自定义</div>
|
<div style="width: 60px;">自定义</div>
|
||||||
<el-select v-if="ruleForm.oilLimit == 2" v-model="ruleForm.oilNumber" placeholder="请选择油品油号(可多选)" multiple style="margin-left: 10px">
|
<el-select v-if="ruleForm.oilLimit == 2" v-model="ruleForm.oilNumber" placeholder="请选择油品油号(可多选)" multiple style="margin-left: 10px; width: 700px;">
|
||||||
<el-option :label="item.oilName" :value="item.oilId" v-for="(item,index) in oilnumList" :key="index"></el-option>
|
<el-option :label="item.oilName" :value="item.oilId" v-for="(item,index) in oilnumList" :key="index"></el-option>
|
||||||
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -471,12 +469,12 @@
|
|||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
|
|
||||||
|
|
||||||
<el-form-item>
|
|
||||||
<el-button type="primary" @click="submitForms('ruleForm1')">保存</el-button>
|
|
||||||
<el-button @click="resetForm('ruleForm')">取消</el-button>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
|
<div slot="footer" class="dialog-footer" style="text-align: center">
|
||||||
|
<el-button @click="cancel">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="submitForms('ruleForm1')">保 存</el-button>
|
||||||
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -867,7 +865,7 @@ import {delLJGoods, listLJGoods} from "@/api/convenienceStore/ljgoods";
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.titles = "修改储值卡"
|
this.titles = "修改储值卡活动"
|
||||||
let data = {
|
let data = {
|
||||||
pageNo:1,
|
pageNo:1,
|
||||||
pageSize:30,
|
pageSize:30,
|
||||||
@ -916,7 +914,7 @@ import {delLJGoods, listLJGoods} from "@/api/convenienceStore/ljgoods";
|
|||||||
},
|
},
|
||||||
addblock(){
|
addblock(){
|
||||||
this.isOnLine = false
|
this.isOnLine = false
|
||||||
this.titles = "新增储值卡"
|
this.titles = "新增储值卡活动"
|
||||||
this.vipname = []
|
this.vipname = []
|
||||||
let data = {
|
let data = {
|
||||||
pageNo:1,
|
pageNo:1,
|
||||||
@ -1053,7 +1051,10 @@ import {delLJGoods, listLJGoods} from "@/api/convenienceStore/ljgoods";
|
|||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.dialog = false;
|
this.dialog = false;
|
||||||
clearTimeout(this.timer);
|
clearTimeout(this.timer);
|
||||||
}
|
},
|
||||||
|
cancel(){
|
||||||
|
this.Crule = false;
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -241,8 +241,9 @@
|
|||||||
title="上传礼品卡数据"
|
title="上传礼品卡数据"
|
||||||
:visible.sync="uploadingShow"
|
:visible.sync="uploadingShow"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
width="40%"
|
width="30%"
|
||||||
@close="handleClose2"
|
@close="handleClose2"
|
||||||
|
center
|
||||||
>
|
>
|
||||||
<el-form :model="ruleForm2" ref="ruleForm2" label-width="100px" class="demo-ruleForm">
|
<el-form :model="ruleForm2" ref="ruleForm2" label-width="100px" class="demo-ruleForm">
|
||||||
|
|
||||||
@ -286,14 +287,16 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<el-button @click="uploadingShow = false">取消</el-button>
|
|
||||||
<el-button type="primary" @click="submitUpload">导入</el-button>
|
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
|
<div slot="footer" class="dialog-footer" center>
|
||||||
|
<el-button @click="uploadingShow = false">取消</el-button>
|
||||||
|
<el-button type="primary" @click="submitUpload">导入</el-button>
|
||||||
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:title="titles"
|
:title="titles"
|
||||||
@ -347,7 +350,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="centerDialogVisible = false">取 消</el-button>
|
<el-button @click="centerDialogVisible = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="addBlock('formName')">创建</el-button>
|
<el-button type="primary" @click="addBlock('formName')">保 存</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
@ -648,7 +651,7 @@ export default {
|
|||||||
updateId(row) {
|
updateId(row) {
|
||||||
|
|
||||||
this.centerDialogVisible = !this.centerDialogVisible
|
this.centerDialogVisible = !this.centerDialogVisible
|
||||||
this.titles ="修改礼品卡"
|
this.titles ="修改礼品卡活动"
|
||||||
this.ruleForm = row
|
this.ruleForm = row
|
||||||
// 时间
|
// 时间
|
||||||
this.ruleForm.value1 = [row.effectiveTimeStart, row.effectiveTimeEnd]
|
this.ruleForm.value1 = [row.effectiveTimeStart, row.effectiveTimeEnd]
|
||||||
|
@ -1426,6 +1426,7 @@ export default {
|
|||||||
|
|
||||||
.card-boxs {
|
.card-boxs {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 83.5vh;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
@ -187,7 +187,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<!-- 规则-->
|
<!-- 规则-->
|
||||||
<el-dialog :close-on-click-modal="false" title="编辑囤油卡规则" width="30%" :visible.sync="Crule">
|
<el-dialog :close-on-click-modal="false" title="编辑囤油卡规则" width="30%" :visible.sync="Crule" center>
|
||||||
<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>
|
||||||
@ -198,16 +198,16 @@
|
|||||||
<el-form-item label="规则说明" prop="desc">
|
<el-form-item label="规则说明" prop="desc">
|
||||||
<el-input type="textarea" v-model="oilForm.gzDetail"></el-input>
|
<el-input type="textarea" v-model="oilForm.gzDetail"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item >
|
|
||||||
<el-button type="primary" @click="submitForms('oilForm')">保存</el-button>
|
|
||||||
<el-button @click="resetForm('oilForm')">取消</el-button>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
</el-form>
|
||||||
|
<div slot="footer" class="dialog-footer" style="text-align: center;">
|
||||||
|
<el-button @click="resetForm('oilForm')">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="submitForms('oilForm')">保 存</el-button>
|
||||||
|
</div>
|
||||||
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<el-dialog
|
<el-dialog
|
||||||
title="囤油卡操作"
|
title="新增囤油卡活动"
|
||||||
:visible.sync="centerDialogVisible"
|
:visible.sync="centerDialogVisible"
|
||||||
width="30%"
|
width="30%"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
@ -295,7 +295,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer" center>
|
||||||
<el-button @click="centerDialogVisible = false">取 消</el-button>
|
<el-button @click="centerDialogVisible = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="postadd(ruleForm)">确 定</el-button>
|
<el-button type="primary" @click="postadd(ruleForm)">确 定</el-button>
|
||||||
</span>
|
</span>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 86vh;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">-->
|
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">-->
|
||||||
<!-- <el-tab-pane label="商品档案" name="goods"></el-tab-pane>-->
|
<!-- <el-tab-pane label="商品档案" name="goods"></el-tab-pane>-->
|
||||||
@ -164,7 +164,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 添加或修改对话框 -->
|
<!-- 添加或修改对话框 -->
|
||||||
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" append-to-body>
|
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" append-to-body center>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
||||||
<div style="display: flex;justify-content: space-between">
|
<div style="display: flex;justify-content: space-between">
|
||||||
<div style="width: 50%">
|
<div style="width: 50%">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<!-- 商品销售统计-->
|
<!-- 商品销售统计-->
|
||||||
<!-- 搜索框-->
|
<!-- 搜索框-->
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 86vh;">
|
||||||
<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="name">
|
<el-form-item label="" prop="name">
|
||||||
<el-input
|
<el-input
|
||||||
@ -44,7 +44,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div style="height: 69vh;overflow: auto">
|
<div style="height: 71vh;overflow: auto">
|
||||||
<el-table ref="tables" v-loading="loading" :data="list" border
|
<el-table ref="tables" v-loading="loading" :data="list" border
|
||||||
@selection-change="handleSelectionChange" :default-sort="defaultSort"
|
@selection-change="handleSelectionChange" :default-sort="defaultSort"
|
||||||
@sort-change="handleSortChange">
|
@sort-change="handleSortChange">
|
||||||
|
@ -196,7 +196,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body :close-on-click-modal="false">
|
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body :close-on-click-modal="false" center>
|
||||||
<el-container>
|
<el-container>
|
||||||
<el-header style="">
|
<el-header style="">
|
||||||
<el-form ref="tankForm" :model="commodityForm" label-width="20px" :inline="true">
|
<el-form ref="tankForm" :model="commodityForm" label-width="20px" :inline="true">
|
||||||
@ -837,4 +837,13 @@ export default {
|
|||||||
align-items: start;
|
align-items: start;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-change-1-search{
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-change-1-1{
|
||||||
|
margin: 0;
|
||||||
|
height: 73.5vh;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 90vh;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="60px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="60px">
|
||||||
<el-form-item label="" prop="orderNumber">
|
<el-form-item label="" prop="orderNumber">
|
||||||
<el-input v-model="queryParams.orderNumber" placeholder="请输入盘点单号"/>
|
<el-input v-model="queryParams.orderNumber" placeholder="请输入盘点单号"/>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 86vh;">
|
||||||
<!-- 查询类别 -->
|
<!-- 查询类别 -->
|
||||||
<el-form :inline="true" :model="queryParams">
|
<el-form :inline="true" :model="queryParams">
|
||||||
<el-form-item label="" prop="name">
|
<el-form-item label="" prop="name">
|
||||||
@ -117,7 +117,7 @@
|
|||||||
|
|
||||||
<!-- 添加类别对话框 -->
|
<!-- 添加类别对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" class="roll-dialog"
|
<el-dialog :title="title" :visible.sync="open" class="roll-dialog"
|
||||||
:close-on-click-modal="false" append-to-body width="500px">
|
:close-on-click-modal="false" append-to-body width="500px" center>
|
||||||
<el-form :model="form" :rules="rules" ref="form" label-width="80px">
|
<el-form :model="form" :rules="rules" ref="form" label-width="80px">
|
||||||
<!-- <el-form-item label="上级品类" >-->
|
<!-- <el-form-item label="上级品类" >-->
|
||||||
<!-- <el-select v-model="form.pid" placeholder="请选择上级品类">-->
|
<!-- <el-select v-model="form.pid" placeholder="请选择上级品类">-->
|
||||||
@ -159,7 +159,7 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 添加或修改对话框 -->
|
<!-- 添加或修改对话框 -->
|
||||||
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="openGoods" append-to-body>
|
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="openGoods" append-to-body center>
|
||||||
<el-form ref="form1" :model="form1" :rules="rules1" label-width="100px">
|
<el-form ref="form1" :model="form1" :rules="rules1" label-width="100px">
|
||||||
<div style="display: flex;justify-content: center">
|
<div style="display: flex;justify-content: center">
|
||||||
<div style="width: 50%">
|
<div style="width: 50%">
|
||||||
@ -742,7 +742,7 @@ export default {
|
|||||||
selectParentById(id).then(response => {
|
selectParentById(id).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "修改品类信息";
|
this.title = "修改品类";
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 删除按钮操作
|
// 删除按钮操作
|
||||||
|
@ -153,7 +153,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body :close-on-click-modal="false">
|
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body :close-on-click-modal="false" center>
|
||||||
<el-container>
|
<el-container>
|
||||||
<el-header style="">
|
<el-header style="">
|
||||||
<el-form ref="tankForm" :model="commodityForm" label-width="20px" :inline="true">
|
<el-form ref="tankForm" :model="commodityForm" label-width="20px" :inline="true">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 86vh;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
<el-form-item label="" prop="orderNumber">
|
<el-form-item label="" prop="orderNumber">
|
||||||
<el-input v-model="queryParams.orderNumber" placeholder="请输入进货单号"/>
|
<el-input v-model="queryParams.orderNumber" placeholder="请输入进货单号"/>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 86vh;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
||||||
<el-form-item label="" prop="orderNumber">
|
<el-form-item label="" prop="orderNumber">
|
||||||
<el-input v-model="queryParams.orderNumber" placeholder="请输入退货单号"/>
|
<el-input v-model="queryParams.orderNumber" placeholder="请输入退货单号"/>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<!-- 搜索框-->
|
<!-- 搜索框-->
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 86vh;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
<el-form-item label="" prop="name">
|
<el-form-item label="" prop="name">
|
||||||
<el-input
|
<el-input
|
||||||
@ -93,7 +93,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div style="height: 69vh;overflow: auto;scrollbar-width: none">
|
<div style="height: 71vh;overflow: auto;scrollbar-width: none">
|
||||||
<el-table ref="tables" v-loading="loading" :data="list" border
|
<el-table ref="tables" v-loading="loading" :data="list" border
|
||||||
@selection-change="handleSelectionChange" :default-sort="defaultSort"
|
@selection-change="handleSelectionChange" :default-sort="defaultSort"
|
||||||
@sort-change="handleSortChange">
|
@sort-change="handleSortChange">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 86vh;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
<el-form-item label="" prop="name">
|
<el-form-item label="" prop="name">
|
||||||
<el-input
|
<el-input
|
||||||
@ -238,7 +238,7 @@ export default {
|
|||||||
handleAdd() {
|
handleAdd() {
|
||||||
this.reset();
|
this.reset();
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "新增供应商";
|
this.title = "新增供应商信息";
|
||||||
},
|
},
|
||||||
// 修改按钮操作
|
// 修改按钮操作
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
@ -247,7 +247,7 @@ export default {
|
|||||||
getSupplier(id).then(response => {
|
getSupplier(id).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "编辑供应商";
|
this.title = "修改供应商信息";
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 删除按钮操作
|
// 删除按钮操作
|
||||||
|
@ -365,7 +365,7 @@ export default {
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
height: 78%;
|
height: 78vh;
|
||||||
}
|
}
|
||||||
.pagination-box{
|
.pagination-box{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -182,7 +182,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -216,8 +216,8 @@
|
|||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm1">确 定</el-button>
|
|
||||||
<el-button @click="cancel1">取 消</el-button>
|
<el-button @click="cancel1">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="submitForm1">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
@ -403,7 +403,7 @@ export default {
|
|||||||
handleAdd() {
|
handleAdd() {
|
||||||
this.reset();
|
this.reset();
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "新增车队信息";
|
this.title = "新增车队";
|
||||||
},
|
},
|
||||||
// 搜索按钮操作
|
// 搜索按钮操作
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
@ -429,7 +429,7 @@ export default {
|
|||||||
this.form.cardType = res.data.cardType.split(",")
|
this.form.cardType = res.data.cardType.split(",")
|
||||||
this.form.staffId = res.data.staffId.split(",")
|
this.form.staffId = res.data.staffId.split(",")
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "修改车队信息";
|
this.title = "修改车队";
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 修改按钮操作
|
// 修改按钮操作
|
||||||
|
@ -198,7 +198,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -243,8 +243,8 @@
|
|||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm1">确 定</el-button>
|
|
||||||
<el-button @click="open1 = false">取 消</el-button>
|
<el-button @click="open1 = false">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="submitForm1">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@ -275,8 +275,8 @@
|
|||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm2">确 定</el-button>
|
|
||||||
<el-button @click="open2 = false">取 消</el-button>
|
<el-button @click="open2 = false">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="submitForm2">确 定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@ -335,8 +335,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitFormMembers">导 入</el-button>
|
|
||||||
<el-button @click="cancelMembers">取 消</el-button>
|
<el-button @click="cancelMembers">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="submitFormMembers">导 入</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@ -763,7 +763,7 @@ export default {
|
|||||||
getFleetMember(row.id).then(res => {
|
getFleetMember(row.id).then(res => {
|
||||||
this.form = res.data
|
this.form = res.data
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = '修改车队成员'
|
this.title = '修改成员'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 额度管理
|
// 额度管理
|
||||||
|
@ -1255,7 +1255,7 @@ export default {
|
|||||||
height: 98px;
|
height: 98px;
|
||||||
}
|
}
|
||||||
.card-change{
|
.card-change{
|
||||||
height: 85vh;
|
height: 86vh;
|
||||||
}
|
}
|
||||||
.table_box{
|
.table_box{
|
||||||
height: 68vh;
|
height: 68vh;
|
||||||
|
@ -238,6 +238,6 @@ export default {
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.card-change{
|
.card-change{
|
||||||
height: 84vh;
|
height: 86vh;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 91vh; margin-bottom: 0px;">
|
||||||
<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="giftName">
|
<el-form-item label="" prop="giftName">
|
||||||
<el-input
|
<el-input
|
||||||
@ -79,7 +79,7 @@
|
|||||||
<el-button type="primary" @click="exportExcelVip">导出</el-button>
|
<el-button type="primary" @click="exportExcelVip">导出</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div style="height: 73.5vh;overflow: auto">
|
<div style="height: 68vh;overflow: auto">
|
||||||
|
|
||||||
<el-table ref="tables"
|
<el-table ref="tables"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
|
@ -509,7 +509,7 @@ valiNumberPass(rule, value, callback, fieldName)
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
height: 85vh;
|
height: 86vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.qizhi {
|
.qizhi {
|
||||||
|
@ -196,7 +196,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="open1 = false">取 消</el-button>
|
<el-button @click="open1 = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="addCredit">确 定</el-button>
|
<el-button type="primary" @click="addCredit">保 存</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
@ -575,7 +575,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@ -658,7 +658,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="openMassSend = false">取 消</el-button>
|
<el-button @click="openMassSend = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm1">确 定</el-button>
|
<el-button type="primary" @click="submitForm1">发 送</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
@ -504,7 +504,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -1101,7 +1101,7 @@ export default {
|
|||||||
consumeCycle: this.tindex
|
consumeCycle: this.tindex
|
||||||
}
|
}
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "新增会员标签";
|
this.title = "新增会员分组";
|
||||||
},
|
},
|
||||||
// 搜索按钮操作
|
// 搜索按钮操作
|
||||||
handleQuery2() {
|
handleQuery2() {
|
||||||
@ -1202,6 +1202,7 @@ export default {
|
|||||||
|
|
||||||
.cot-box {
|
.cot-box {
|
||||||
width: 99%;
|
width: 99%;
|
||||||
|
height: 86vh;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -286,6 +286,7 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
.wit_box{
|
.wit_box{
|
||||||
|
height: 90vh;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 86vh;">
|
||||||
<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="gunName">
|
<el-form-item label="" prop="gunName">
|
||||||
<el-input
|
<el-input
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 90vh;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
<el-form-item label="" prop="tankName">
|
<el-form-item label="" prop="tankName">
|
||||||
<el-input v-model="queryParams.inventoryNumber" placeholder="请输入盘点单号"/>
|
<el-input v-model="queryParams.inventoryNumber" placeholder="请输入盘点单号"/>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container" style="padding-top: 1px">
|
<div class="app-container" style="padding-top: 1px">
|
||||||
|
|
||||||
<div class="card-change-1-search" >
|
<div class="card-change-1-search" style="margin: 10px;">
|
||||||
<div style="height: 90px; display: flex; justify-content: space-between;">
|
<div style="height: 90px; display: flex; justify-content: space-between;">
|
||||||
<div style="height: 100%; display: flex; justify-content: space-between;">
|
<div style="height: 100%; display: flex; justify-content: space-between;">
|
||||||
<div style="height: 100%; width: 70%; display: flex; justify-content: space-between;">
|
<div style="height: 100%; width: 70%; display: flex; justify-content: space-between;">
|
||||||
@ -71,7 +71,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-change-1-1" >
|
<div class="card-change-1-1" style="margin: 10px; height: 76vh; ">
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<!-- <span style="font-size: 20px;font-weight: bold">盘点详情</span>-->
|
<!-- <span style="font-size: 20px;font-weight: bold">盘点详情</span>-->
|
||||||
@ -171,9 +171,9 @@
|
|||||||
<el-dialog center :title="title" :visible.sync="open" width="800px" append-to-body :close-on-click-modal="false">
|
<el-dialog center :title="title" :visible.sync="open" width="800px" append-to-body :close-on-click-modal="false">
|
||||||
<el-container>
|
<el-container>
|
||||||
<el-header style="">
|
<el-header style="">
|
||||||
<el-form ref="tankForm" :model="tankForm" label-width="80px">
|
<el-form ref="tankForm" :model="tankForm">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="10">
|
<el-col :span="8">
|
||||||
<el-form-item label="">
|
<el-form-item label="">
|
||||||
<el-select v-model="tankForm.numberId" placeholder="请选择油品油号" style="width:100%" @change="chooseOilNumber()" clearable>
|
<el-select v-model="tankForm.numberId" placeholder="请选择油品油号" style="width:100%" @change="chooseOilNumber()" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
@ -185,13 +185,13 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="10">
|
<el-col :span="8">
|
||||||
<el-form-item label="">
|
<el-form-item label="">
|
||||||
<el-input v-model="tankForm.tankName" placeholder="请输入油罐名称"></el-input>
|
<el-input v-model="tankForm.tankName" placeholder="请输入油罐名称"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="8">
|
||||||
<el-button type="primary" @click="inquireTank()" icon="el-icon-search">搜索</el-button>
|
<el-button type="primary" @click="inquireTank()" icon="el-icon-search" style="float:right; margin-right: 0px;">搜索</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 90vh;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
||||||
<el-form-item label="" prop="purchaseNo">
|
<el-form-item label="" prop="purchaseNo">
|
||||||
<el-input v-model="queryParams.purchaseNo" placeholder="请输入进货单号"/>
|
<el-input v-model="queryParams.purchaseNo" placeholder="请输入进货单号"/>
|
||||||
@ -63,7 +63,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div style="height: 73vh;overflow: auto;scrollbar-width: none">
|
<div style="height: 74vh;overflow: auto;scrollbar-width: none">
|
||||||
<el-table ref="tables"
|
<el-table ref="tables"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:data="purchaseList"
|
:data="purchaseList"
|
||||||
|
@ -227,7 +227,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -458,7 +458,7 @@ export default {
|
|||||||
// 初始化
|
// 初始化
|
||||||
this.orderForm = {}
|
this.orderForm = {}
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "新增采购油品"
|
this.title = "添加采购油品"
|
||||||
this.getOilNameList()
|
this.getOilNameList()
|
||||||
this.selectSuppliers()
|
this.selectSuppliers()
|
||||||
},
|
},
|
||||||
@ -974,5 +974,14 @@ export default {
|
|||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-change-1-search{
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-change-1-1{
|
||||||
|
margin: 10px;
|
||||||
|
height: 74vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -336,6 +336,7 @@ box-sizing: border-box;
|
|||||||
margin-right: 44px;
|
margin-right: 44px;
|
||||||
}
|
}
|
||||||
.card_box{
|
.card_box{
|
||||||
|
height: 90vh;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
|
|
||||||
<div class="card-change">
|
<div class="card-change" style="height: 90vh;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
<el-form-item label="" prop="supplierName">
|
<el-form-item label="" prop="supplierName">
|
||||||
<el-input
|
<el-input
|
||||||
@ -110,7 +110,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<!-- 搜索框-->
|
<!-- 搜索框-->
|
||||||
<div class="card-box">
|
<div class="card-box" style="height: 86vh; margin-bottom: 0px;">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
<el-form-item label="" prop="tankName">
|
<el-form-item label="" prop="tankName">
|
||||||
<el-input
|
<el-input
|
||||||
@ -185,7 +185,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
@ -425,9 +425,9 @@ export default {
|
|||||||
|
|
||||||
.box-card {
|
.box-card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 89vh;
|
height: 91vh;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
margin-bottom: 15px;
|
// margin-bottom: 15px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -497,7 +497,7 @@ export default {
|
|||||||
|
|
||||||
.table-box {
|
.table-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 73vh;
|
height: 75vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -551,12 +551,12 @@ export default {
|
|||||||
|
|
||||||
.box-card {
|
.box-card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 89vh;
|
height: 91vh;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin-bottom: 15px;
|
// margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-gang {
|
.box-gang {
|
||||||
|
@ -715,12 +715,12 @@
|
|||||||
}
|
}
|
||||||
.box-card {
|
.box-card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 89vh;
|
height: 91vh;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin-bottom: 15px;
|
// margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
.box-gang{
|
.box-gang{
|
||||||
//width: 1920px;
|
//width: 1920px;
|
||||||
|
@ -422,12 +422,12 @@ export default {
|
|||||||
|
|
||||||
.box-card {
|
.box-card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 89vh;
|
height: 91vh;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin-bottom: 15px;
|
// margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-gang {
|
.box-gang {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-conts">
|
<div class="app-conts">
|
||||||
<div class="card-change" >
|
<div class="card-change" style="height: 91vh;">
|
||||||
<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="name">
|
<el-form-item label="" prop="name">
|
||||||
<el-input
|
<el-input
|
||||||
@ -28,7 +28,7 @@
|
|||||||
>新增banner图</el-button>
|
>新增banner图</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div style="height: 76vh;overflow: auto">
|
<div style="height: 74vh;overflow: auto">
|
||||||
<el-table :data="tableData" style="width: 100%;" border>
|
<el-table :data="tableData" style="width: 100%;" border>
|
||||||
<el-table-column type="index" align="center" label="序号"></el-table-column>
|
<el-table-column type="index" align="center" label="序号"></el-table-column>
|
||||||
<el-table-column prop="bannerName" align="center" label="banner名称"></el-table-column>
|
<el-table-column prop="bannerName" align="center" label="banner名称"></el-table-column>
|
||||||
@ -151,7 +151,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div style="display: flex;align-items: center;justify-content: center">
|
<div style="display: flex;align-items: center;justify-content: center">
|
||||||
<el-button @click="open=false">取 消</el-button>
|
<el-button @click="open=false">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm('deviceForm')">提交</el-button>
|
<el-button type="primary" @click="submitForm('deviceForm')">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div style="height: 75vh;overflow: auto">
|
<div style="height: 76vh;overflow: auto">
|
||||||
<el-table :data="tableData" style="width: 100%" border>
|
<el-table :data="tableData" style="width: 100%" border>
|
||||||
<el-table-column type="index" align="center" label="序号"></el-table-column>
|
<el-table-column type="index" align="center" label="序号"></el-table-column>
|
||||||
<el-table-column prop="pageName" align="center" label="页面/功能名称"></el-table-column>
|
<el-table-column prop="pageName" align="center" label="页面/功能名称"></el-table-column>
|
||||||
@ -104,7 +104,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
@ -452,7 +452,7 @@
|
|||||||
|
|
||||||
<div style="text-align: center">
|
<div style="text-align: center">
|
||||||
<el-button @click="open = false">取 消</el-button>
|
<el-button @click="open = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm('form')">提交</el-button>
|
<el-button type="primary" @click="submitForm('form')">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
@ -481,7 +481,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" style="text-align: center">
|
<div slot="footer" style="text-align: center">
|
||||||
<el-button @click="open2 = false">取 消</el-button>
|
<el-button @click="open2 = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm2">确 定</el-button>
|
<el-button type="primary" @click="submitForm2">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 充值 -->
|
<!-- 充值 -->
|
||||||
@ -509,7 +509,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div style="text-align: center">
|
<div style="text-align: center">
|
||||||
<el-button @click="open3 = false">取 消</el-button>
|
<el-button @click="open3 = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm3">确 定</el-button>
|
<el-button type="primary" @click="submitForm3">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -1084,7 +1084,7 @@ export default {
|
|||||||
handleAdd(e) {
|
handleAdd(e) {
|
||||||
this.clean()
|
this.clean()
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "新增短信"
|
this.title = "新增短信模板"
|
||||||
},
|
},
|
||||||
edit(e) {
|
edit(e) {
|
||||||
this.clean()
|
this.clean()
|
||||||
@ -1146,7 +1146,7 @@ export default {
|
|||||||
.container_hui{
|
.container_hui{
|
||||||
background: #f6f8f9;
|
background: #f6f8f9;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding-bottom: 10px;
|
// padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-changes{
|
.card-changes{
|
||||||
@ -1155,7 +1155,7 @@ export default {
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
height: 84.5vh;
|
height: 86vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.common-dialog > > > .el-upload--picture-card {
|
.common-dialog > > > .el-upload--picture-card {
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="height: 71vh;overflow: auto;width: 100%;scrollbar-width: none">
|
<div style="height: 76vh;overflow: auto;width: 100%;scrollbar-width: none">
|
||||||
<el-table :data="tableData" style="width: 100%" border>
|
<el-table :data="tableData" style="width: 100%" border>
|
||||||
<el-table-column type="index" label="序号"></el-table-column>
|
<el-table-column type="index" label="序号"></el-table-column>
|
||||||
<el-table-column prop="createAccount" label="登录账号"></el-table-column>
|
<el-table-column prop="createAccount" label="登录账号"></el-table-column>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div style="height: 68vh;overflow: auto">
|
<div style="height: 70vh;overflow: auto">
|
||||||
|
|
||||||
<el-table :data="tableData" style="width: 100%" border>
|
<el-table :data="tableData" style="width: 100%" border>
|
||||||
<el-table-column align="center" type="index" label="序号"></el-table-column>
|
<el-table-column align="center" type="index" label="序号"></el-table-column>
|
||||||
@ -332,12 +332,12 @@ export default {
|
|||||||
this.getDutyList()
|
this.getDutyList()
|
||||||
this.form.conditions = [{}]
|
this.form.conditions = [{}]
|
||||||
|
|
||||||
this.title = "增加通知模板"
|
this.title = "新增通知模板"
|
||||||
},
|
},
|
||||||
edit(e) {
|
edit(e) {
|
||||||
this.clean()
|
this.clean()
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "编辑通知模板"
|
this.title = "修改通知模板"
|
||||||
this.getDutyList()
|
this.getDutyList()
|
||||||
|
|
||||||
this.form = e
|
this.form = e
|
||||||
@ -479,7 +479,7 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
.cards-change{
|
.cards-change{
|
||||||
height: 81vh;
|
height: 83vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -150,8 +150,8 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div style="display: flex; justify-content: center; align-items: center;margin-top: 30px">
|
<div style="display: flex; justify-content: center; align-items: center;margin-top: 30px">
|
||||||
<el-button type="primary" @click="userEnter1">确定</el-button>
|
|
||||||
<el-button @click="userCe2">取 消</el-button>
|
<el-button @click="userCe2">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="userEnter1">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog center :title="title" :close-on-click-modal="false" :visible.sync="open1" width="50%" append-to-body>
|
<el-dialog center :title="title" :close-on-click-modal="false" :visible.sync="open1" width="50%" append-to-body>
|
||||||
@ -399,7 +399,7 @@ export default {
|
|||||||
this.onlyGetUser()
|
this.onlyGetUser()
|
||||||
getSysNotifyInfo(e.id).then(res => {
|
getSysNotifyInfo(e.id).then(res => {
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "编辑通知"
|
this.title = "修改通知"
|
||||||
this.form = res.data
|
this.form = res.data
|
||||||
if (this.form.recipientUser) {
|
if (this.form.recipientUser) {
|
||||||
this.form.recipientUser = JSON.parse(this.form.recipientUser)
|
this.form.recipientUser = JSON.parse(this.form.recipientUser)
|
||||||
@ -557,7 +557,7 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
.cards-change{
|
.cards-change{
|
||||||
height: 81vh;
|
height: 83vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -197,7 +197,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<el-dialog center :close-on-click-modal="false" :title="addMerchantTitile" :visible.sync="addMerchants" width="26%">
|
<el-dialog center :close-on-click-modal="false" :title="addMerchantTitile" :visible.sync="addMerchants" width="28%">
|
||||||
<el-form :model="form" ref="formAdd" :rules="rules" :inline="true">
|
<el-form :model="form" ref="formAdd" :rules="rules" :inline="true">
|
||||||
<el-form-item label="所属机构" style="margin-right: 0px" :label-width="formLabelWidth" prop="deptId">
|
<el-form-item label="所属机构" style="margin-right: 0px" :label-width="formLabelWidth" prop="deptId">
|
||||||
<el-select v-model="form.deptId+''" disabled placeholder="请选择所属机构" style="width: 350px">
|
<el-select v-model="form.deptId+''" disabled placeholder="请选择所属机构" style="width: 350px">
|
||||||
@ -235,7 +235,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="addMerchants = false">取 消</el-button>
|
<el-button @click="addMerchants = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitMerchant">确 定</el-button>
|
<el-button type="primary" @click="submitMerchant">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog center :close-on-click-modal="false" :title="Ruletitle" :visible.sync="addRule">
|
<el-dialog center :close-on-click-modal="false" :title="Ruletitle" :visible.sync="addRule">
|
||||||
@ -330,7 +330,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer" v-if="Ruletitle != '查看商户信息'">
|
<div slot="footer" class="dialog-footer" v-if="Ruletitle != '查看商户信息'">
|
||||||
<el-button @click="addRule = false">取 消</el-button>
|
<el-button @click="addRule = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitAddRule">确 定</el-button>
|
<el-button type="primary" @click="submitAddRule">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog center :close-on-click-modal="false" title="启用" :visible.sync="Enable" width="650px">
|
<el-dialog center :close-on-click-modal="false" title="启用" :visible.sync="Enable" width="650px">
|
||||||
@ -704,7 +704,7 @@ export default {
|
|||||||
this.Ruletitle = '查看商户信息';
|
this.Ruletitle = '查看商户信息';
|
||||||
this.isEditable = false;
|
this.isEditable = false;
|
||||||
}else {
|
}else {
|
||||||
this.Ruletitle = '修改商户信息';
|
this.Ruletitle = '修改规则';
|
||||||
this.isEditable = true;
|
this.isEditable = true;
|
||||||
}
|
}
|
||||||
this.addRule = true
|
this.addRule = true
|
||||||
|
@ -347,12 +347,12 @@ export default {
|
|||||||
handleAdd(e) {
|
handleAdd(e) {
|
||||||
this.clean()
|
this.clean()
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "新增设备"
|
this.title = "新增设备信息"
|
||||||
},
|
},
|
||||||
edit(e) {
|
edit(e) {
|
||||||
this.clean()
|
this.clean()
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "编辑设备"
|
this.title = "修改设备信息"
|
||||||
console.log("eeeeeeee", e)
|
console.log("eeeeeeee", e)
|
||||||
if (e.staffIds) {
|
if (e.staffIds) {
|
||||||
let a = JSON.parse(e.staffIds)
|
let a = JSON.parse(e.staffIds)
|
||||||
|
@ -225,7 +225,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -926,6 +926,7 @@ export default {
|
|||||||
margin-right: 44px;
|
margin-right: 44px;
|
||||||
}
|
}
|
||||||
.cont_box{
|
.cont_box{
|
||||||
|
height: 90vh;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -789,7 +789,7 @@ export default {
|
|||||||
// this.form.takeEffect = JSON.parse(this.form.takeEffect)
|
// this.form.takeEffect = JSON.parse(this.form.takeEffect)
|
||||||
this.form.royaltyRate = this.form.royaltyRate.slice(0, this.form.royaltyRate.length - 1)
|
this.form.royaltyRate = this.form.royaltyRate.slice(0, this.form.royaltyRate.length - 1)
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "编辑提成方案";
|
this.title = "修改提成方案";
|
||||||
if (response.data.staffRoleGroup) {
|
if (response.data.staffRoleGroup) {
|
||||||
this.staffRoleGroup = response.data.staffRoleGroup.split(",");
|
this.staffRoleGroup = response.data.staffRoleGroup.split(",");
|
||||||
}
|
}
|
||||||
@ -939,7 +939,6 @@ export default {
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -528,7 +528,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -686,8 +686,8 @@
|
|||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm2">确 定</el-button>
|
|
||||||
<el-button @click="cancel2">取 消</el-button>
|
<el-button @click="cancel2">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="submitForm2">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@ -1360,7 +1360,7 @@ export default {
|
|||||||
this.tindex2 = res.data.suitDateType
|
this.tindex2 = res.data.suitDateType
|
||||||
this.tindex3 = res.data.suitTimeSlotType
|
this.tindex3 = res.data.suitTimeSlotType
|
||||||
this.tindex4 = res.data.noUseTimeType
|
this.tindex4 = res.data.noUseTimeType
|
||||||
this.title = "修改会员折扣"
|
this.title = "修改折扣"
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除按钮操作
|
// 删除按钮操作
|
||||||
@ -1871,7 +1871,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "编辑会员等级";
|
this.title = "修改会员等级";
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 删除按钮操作
|
// 删除按钮操作
|
||||||
|
@ -8,10 +8,13 @@ import {
|
|||||||
updateYearApi
|
updateYearApi
|
||||||
} from "@/api/system/Site/compant";
|
} from "@/api/system/Site/compant";
|
||||||
|
|
||||||
|
import { getDeptName} from '@/api/indexBanner/index'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "afterff",
|
name: "afterff",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
deptName:'',
|
||||||
dialogVisible:false,
|
dialogVisible:false,
|
||||||
dialogVisible2:false,
|
dialogVisible2:false,
|
||||||
tableData: [],
|
tableData: [],
|
||||||
@ -34,8 +37,15 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.getData();
|
this.getData();
|
||||||
|
this.getDeptName();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getDeptName(){
|
||||||
|
getDeptName().then(res=>{
|
||||||
|
console.log("获取到的deptName",res)
|
||||||
|
this.deptName = res.data.deptName
|
||||||
|
})
|
||||||
|
},
|
||||||
getList() {
|
getList() {
|
||||||
getAfterListApi({deptId : this.deptId}).then(res => {
|
getAfterListApi({deptId : this.deptId}).then(res => {
|
||||||
this.tableData = res.data.records
|
this.tableData = res.data.records
|
||||||
@ -160,11 +170,12 @@ export default {
|
|||||||
align="center"
|
align="center"
|
||||||
label="创建人">
|
label="创建人">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column
|
<el-table-column
|
||||||
|
v-if = "this.deptName === '百业兴总部'"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="操作"
|
label="操作"
|
||||||
> -->
|
>
|
||||||
<!-- <template slot="header" slot-scope="scope">-->
|
<!-- <template slot="header" slot-scope="scope">-->
|
||||||
<!-- <el-button-->
|
<!-- <el-button-->
|
||||||
<!-- size="mini"-->
|
<!-- size="mini"-->
|
||||||
@ -172,14 +183,14 @@ export default {
|
|||||||
<!-- >新增</el-button>-->
|
<!-- >新增</el-button>-->
|
||||||
<!-- 操作-->
|
<!-- 操作-->
|
||||||
<!-- </template>-->
|
<!-- </template>-->
|
||||||
<!-- <template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleEdit(scope.row)">修改</el-button>
|
@click="handleEdit(scope.row)">修改</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleEditshoukuan(scope.row)">收款</el-button>
|
@click="handleEditshoukuan(scope.row)">收款</el-button>
|
||||||
</template> -->
|
</template>
|
||||||
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -68,7 +68,7 @@ export default {
|
|||||||
.app-top{
|
.app-top{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
//margin-bottom: 20px;
|
//margin-bottom: 20px;
|
||||||
height: 52px;
|
height: 41px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -19,5 +19,6 @@ public interface PaymentParameterConfigMapper extends BaseMapper<PaymentParamete
|
|||||||
IPage<PaymentParameterConfigVo> selectListPage(Page page,@Param("entity") PaymentParameterConfigVo paymentParameterConfigVo,@Param("ownDeptStr") String ownDeptStr);
|
IPage<PaymentParameterConfigVo> selectListPage(Page page,@Param("entity") PaymentParameterConfigVo paymentParameterConfigVo,@Param("ownDeptStr") String ownDeptStr);
|
||||||
|
|
||||||
PaymentParameterConfigVo selectInfoById(@Param("id") Integer id);
|
PaymentParameterConfigVo selectInfoById(@Param("id") Integer id);
|
||||||
|
List<PaymentParameterConfig> selectListByDeptId(Integer deptId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,5 +34,24 @@
|
|||||||
LEFT JOIN t_account ta ON ppc.create_by = ta.acct_id
|
LEFT JOIN t_account ta ON ppc.create_by = ta.acct_id
|
||||||
where ppc.id = #{id}
|
where ppc.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="selectListByDeptId" resultType="com.fuint.api.fuyou.entity.PaymentParameterConfig"
|
||||||
|
parameterType="java.lang.Integer">
|
||||||
|
SELECT ppc.id,
|
||||||
|
ppc.dept_id,
|
||||||
|
CONCAT(sd.dept_name, '-' , ppc.payment_channel) as payment_channel,
|
||||||
|
ppc.ins_cd,
|
||||||
|
ppc.public_key,
|
||||||
|
ppc.private_key,ppc.contact,
|
||||||
|
ppc.information,
|
||||||
|
ppc.status,
|
||||||
|
ppc.create_time,
|
||||||
|
ppc.update_time,
|
||||||
|
ppc.create_by,
|
||||||
|
ppc.update_by
|
||||||
|
FROM payment_parameter_config ppc
|
||||||
|
join sys_dept sd on ppc.dept_id = sd.dept_id
|
||||||
|
WHERE ppc.dept_id = #{deptId}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
||||||
|
@ -218,7 +218,7 @@ public class MerchantConfigServiceImpl extends ServiceImpl<MerchantConfigMapper,
|
|||||||
}
|
}
|
||||||
merchantConfig.setStoreId(storeId);
|
merchantConfig.setStoreId(storeId);
|
||||||
int row = 0;
|
int row = 0;
|
||||||
if (merchantConfig.getMerchantName().equals("富友")){
|
if (merchantConfig.getMerchantName().split("-")[1].equals("富友")){
|
||||||
merchantConfig.setInsCd(FuYouPublicMerchant.insCd);
|
merchantConfig.setInsCd(FuYouPublicMerchant.insCd);
|
||||||
merchantConfig.setPublicKey(FuYouPublicMerchant.publicKey);
|
merchantConfig.setPublicKey(FuYouPublicMerchant.publicKey);
|
||||||
merchantConfig.setPrivateKey(FuYouPublicMerchant.privateKey);
|
merchantConfig.setPrivateKey(FuYouPublicMerchant.privateKey);
|
||||||
|
@ -13,6 +13,7 @@ import com.fuint.api.fuyou.vo.PaymentParameterConfigVo;
|
|||||||
import com.fuint.common.dto.AccountInfo;
|
import com.fuint.common.dto.AccountInfo;
|
||||||
import com.fuint.common.util.TokenUtil;
|
import com.fuint.common.util.TokenUtil;
|
||||||
import com.fuint.system.dept.entity.SysDept;
|
import com.fuint.system.dept.entity.SysDept;
|
||||||
|
import com.fuint.system.dept.mapper.SysDeptMapper;
|
||||||
import com.fuint.system.dept.service.ISysDeptService;
|
import com.fuint.system.dept.service.ISysDeptService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Lazy;
|
import org.springframework.context.annotation.Lazy;
|
||||||
@ -21,6 +22,7 @@ import org.springframework.data.domain.PageImpl;
|
|||||||
import org.springframework.data.domain.PageRequest;
|
import org.springframework.data.domain.PageRequest;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -36,6 +38,9 @@ public class PaymentParameterConfigServiceImpl extends ServiceImpl<PaymentParame
|
|||||||
@Lazy
|
@Lazy
|
||||||
private ISysDeptService deptService;
|
private ISysDeptService deptService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private SysDeptMapper sysDeptMapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过ID查询单条数据
|
* 通过ID查询单条数据
|
||||||
*
|
*
|
||||||
@ -117,11 +122,29 @@ public class PaymentParameterConfigServiceImpl extends ServiceImpl<PaymentParame
|
|||||||
return baseMapper.selectInfoById(id);
|
return baseMapper.selectInfoById(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @Override
|
||||||
|
// public List<PaymentParameterConfig> selectListByDeptID(Integer deptId) {
|
||||||
|
// QueryWrapper queryWrapper = new QueryWrapper<>();
|
||||||
|
// queryWrapper.eq("dept_id",deptId);
|
||||||
|
// return baseMapper.selectList(queryWrapper);
|
||||||
|
// }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<PaymentParameterConfig> selectListByDeptID(Integer deptId) {
|
public List<PaymentParameterConfig> selectListByDeptID(Integer deptId) {
|
||||||
QueryWrapper queryWrapper = new QueryWrapper<>();
|
List<PaymentParameterConfig> resultList = new ArrayList<>();
|
||||||
queryWrapper.eq("dept_id",deptId);
|
selectListByDeptIDRecursive(deptId, resultList);
|
||||||
return baseMapper.selectList(queryWrapper);
|
return resultList;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void selectListByDeptIDRecursive(Integer deptId, List<PaymentParameterConfig> resultList) {
|
||||||
|
List<PaymentParameterConfig> selectList = baseMapper.selectListByDeptId(deptId);
|
||||||
|
if (CollectionUtil.isNotEmpty(selectList)) {
|
||||||
|
resultList.addAll(selectList);
|
||||||
|
SysDept sysDept = sysDeptMapper.selectById(deptId);
|
||||||
|
if (sysDept != null && sysDept.getParentId() != null) {
|
||||||
|
selectListByDeptIDRecursive(sysDept.getParentId().intValue(), resultList);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user