|
@@ -12,7 +12,7 @@
|
|
<el-form :inline="true" size="small" v-model="listQuery1">
|
|
<el-form :inline="true" size="small" v-model="listQuery1">
|
|
<el-form-item label="城市">
|
|
<el-form-item label="城市">
|
|
<el-select v-model="listQuery1.city" clearable placeholder="请选择城市" multiple>
|
|
<el-select v-model="listQuery1.city" clearable placeholder="请选择城市" multiple>
|
|
- <el-option v-for="(item,index) in cityList2" :key="index" :label="item" :value="item"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in cityList2" :key="index" :label="item" :value="item"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="业务线">
|
|
<el-form-item label="业务线">
|
|
@@ -26,18 +26,21 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="订单来源">
|
|
<el-form-item label="订单来源">
|
|
<el-select v-model="listQuery1.channel" placeholder="请选择订单来源" clearable>
|
|
<el-select v-model="listQuery1.channel" placeholder="请选择订单来源" clearable>
|
|
- <el-option v-for="(item,index) in channelList" :key="index" :label="item" :value="item"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in channelList" :key="index" :label="item" :value="item"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="时间段">
|
|
<el-form-item label="时间段">
|
|
- <el-date-picker v-model="listQuery1.createTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" :picker-options="pickerOptions"></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="listQuery1.createTime" type="daterange" range-separator="至"
|
|
|
|
+ start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd"
|
|
|
|
+ :picker-options="pickerOptions"></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch1(false)">查询</el-button>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch1(false)">查询</el-button>
|
|
- <el-button type="primary" icon="el-icon-download" @click="querySearch1(true)" v-per="'downloadSale1'">导出</el-button>
|
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-download" @click="querySearch1(true)"
|
|
|
|
+ v-per="'downloadSale1'">导出</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
-
|
|
|
|
|
|
+
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
<!-- 列表数据 -->
|
|
<!-- 列表数据 -->
|
|
@@ -47,10 +50,10 @@
|
|
<el-table-column prop="city" label="城市"></el-table-column>
|
|
<el-table-column prop="city" label="城市"></el-table-column>
|
|
<el-table-column prop="channel" label="渠道"></el-table-column>
|
|
<el-table-column prop="channel" label="渠道"></el-table-column>
|
|
<el-table-column prop="samllType" label="商品类型"></el-table-column>
|
|
<el-table-column prop="samllType" label="商品类型"></el-table-column>
|
|
- <el-table-column prop="goodsName" label="商品名称"></el-table-column>
|
|
|
|
- <el-table-column prop="levelOne" label="一级分类"></el-table-column>
|
|
|
|
- <el-table-column prop="levelTwo" label="二级分类"></el-table-column>
|
|
|
|
- <el-table-column prop="keyWord" label="关键字"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="goodsName" label="商品名称"></el-table-column>
|
|
|
|
+ <el-table-column prop="levelOne" label="一级分类"></el-table-column>
|
|
|
|
+ <el-table-column prop="levelTwo" label="二级分类"></el-table-column>
|
|
|
|
+ <el-table-column prop="keyWord" label="关键字"></el-table-column>
|
|
<el-table-column prop="goodsPrice" label="商品价格"></el-table-column>
|
|
<el-table-column prop="goodsPrice" label="商品价格"></el-table-column>
|
|
<el-table-column prop="payDate" label="支付日期"></el-table-column>
|
|
<el-table-column prop="payDate" label="支付日期"></el-table-column>
|
|
<el-table-column prop="payAmount" label="支付金额"></el-table-column>
|
|
<el-table-column prop="payAmount" label="支付金额"></el-table-column>
|
|
@@ -63,14 +66,16 @@
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
|
<!-- 分页 -->
|
|
<!-- 分页 -->
|
|
- <pagination :total="total1" :page.sync="currentPage1" :limit.sync="pageSize1" @pagination="querySearch1(false)" />
|
|
|
|
|
|
+ <pagination :total="total1" :page.sync="currentPage1" :limit.sync="pageSize1"
|
|
|
|
+ @pagination="querySearch1(false)" />
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane label="各渠道销售明细">
|
|
<el-tab-pane label="各渠道销售明细">
|
|
<!-- 搜索 -->
|
|
<!-- 搜索 -->
|
|
<el-form :inline="true" size="small" v-model="listQuery2">
|
|
<el-form :inline="true" size="small" v-model="listQuery2">
|
|
<el-form-item label="城市">
|
|
<el-form-item label="城市">
|
|
<el-select v-model="listQuery2.city" clearable placeholder="请选择城市" multiple>
|
|
<el-select v-model="listQuery2.city" clearable placeholder="请选择城市" multiple>
|
|
- <el-option v-for="(item,index) in cityList" :key="index" :label="item.dataName" :value="item.dataName"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in cityList" :key="index" :label="item.dataName"
|
|
|
|
+ :value="item.dataName"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="业务线">
|
|
<el-form-item label="业务线">
|
|
@@ -84,16 +89,19 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="订单来源">
|
|
<el-form-item label="订单来源">
|
|
<el-select v-model="listQuery2.channel" placeholder="请选择订单来源" clearable>
|
|
<el-select v-model="listQuery2.channel" placeholder="请选择订单来源" clearable>
|
|
- <el-option v-for="(item,index) in channelList" :key="index" :label="item" :value="item"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in channelList" :key="index" :label="item" :value="item"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="时间段">
|
|
<el-form-item label="时间段">
|
|
- <el-date-picker v-model="listQuery2.createTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" :picker-options="pickerOptions"></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="listQuery2.createTime" type="daterange" range-separator="至"
|
|
|
|
+ start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd"
|
|
|
|
+ :picker-options="pickerOptions"></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch2">查询</el-button>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch2">查询</el-button>
|
|
- <el-button type="primary" icon="el-icon-download" @click="downloadSale2" v-per="'downloadSale2'">导出</el-button>
|
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-download" @click="downloadSale2"
|
|
|
|
+ v-per="'downloadSale2'">导出</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
@@ -102,7 +110,7 @@
|
|
<el-table-column prop="index" label="序号" type="index" width="50px" fixed="left"></el-table-column>
|
|
<el-table-column prop="index" label="序号" type="index" width="50px" fixed="left"></el-table-column>
|
|
<el-table-column prop="channel" label="渠道"></el-table-column>
|
|
<el-table-column prop="channel" label="渠道"></el-table-column>
|
|
<el-table-column prop="channelNo" label="渠道编号"></el-table-column>
|
|
<el-table-column prop="channelNo" label="渠道编号"></el-table-column>
|
|
- <el-table-column prop="payOrderNo" label="付款单号" ></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="payOrderNo" label="付款单号"></el-table-column>
|
|
<el-table-column prop="city" label="城市"></el-table-column>
|
|
<el-table-column prop="city" label="城市"></el-table-column>
|
|
<el-table-column prop="shopName" label="门店"></el-table-column>
|
|
<el-table-column prop="shopName" label="门店"></el-table-column>
|
|
<el-table-column prop="levelOne" label="一级分类"></el-table-column>
|
|
<el-table-column prop="levelOne" label="一级分类"></el-table-column>
|
|
@@ -124,12 +132,18 @@
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane label="盒马销售明细">
|
|
<el-tab-pane label="盒马销售明细">
|
|
<!-- 搜索 -->
|
|
<!-- 搜索 -->
|
|
- <el-form :inline="true" size="small" v-model="listQuery10">
|
|
|
|
- <el-form-item label="付款手机">
|
|
|
|
|
|
+ <el-form :inline="true" size="small" v-model="listQuery10">
|
|
|
|
+ <el-form-item label="付款手机">
|
|
<el-input v-model="listQuery10.buyerPhone" clearable placeholder="请输入付款手机"></el-input>
|
|
<el-input v-model="listQuery10.buyerPhone" clearable placeholder="请输入付款手机"></el-input>
|
|
- </el-form-item>
|
|
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="服务日期">
|
|
|
|
+ <el-date-picker v-model="timeArray10" type="datetimerange" start-placeholder="支付开始日期"
|
|
|
|
+ end-placeholder="支付结束日期" style="width:360px" value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
+ :picker-options="{}"></el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
- <el-button icon="el-icon-search" type="primary" plan @click="querySearch10">查询</el-button>
|
|
|
|
|
|
+ <el-button icon="el-icon-search" type="primary" plan @click="querySearch10(false)">查询</el-button>
|
|
|
|
+ <el-button type="primary" icon="el-icon-download" @click="querySearch10(true)">导出</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
@@ -139,7 +153,7 @@
|
|
<el-table-column prop="buyerPhone" label="付款手机"></el-table-column>
|
|
<el-table-column prop="buyerPhone" label="付款手机"></el-table-column>
|
|
<el-table-column prop="payId" label="订单编号"></el-table-column>
|
|
<el-table-column prop="payId" label="订单编号"></el-table-column>
|
|
<el-table-column prop="payDate" label="支付时间"></el-table-column>
|
|
<el-table-column prop="payDate" label="支付时间"></el-table-column>
|
|
- <el-table-column prop="payFee" label="支付金额" ></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="payFee" label="支付金额"></el-table-column>
|
|
<el-table-column prop="city" label="城市"></el-table-column>
|
|
<el-table-column prop="city" label="城市"></el-table-column>
|
|
<el-table-column prop="shopName" label="门店"></el-table-column>
|
|
<el-table-column prop="shopName" label="门店"></el-table-column>
|
|
<el-table-column prop="goodsName" label="商品名称"></el-table-column>
|
|
<el-table-column prop="goodsName" label="商品名称"></el-table-column>
|
|
@@ -149,8 +163,8 @@
|
|
<el-table-column prop="lastSerTime" label="最近一次服务"></el-table-column>
|
|
<el-table-column prop="lastSerTime" label="最近一次服务"></el-table-column>
|
|
<el-table-column prop="lastTradeNo" label="最近一次服务工单号"></el-table-column>
|
|
<el-table-column prop="lastTradeNo" label="最近一次服务工单号"></el-table-column>
|
|
<el-table-column prop="status" label="状态"></el-table-column>
|
|
<el-table-column prop="status" label="状态"></el-table-column>
|
|
- <el-table-column prop="refundDate" label="退款日期"></el-table-column>
|
|
|
|
- <el-table-column prop="guideName" label="导购员"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="refundDate" label="退款日期"></el-table-column>
|
|
|
|
+ <el-table-column prop="guideName" label="导购员"></el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
|
<!-- 分页 -->
|
|
<!-- 分页 -->
|
|
@@ -161,7 +175,7 @@
|
|
<el-form :inline="true" size="small" v-model="listQuery3">
|
|
<el-form :inline="true" size="small" v-model="listQuery3">
|
|
<el-form-item label="城市">
|
|
<el-form-item label="城市">
|
|
<el-select v-model="listQuery3.city" style="width:180px" clearable placeholder="请选择城市" multiple>
|
|
<el-select v-model="listQuery3.city" style="width:180px" clearable placeholder="请选择城市" multiple>
|
|
- <el-option v-for="(item,index) in cityList2" :key="index" :label="item" :value="item"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in cityList2" :key="index" :label="item" :value="item"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="业务线">
|
|
<el-form-item label="业务线">
|
|
@@ -175,12 +189,14 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="订单来源">
|
|
<el-form-item label="订单来源">
|
|
<el-select v-model="listQuery3.channel" placeholder="请选择订单来源" style="width:160px" clearable>
|
|
<el-select v-model="listQuery3.channel" placeholder="请选择订单来源" style="width:160px" clearable>
|
|
- <el-option v-for="(item,index) in channelList" :key="index" :label="item" :value="item"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in channelList" :key="index" :label="item" :value="item"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="时间段">
|
|
<el-form-item label="时间段">
|
|
- <el-date-picker v-model="listQuery3.createTime" type="daterange" style="width:250px" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd" :picker-options="pickerOptions"></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="listQuery3.createTime" type="daterange" style="width:250px" range-separator="至"
|
|
|
|
+ start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"
|
|
|
|
+ :picker-options="pickerOptions"></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch3">查询</el-button>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch3">查询</el-button>
|
|
@@ -193,8 +209,8 @@
|
|
<el-table-column prop="index" label="序号" type="index" width="50px" fixed="left"></el-table-column>
|
|
<el-table-column prop="index" label="序号" type="index" width="50px" fixed="left"></el-table-column>
|
|
<el-table-column prop="dates" label="日期"></el-table-column>
|
|
<el-table-column prop="dates" label="日期"></el-table-column>
|
|
<el-table-column prop="channel" label="渠道"></el-table-column>
|
|
<el-table-column prop="channel" label="渠道"></el-table-column>
|
|
- <el-table-column prop="city" label="城市"></el-table-column>
|
|
|
|
- <el-table-column prop="salesType" label="销售类型"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="city" label="城市"></el-table-column>
|
|
|
|
+ <el-table-column prop="salesType" label="销售类型"></el-table-column>
|
|
<el-table-column prop="levelOne" label="一级分类"></el-table-column>
|
|
<el-table-column prop="levelOne" label="一级分类"></el-table-column>
|
|
<el-table-column prop="levelTwo" label="二级分类"></el-table-column>
|
|
<el-table-column prop="levelTwo" label="二级分类"></el-table-column>
|
|
<el-table-column prop="keyWord" label="关键字"></el-table-column>
|
|
<el-table-column prop="keyWord" label="关键字"></el-table-column>
|
|
@@ -218,11 +234,11 @@
|
|
<el-form :inline="true" size="small" v-model="listQuery4">
|
|
<el-form :inline="true" size="small" v-model="listQuery4">
|
|
<el-form-item label="城市">
|
|
<el-form-item label="城市">
|
|
<el-select v-model="listQuery4.city" style="width:180px" clearable placeholder="请选择城市" multiple>
|
|
<el-select v-model="listQuery4.city" style="width:180px" clearable placeholder="请选择城市" multiple>
|
|
- <el-option v-for="(item,index) in cityList2" :key="index" :label="item" :value="item"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in cityList2" :key="index" :label="item" :value="item"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="服务单状态">
|
|
<el-form-item label="服务单状态">
|
|
- <el-select v-model="listQuery4.status" style="width:180px" placeholder="请选择服务单状态" clearable multiple>
|
|
|
|
|
|
+ <el-select v-model="listQuery4.status" style="width:180px" placeholder="请选择服务单状态" clearable multiple>
|
|
<el-option label="待上门" value="待上门"></el-option>
|
|
<el-option label="待上门" value="待上门"></el-option>
|
|
<el-option label="待履约" value="待履约"></el-option>
|
|
<el-option label="待履约" value="待履约"></el-option>
|
|
<el-option label="服务中" value="服务中"></el-option>
|
|
<el-option label="服务中" value="服务中"></el-option>
|
|
@@ -242,18 +258,22 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="订单来源">
|
|
<el-form-item label="订单来源">
|
|
<el-select v-model="listQuery4.channel" placeholder="请选择订单来源" style="width:160px" clearable>
|
|
<el-select v-model="listQuery4.channel" placeholder="请选择订单来源" style="width:160px" clearable>
|
|
- <el-option v-for="(item,index) in channelList" :key="index" :label="item" :value="item"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in channelList" :key="index" :label="item" :value="item"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="时间段">
|
|
<el-form-item label="时间段">
|
|
- <el-date-picker v-model="listQuery4.createTime" style="width:250px" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd" :picker-options="pickerOptions"></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="listQuery4.createTime" style="width:250px" type="daterange" range-separator="至"
|
|
|
|
+ start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"
|
|
|
|
+ :picker-options="pickerOptions"></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch4">查询</el-button>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch4">查询</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-button type="primary" icon="el-icon-download" @click="downloadService" v-per="'downloadService'">导出</el-button>
|
|
|
|
- <div style="color:red;font-size:12px">注:从2024年1月开始,服务GMV包括服务已完成、已提供、到期待履约的数据;对应字段服务状态(已确认=服务已完成,待确认=待履约、服务以提供、我已上门)</div>
|
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-download" @click="downloadService"
|
|
|
|
+ v-per="'downloadService'">导出</el-button>
|
|
|
|
+ <div style="color:red;font-size:12px">
|
|
|
|
+ 注:从2024年1月开始,服务GMV包括服务已完成、已提供、到期待履约的数据;对应字段服务状态(已确认=服务已完成,待确认=待履约、服务以提供、我已上门)</div>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
<!-- 列表数据 -->
|
|
<!-- 列表数据 -->
|
|
@@ -287,7 +307,8 @@
|
|
<el-form :inline="true" size="small" v-model="listQuery5">
|
|
<el-form :inline="true" size="small" v-model="listQuery5">
|
|
<el-form-item label="城市">
|
|
<el-form-item label="城市">
|
|
<el-select v-model="listQuery5.city" clearable placeholder="请选择城市" multiple>
|
|
<el-select v-model="listQuery5.city" clearable placeholder="请选择城市" multiple>
|
|
- <el-option v-for="(item,index) in cityList" :key="index" :label="item.dataName" :value="item.dataName"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in cityList" :key="index" :label="item.dataName"
|
|
|
|
+ :value="item.dataName"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="业务线">
|
|
<el-form-item label="业务线">
|
|
@@ -301,11 +322,14 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="日期">
|
|
<el-form-item label="日期">
|
|
- <el-date-picker v-model="listQuery5.createTime" type="date" placeholder="请选择日期" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd" :picker-options="pickerOptions"></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="listQuery5.createTime" type="date" placeholder="请选择日期" range-separator="至"
|
|
|
|
+ start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"
|
|
|
|
+ :picker-options="pickerOptions"></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch5">查询</el-button>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch5">查询</el-button>
|
|
- <el-button type="primary" icon="el-icon-download" @click="downloadSale5" v-per="'downloadSale5'">导出</el-button>
|
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-download" @click="downloadSale5"
|
|
|
|
+ v-per="'downloadSale5'">导出</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
@@ -338,7 +362,9 @@
|
|
<el-tab-pane label="非盒马渠道当月实销额扇形图">
|
|
<el-tab-pane label="非盒马渠道当月实销额扇形图">
|
|
<el-form :inline="true" size="small" v-model="listQuery6">
|
|
<el-form :inline="true" size="small" v-model="listQuery6">
|
|
<el-form-item label="时间段">
|
|
<el-form-item label="时间段">
|
|
- <el-date-picker v-model="listQuery6.createTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd" :picker-options="pickerOptions"></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="listQuery6.createTime" type="daterange" range-separator="至"
|
|
|
|
+ start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"
|
|
|
|
+ :picker-options="pickerOptions"></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch6">查询</el-button>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch6">查询</el-button>
|
|
@@ -352,11 +378,13 @@
|
|
<!-- 搜索 -->
|
|
<!-- 搜索 -->
|
|
<el-form :inline="true" size="small" v-model="listQuery7">
|
|
<el-form :inline="true" size="small" v-model="listQuery7">
|
|
<el-form-item label="日期">
|
|
<el-form-item label="日期">
|
|
- <el-date-picker v-model="listQuery7.createTime" type="date" placeholder="选择日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="listQuery7.createTime" type="date" placeholder="选择日期" value-format="yyyy-MM-dd"
|
|
|
|
+ format="yyyy-MM-dd"></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch7">查询</el-button>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch7">查询</el-button>
|
|
- <el-button type="primary" icon="el-icon-download" @click="downloadSale7" v-per="'downloadSale7'">导出</el-button>
|
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-download" @click="downloadSale7"
|
|
|
|
+ v-per="'downloadSale7'">导出</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
@@ -378,31 +406,30 @@
|
|
<el-form :inline="true" size="small" v-model="listQuery8">
|
|
<el-form :inline="true" size="small" v-model="listQuery8">
|
|
<el-form-item label="城市">
|
|
<el-form-item label="城市">
|
|
<el-select v-model="listQuery8.city" clearable placeholder="请选择城市" multiple>
|
|
<el-select v-model="listQuery8.city" clearable placeholder="请选择城市" multiple>
|
|
- <el-option v-for="(item,index) in cityList" :key="index" :label="item.dataName" :value="item.dataName"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in cityList" :key="index" :label="item.dataName"
|
|
|
|
+ :value="item.dataName"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="渠道">
|
|
|
|
+ <el-select v-model="listQuery8.channel" placeholder="请选择渠道" clearable multiple>
|
|
|
|
+ <el-option v-for="(item, index) in channelList" :key="index" :label="item" :value="item"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="渠道">
|
|
|
|
- <el-select
|
|
|
|
- v-model="listQuery8.channel"
|
|
|
|
- placeholder="请选择渠道"
|
|
|
|
- clearable
|
|
|
|
- multiple
|
|
|
|
- >
|
|
|
|
- <el-option v-for="(item,index) in channelList" :key="index" :label="item" :value="item" ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
<el-form-item label="业务线">
|
|
<el-form-item label="业务线">
|
|
<el-select v-model="listQuery8.levelOne" clearable placeholder="请选择业务线" @change="levelChange">
|
|
<el-select v-model="listQuery8.levelOne" clearable placeholder="请选择业务线" @change="levelChange">
|
|
- <el-option v-for="(item,index) in levelList" :key="index" :label="item.buz" :value="item.buz"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in levelList" :key="index" :label="item.buz"
|
|
|
|
+ :value="item.buz"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="关键字">
|
|
<el-form-item label="关键字">
|
|
<el-select v-model="listQuery8.keyWord" clearable placeholder="请选择关键字" multiple>
|
|
<el-select v-model="listQuery8.keyWord" clearable placeholder="请选择关键字" multiple>
|
|
- <el-option v-for="(item,index) in keywordList" :key="index" :label="item" :value="item"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in keywordList" :key="index" :label="item" :value="item"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="时间段">
|
|
<el-form-item label="时间段">
|
|
- <el-date-picker v-model="listQuery8.createTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd" :picker-options="pickerOptions"></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="listQuery8.createTime" type="daterange" range-separator="至"
|
|
|
|
+ start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"
|
|
|
|
+ :picker-options="pickerOptions"></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch8">查询</el-button>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch8">查询</el-button>
|
|
@@ -414,20 +441,23 @@
|
|
<template v-for="(item,index) in tableHead">
|
|
<template v-for="(item,index) in tableHead">
|
|
<el-table-column :prop="item" :label="item" :key="index"></el-table-column>
|
|
<el-table-column :prop="item" :label="item" :key="index"></el-table-column>
|
|
</template>
|
|
</template>
|
|
- </el-table>-->
|
|
|
|
|
|
+</el-table>-->
|
|
<div id="mainChart2"></div>
|
|
<div id="mainChart2"></div>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
- <el-tab-pane label="补差订单" name="9">
|
|
|
|
|
|
+ <el-tab-pane label="补差订单" name="9">
|
|
<!-- 搜索 -->
|
|
<!-- 搜索 -->
|
|
<el-form :inline="true" size="small" v-model="listQuery9">
|
|
<el-form :inline="true" size="small" v-model="listQuery9">
|
|
-
|
|
|
|
|
|
+
|
|
<el-form-item label="时间段">
|
|
<el-form-item label="时间段">
|
|
- <el-date-picker v-model="listQuery9.createTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd" :picker-options="pickerOptions"></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="listQuery9.createTime" type="daterange" range-separator="至"
|
|
|
|
+ start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"
|
|
|
|
+ :picker-options="pickerOptions"></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch9">查询</el-button>
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch9">查询</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-button type="primary" icon="el-icon-download" @click="downloadDiffOrder" v-per="'diffOrderDownload'">导出</el-button>
|
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-download" @click="downloadDiffOrder"
|
|
|
|
+ v-per="'diffOrderDownload'">导出</el-button>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
<!-- 列表数据 -->
|
|
<!-- 列表数据 -->
|
|
@@ -440,8 +470,8 @@
|
|
<el-table-column prop="difName" label="补差名称"></el-table-column>
|
|
<el-table-column prop="difName" label="补差名称"></el-table-column>
|
|
<el-table-column prop="payAmount" label="支付金额"></el-table-column>
|
|
<el-table-column prop="payAmount" label="支付金额"></el-table-column>
|
|
<el-table-column prop="payId" label="支付id"></el-table-column>
|
|
<el-table-column prop="payId" label="支付id"></el-table-column>
|
|
- <el-table-column prop="payTime" label="支付时间" :formatter="dateFormatA" ></el-table-column>
|
|
|
|
- <el-table-column prop="createTime" label="创建时间" :formatter="dateFormatA" ></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="payTime" label="支付时间" :formatter="dateFormatA"></el-table-column>
|
|
|
|
+ <el-table-column prop="createTime" label="创建时间" :formatter="dateFormatA"></el-table-column>
|
|
|
|
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
|
@@ -464,8 +494,8 @@ export default {
|
|
components: { Pagination },
|
|
components: { Pagination },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- channelList:[],
|
|
|
|
- exportSaleUrl2:
|
|
|
|
|
|
+ channelList: [],
|
|
|
|
+ exportSaleUrl2:
|
|
url.exportUrl +
|
|
url.exportUrl +
|
|
"/reportservice/salesdata/selectChannelSales?token=" +
|
|
"/reportservice/salesdata/selectChannelSales?token=" +
|
|
window.localStorage.getItem("token"),
|
|
window.localStorage.getItem("token"),
|
|
@@ -477,21 +507,21 @@ export default {
|
|
url.exportUrl +
|
|
url.exportUrl +
|
|
"/reportservice/salesdata/serviceGMVCountExport?token=" +
|
|
"/reportservice/salesdata/serviceGMVCountExport?token=" +
|
|
window.localStorage.getItem("token"),
|
|
window.localStorage.getItem("token"),
|
|
- exportSaleUrl5:
|
|
|
|
|
|
+ exportSaleUrl5:
|
|
url.exportUrl +
|
|
url.exportUrl +
|
|
"/reportservice/salesdata/monthSalesPlan?token=" +
|
|
"/reportservice/salesdata/monthSalesPlan?token=" +
|
|
window.localStorage.getItem("token"),
|
|
window.localStorage.getItem("token"),
|
|
- exportSaleUrl7:
|
|
|
|
|
|
+ exportSaleUrl7:
|
|
url.exportUrl +
|
|
url.exportUrl +
|
|
"/reportservice/salesdata/cityProgress?token=" +
|
|
"/reportservice/salesdata/cityProgress?token=" +
|
|
window.localStorage.getItem("token"),
|
|
window.localStorage.getItem("token"),
|
|
- exportDiffOrderUrl:
|
|
|
|
|
|
+ exportDiffOrderUrl:
|
|
url.exportUrl +
|
|
url.exportUrl +
|
|
"/reportservice/salesdata/diffOrderReport?token=" +
|
|
"/reportservice/salesdata/diffOrderReport?token=" +
|
|
window.localStorage.getItem("token"),
|
|
window.localStorage.getItem("token"),
|
|
activeTab: "0",
|
|
activeTab: "0",
|
|
cityList: [],
|
|
cityList: [],
|
|
- cityList2:[],
|
|
|
|
|
|
+ cityList2: [],
|
|
channelList: [],
|
|
channelList: [],
|
|
listData1: [],
|
|
listData1: [],
|
|
total1: 0,
|
|
total1: 0,
|
|
@@ -513,8 +543,8 @@ export default {
|
|
category: "",
|
|
category: "",
|
|
type: "",
|
|
type: "",
|
|
city: [],
|
|
city: [],
|
|
- channel:'',
|
|
|
|
- levelOne:'',
|
|
|
|
|
|
+ channel: '',
|
|
|
|
+ levelOne: '',
|
|
createTime: [],
|
|
createTime: [],
|
|
},
|
|
},
|
|
listData3: [],
|
|
listData3: [],
|
|
@@ -563,11 +593,11 @@ export default {
|
|
listQuery8: {
|
|
listQuery8: {
|
|
city: [],
|
|
city: [],
|
|
levelOne: "",
|
|
levelOne: "",
|
|
- channel:[],
|
|
|
|
|
|
+ channel: [],
|
|
keyWord: [],
|
|
keyWord: [],
|
|
createTime: [],
|
|
createTime: [],
|
|
},
|
|
},
|
|
- listData9: [],
|
|
|
|
|
|
+ listData9: [],
|
|
total9: 0,
|
|
total9: 0,
|
|
pageSize9: 50,
|
|
pageSize9: 50,
|
|
currentPage9: 1, //当前页
|
|
currentPage9: 1, //当前页
|
|
@@ -581,6 +611,7 @@ export default {
|
|
listQuery10: {
|
|
listQuery10: {
|
|
buyerPhone: '',
|
|
buyerPhone: '',
|
|
},
|
|
},
|
|
|
|
+ timeArray10: [],
|
|
tableHead: [],
|
|
tableHead: [],
|
|
|
|
|
|
pickerOptions: {
|
|
pickerOptions: {
|
|
@@ -651,12 +682,12 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getUserAuthData() {
|
|
getUserAuthData() {
|
|
- userAuthDataApi.$ajaxGetUserAuthData().then(res => {
|
|
|
|
|
|
+ userAuthDataApi.$ajaxGetUserAuthData().then(res => {
|
|
if (res.data.errno == 0) {
|
|
if (res.data.errno == 0) {
|
|
- this.cityList2=[];
|
|
|
|
- res.data.data.city.forEach(item=>{
|
|
|
|
- this.cityList2.push(item.cityName.replace("市",""));
|
|
|
|
- });
|
|
|
|
|
|
+ this.cityList2 = [];
|
|
|
|
+ res.data.data.city.forEach(item => {
|
|
|
|
+ this.cityList2.push(item.cityName.replace("市", ""));
|
|
|
|
+ });
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -687,9 +718,9 @@ export default {
|
|
// console.log(res);
|
|
// console.log(res);
|
|
if (res.data.errno == "0") {
|
|
if (res.data.errno == "0") {
|
|
this.levelList = res.data.data;
|
|
this.levelList = res.data.data;
|
|
- this.listQuery8.levelOne=res.data.data[1].buz;
|
|
|
|
|
|
+ this.listQuery8.levelOne = res.data.data[1].buz;
|
|
this.levelChange(this.listQuery8.levelOne);
|
|
this.levelChange(this.listQuery8.levelOne);
|
|
- this.getChannel();
|
|
|
|
|
|
+ this.getChannel();
|
|
this.querySearch8();
|
|
this.querySearch8();
|
|
|
|
|
|
} else {
|
|
} else {
|
|
@@ -715,13 +746,13 @@ export default {
|
|
// res.data.data.userCityDataList[0].dataName.split(",");
|
|
// res.data.data.userCityDataList[0].dataName.split(",");
|
|
// this.listQuery8.city =
|
|
// this.listQuery8.city =
|
|
// res.data.data.userCityDataList[0].dataName.split(",");
|
|
// res.data.data.userCityDataList[0].dataName.split(",");
|
|
-
|
|
|
|
|
|
+
|
|
// this.querySearch1();
|
|
// this.querySearch1();
|
|
// this.querySearch2();
|
|
// this.querySearch2();
|
|
// this.querySearch3();
|
|
// this.querySearch3();
|
|
// this.querySearch4();
|
|
// this.querySearch4();
|
|
// this.querySearch5();
|
|
// this.querySearch5();
|
|
-
|
|
|
|
|
|
+
|
|
// this.allStationList = res.data.data.storeStation;
|
|
// this.allStationList = res.data.data.storeStation;
|
|
} else {
|
|
} else {
|
|
this.$message.warning(res.data.errmsg);
|
|
this.$message.warning(res.data.errmsg);
|
|
@@ -750,23 +781,44 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
querySearch10(isExport) {
|
|
querySearch10(isExport) {
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ if (this.timeArray10 == null || this.timeArray10.length == 0) {
|
|
|
|
+ this.$message.warning("请选择支付日期");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (isExport) {
|
|
|
|
+ let days = moment(this.timeArray10[1]).diff(moment(this.timeArray10[0]), "days");
|
|
|
|
+ if (days > 7) {
|
|
|
|
+ this.$message.warning("请调整支付日期范围,不能超过7天");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
let temp = {
|
|
let temp = {
|
|
|
|
+ isExport: isExport,
|
|
pageNo: this.currentPage10,
|
|
pageNo: this.currentPage10,
|
|
- pageSize: this.pageSize10,
|
|
|
|
- buyerPhone: this.listQuery10.buyerPhone,
|
|
|
|
- isExport:false
|
|
|
|
|
|
+ pageSize: this.pageSize10,
|
|
|
|
+ buyerPhone: this.listQuery10.buyerPhone,
|
|
|
|
+ isExport: false,
|
|
|
|
+ startTime: this.timeArray10.length > 0 ? this.timeArray10[0] : '',
|
|
|
|
+ endTime: this.timeArray10.length > 0 ? this.timeArray10[1] : ''
|
|
};
|
|
};
|
|
-
|
|
|
|
- Service.$axiosGetHmSalesOrder(temp)
|
|
|
|
- .then((res) => {
|
|
|
|
- // console.log(res);
|
|
|
|
- this.listData10 = res.data.data.list;
|
|
|
|
- this.total10 = res.data.data.total;
|
|
|
|
- })
|
|
|
|
- .catch((err) => {
|
|
|
|
- console.log(err);
|
|
|
|
- });
|
|
|
|
|
|
+
|
|
|
|
+ if (isExport) {
|
|
|
|
+ Service.$axiosGetHmSalesOrderExport(temp);
|
|
|
|
+ }
|
|
|
|
+ else {
|
|
|
|
+ Service.$axiosGetHmSalesOrder(temp)
|
|
|
|
+ .then((res) => {
|
|
|
|
+ // console.log(res);
|
|
|
|
+ this.listData10 = res.data.data.list;
|
|
|
|
+ this.total10 = res.data.data.total;
|
|
|
|
+ })
|
|
|
|
+ .catch((err) => {
|
|
|
|
+ console.log(err);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
},
|
|
},
|
|
querySearch1(isExport) {
|
|
querySearch1(isExport) {
|
|
if (this.isEmptyObjVue(this.listQuery1.createTime)) {
|
|
if (this.isEmptyObjVue(this.listQuery1.createTime)) {
|
|
@@ -781,21 +833,21 @@ export default {
|
|
levelOne: this.listQuery1.levelOne,
|
|
levelOne: this.listQuery1.levelOne,
|
|
startDate: this.listQuery1.createTime[0],
|
|
startDate: this.listQuery1.createTime[0],
|
|
endDate: this.listQuery1.createTime[1],
|
|
endDate: this.listQuery1.createTime[1],
|
|
- isExport:isExport
|
|
|
|
|
|
+ isExport: isExport
|
|
};
|
|
};
|
|
- if(isExport){
|
|
|
|
|
|
+ if (isExport) {
|
|
Service.$axiosSelectLittleAppOrderExport(temp);
|
|
Service.$axiosSelectLittleAppOrderExport(temp);
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
- Service.$axiosSelectLittleAppOrder(temp)
|
|
|
|
- .then((res) => {
|
|
|
|
- // console.log(res);
|
|
|
|
- this.listData1 = res.data.data.dataList;
|
|
|
|
- this.total1 = res.data.data.total;
|
|
|
|
- })
|
|
|
|
- .catch((err) => {
|
|
|
|
- console.log(err);
|
|
|
|
- });
|
|
|
|
|
|
+ Service.$axiosSelectLittleAppOrder(temp)
|
|
|
|
+ .then((res) => {
|
|
|
|
+ // console.log(res);
|
|
|
|
+ this.listData1 = res.data.data.dataList;
|
|
|
|
+ this.total1 = res.data.data.total;
|
|
|
|
+ })
|
|
|
|
+ .catch((err) => {
|
|
|
|
+ console.log(err);
|
|
|
|
+ });
|
|
}
|
|
}
|
|
},
|
|
},
|
|
querySearch2() {
|
|
querySearch2() {
|
|
@@ -828,7 +880,7 @@ export default {
|
|
this.$message.warning("请选择日期");
|
|
this.$message.warning("请选择日期");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- if(this.listQuery3.city==null||this.listQuery3.city==""||this.listQuery4.length==0){
|
|
|
|
|
|
+ if (this.listQuery3.city == null || this.listQuery3.city == "" || this.listQuery4.length == 0) {
|
|
this.$message.warning("请选择城市");
|
|
this.$message.warning("请选择城市");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
@@ -858,7 +910,7 @@ export default {
|
|
this.$message.warning("请选择日期");
|
|
this.$message.warning("请选择日期");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- if(this.listQuery4.city==null||this.listQuery4.city==""||this.listQuery4.length==0){
|
|
|
|
|
|
+ if (this.listQuery4.city == null || this.listQuery4.city == "" || this.listQuery4.length == 0) {
|
|
this.$message.warning("请选择城市");
|
|
this.$message.warning("请选择城市");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
@@ -869,7 +921,7 @@ export default {
|
|
levelOne: this.listQuery4.levelOne,
|
|
levelOne: this.listQuery4.levelOne,
|
|
startDate: this.listQuery4.createTime[0],
|
|
startDate: this.listQuery4.createTime[0],
|
|
endDate: this.listQuery4.createTime[1],
|
|
endDate: this.listQuery4.createTime[1],
|
|
- status:this.listQuery4.status?this.listQuery4.status.join(","):null,
|
|
|
|
|
|
+ status: this.listQuery4.status ? this.listQuery4.status.join(",") : null,
|
|
channel: this.listQuery4.channel
|
|
channel: this.listQuery4.channel
|
|
};
|
|
};
|
|
|
|
|
|
@@ -1030,18 +1082,16 @@ export default {
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
console.log(err);
|
|
console.log(err);
|
|
});
|
|
});
|
|
- },
|
|
|
|
- downloadSale2() {
|
|
|
|
-
|
|
|
|
|
|
+ },
|
|
|
|
+ downloadSale2() {
|
|
|
|
+
|
|
if (this.isEmptyObjVue(this.listQuery2.createTime)) {
|
|
if (this.isEmptyObjVue(this.listQuery2.createTime)) {
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- let params = `&city=${this.listQuery2.city.join(",")}&channel=${
|
|
|
|
- this.listQuery2.channel
|
|
|
|
- }&levelOne=${this.listQuery2.levelOne}&startDate=${
|
|
|
|
- this.listQuery2.createTime[0]
|
|
|
|
- }&endDate=${this.listQuery2.createTime[1]}&isExport=${true}`;
|
|
|
|
|
|
+ let params = `&city=${this.listQuery2.city.join(",")}&channel=${this.listQuery2.channel
|
|
|
|
+ }&levelOne=${this.listQuery2.levelOne}&startDate=${this.listQuery2.createTime[0]
|
|
|
|
+ }&endDate=${this.listQuery2.createTime[1]}&isExport=${true}`;
|
|
window.open(this.exportSaleUrl2 + params);
|
|
window.open(this.exportSaleUrl2 + params);
|
|
},
|
|
},
|
|
downloadSale3() {
|
|
downloadSale3() {
|
|
@@ -1053,11 +1103,9 @@ export default {
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- let params = `&city=${this.listQuery3.city.join(",")}&channel=${
|
|
|
|
- this.listQuery3.channel
|
|
|
|
- }&levelOne=${this.listQuery3.levelOne}&startDate=${
|
|
|
|
- this.listQuery3.createTime[0]
|
|
|
|
- }&endDate=${this.listQuery3.createTime[1]}`;
|
|
|
|
|
|
+ let params = `&city=${this.listQuery3.city.join(",")}&channel=${this.listQuery3.channel
|
|
|
|
+ }&levelOne=${this.listQuery3.levelOne}&startDate=${this.listQuery3.createTime[0]
|
|
|
|
+ }&endDate=${this.listQuery3.createTime[1]}`;
|
|
window.open(this.exportSaleUrl3 + params);
|
|
window.open(this.exportSaleUrl3 + params);
|
|
},
|
|
},
|
|
downloadService() {
|
|
downloadService() {
|
|
@@ -1069,31 +1117,27 @@ export default {
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- let params = `&channel=${this.listQuery4.channel}&status=${this.listQuery4.status}&city=${this.listQuery4.city.join(",")}&levelOne=${
|
|
|
|
- this.listQuery4.levelOne
|
|
|
|
- }&startDate=${this.listQuery4.createTime[0]}&endDate=${
|
|
|
|
- this.listQuery4.createTime[1]
|
|
|
|
- }`;
|
|
|
|
|
|
+ let params = `&channel=${this.listQuery4.channel}&status=${this.listQuery4.status}&city=${this.listQuery4.city.join(",")}&levelOne=${this.listQuery4.levelOne
|
|
|
|
+ }&startDate=${this.listQuery4.createTime[0]}&endDate=${this.listQuery4.createTime[1]
|
|
|
|
+ }`;
|
|
window.open(this.exportServiceUrl + params);
|
|
window.open(this.exportServiceUrl + params);
|
|
},
|
|
},
|
|
downloadSale5() {
|
|
downloadSale5() {
|
|
-
|
|
|
|
|
|
+
|
|
if (this.isEmptyObjVue(this.listQuery5.createTime)) {
|
|
if (this.isEmptyObjVue(this.listQuery5.createTime)) {
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- let params = `&city=${this.listQuery5.city.join(",")}&levelOne=${this.listQuery5.levelOne}&startDate=${
|
|
|
|
- this.listQuery5.createTime}&isExport=${true}`;
|
|
|
|
|
|
+ let params = `&city=${this.listQuery5.city.join(",")}&levelOne=${this.listQuery5.levelOne}&startDate=${this.listQuery5.createTime}&isExport=${true}`;
|
|
window.open(this.exportSaleUrl5 + params);
|
|
window.open(this.exportSaleUrl5 + params);
|
|
},
|
|
},
|
|
downloadSale7() {
|
|
downloadSale7() {
|
|
-
|
|
|
|
|
|
+
|
|
if (this.isEmptyObjVue(this.listQuery7.createTime)) {
|
|
if (this.isEmptyObjVue(this.listQuery7.createTime)) {
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- let params = `&date=${
|
|
|
|
- this.listQuery7.createTime}&isExport=${true}`;
|
|
|
|
|
|
+ let params = `&date=${this.listQuery7.createTime}&isExport=${true}`;
|
|
window.open(this.exportSaleUrl7 + params);
|
|
window.open(this.exportSaleUrl7 + params);
|
|
},
|
|
},
|
|
levelChange(value) {
|
|
levelChange(value) {
|
|
@@ -1168,19 +1212,19 @@ export default {
|
|
myChart.resize();
|
|
myChart.resize();
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- tabChange(){
|
|
|
|
- if(this.activeTab==9){
|
|
|
|
- if(this.listData9.length==0){
|
|
|
|
|
|
+ tabChange() {
|
|
|
|
+ if (this.activeTab == 9) {
|
|
|
|
+ if (this.listData9.length == 0) {
|
|
this.querySearch9();
|
|
this.querySearch9();
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- querySearch9() {
|
|
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ querySearch9() {
|
|
if (this.isEmptyObjVue(this.listQuery9.createTime)) {
|
|
if (this.isEmptyObjVue(this.listQuery9.createTime)) {
|
|
this.$message.warning("请选择日期");
|
|
this.$message.warning("请选择日期");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
let temp = {
|
|
let temp = {
|
|
pageNo: this.currentPage9,
|
|
pageNo: this.currentPage9,
|
|
pageSize: this.pageSize9,
|
|
pageSize: this.pageSize9,
|
|
@@ -1198,15 +1242,14 @@ export default {
|
|
console.log(err);
|
|
console.log(err);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- downloadDiffOrder() {
|
|
|
|
-
|
|
|
|
|
|
+ downloadDiffOrder() {
|
|
|
|
+
|
|
if (this.isEmptyObjVue(this.listQuery9.createTime)) {
|
|
if (this.isEmptyObjVue(this.listQuery9.createTime)) {
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
this.$message.warning("日期不能为空,请选择日期");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- let params = `&startDate=${this.listQuery9.createTime[0]}&endDate=${
|
|
|
|
- this.listQuery9.createTime[1]
|
|
|
|
- }&isExport=${true}`;
|
|
|
|
|
|
+ let params = `&startDate=${this.listQuery9.createTime[0]}&endDate=${this.listQuery9.createTime[1]
|
|
|
|
+ }&isExport=${true}`;
|
|
window.open(this.exportDiffOrderUrl + params);
|
|
window.open(this.exportDiffOrderUrl + params);
|
|
},
|
|
},
|
|
|
|
|
|
@@ -1219,17 +1262,20 @@ export default {
|
|
.crumbs {
|
|
.crumbs {
|
|
margin: 0 0 10px 0;
|
|
margin: 0 0 10px 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
#mainChart1 {
|
|
#mainChart1 {
|
|
height: 800px;
|
|
height: 800px;
|
|
width: 900px;
|
|
width: 900px;
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
padding: 40px;
|
|
padding: 40px;
|
|
}
|
|
}
|
|
|
|
+
|
|
#mainChart2 {
|
|
#mainChart2 {
|
|
height: 1000px;
|
|
height: 1000px;
|
|
width: 1200px;
|
|
width: 1200px;
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
padding: 10px;
|
|
padding: 10px;
|
|
}
|
|
}
|
|
|
|
+
|
|
/* $axiosDiffOrderReport getUrlParam*/
|
|
/* $axiosDiffOrderReport getUrlParam*/
|
|
</style>
|
|
</style>
|