no message

This commit is contained in:
wangh 2024-05-20 09:03:12 +08:00
parent 302abd49e9
commit 74a67d07e3
3 changed files with 23 additions and 20 deletions

View File

@ -31,18 +31,18 @@
placeholder="结束日期"> placeholder="结束日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="机构:" prop="deptId"> <!-- <el-form-item label="机构:" prop="deptId">-->
<el-select <!-- <el-select-->
v-model="queryParams.deptId" <!-- v-model="queryParams.deptId"-->
clearable <!-- clearable-->
placeholder="全部" <!-- placeholder="全部"-->
> <!-- >-->
<el-option v-for="item in deptList" :key="item.id" :label="item.deptName" :value="item.deptId"> <!-- <el-option v-for="item in deptList" :key="item.id" :label="item.deptName" :value="item.deptId">-->
</el-option> <!-- </el-option>-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="支付渠道:" prop="payChannel"> <el-form-item label="支付渠道:" prop="payChannel">
<el-select <el-select
v-model="queryParams.payChannel" v-model="queryParams.payChannel"
@ -265,7 +265,7 @@
<script> <script>
import { import {
exportExcelTradingApi, exportExcelTradingApi, getmyDataApi,
getRunningWaterByTissueApi, getRunningWaterByTissueApi,
getTissueByDataApi, getTissueByDataApi,
getTradingPageApi getTradingPageApi
@ -336,8 +336,11 @@ import {
}, },
methods:{ methods:{
getDeptList() { getDeptList() {
getRunningWaterByTissueApi(this.addDateRange(this.queryParams)).then( response => { // getRunningWaterByTissueApi(this.addDateRange(this.queryParams)).then( response => {
this.deptList = response.data.records; // this.deptList = response.data.records;
// })
getmyDataApi(this.addDateRange(this.queryParams)).then( response => {
this.queryParams.deptId = response.data.deptId;
}) })
}, },
exportExcelCashier() { exportExcelCashier() {

View File

@ -3,7 +3,7 @@
<div class="app-top"> <div class="app-top">
<el-card> <el-card>
<el-radio-group v-model="radio1"> <el-radio-group v-model="radio1">
<el-radio-button label="机构流水分析"></el-radio-button> <!-- <el-radio-button label="机构流水分析"></el-radio-button>-->
<el-radio-button label="油站流水分析"></el-radio-button> <el-radio-button label="油站流水分析"></el-radio-button>
<el-radio-button label="无流水门店"></el-radio-button> <el-radio-button label="无流水门店"></el-radio-button>
<el-radio-button label="日流水分析"></el-radio-button> <el-radio-button label="日流水分析"></el-radio-button>

View File

@ -202,8 +202,8 @@ import {
this.$download.saveAs(blob,'流水订单统计.xLsx') this.$download.saveAs(blob,'流水订单统计.xLsx')
}) })
}, },
//
//
getOrderStatistics() { getOrderStatistics() {
let dateRange = [] let dateRange = []
if (this.beginTime && this.endTime) { if (this.beginTime && this.endTime) {