-
-
-
-
-
- {{scope.$index + 1 }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{scope.$index + 1 }}
+
+
+
+
+
+ {{scope.row.products[0].productName}}
+
+
+
+
+ {{scope.row.product.shopGroupName}}
+
+
+
+
+
+ {{scope.row.product.createTime}}
+
+
+
+
+
+
+ {{scope.row.grossProfitRate}}%
+
+
+
+
@@ -140,11 +147,14 @@
importOrderData,
orderStatistics,
orderStatisticsProductInformation,
- orderGetAll
+ orderGetAll,
+ orderIndex,
+ getAllNotPage
} from '@/api/orderany'
export default {
data() {
return {
+ flag:false,
list: [],
total: 1,
pageSize: 10,
@@ -200,16 +210,28 @@
field: 'money'
}
],
+ orderPage:{
+ startTime:'2000-01-01 00:00:00',
+ endTime:'2000-01-01 00:00:00'
+ }
}
},
mounted() {
-
+ let time = this.getCurrentTime()
+ this.orderPage.endTime =time+' '+'23:59:59'
this.getTotalData()
},
methods: {
search(){
+ if(this.formParams.dates.length == 0){
+ let time = this.getCurrentTime()
+ this.orderPage.endTime =time+' '+'23:59:59'
+ }else{
+ this.orderPage.startTime =this.formParams.dates[0]+' '+'00:00:00'
+ this.orderPage.endTime =this.formParams.dates[1]+' '+'23:59:59'
+ }
this.getTotalData()
},
clear(){
@@ -223,12 +245,26 @@
shopName: '',
pageSize: 10
}
+ this.orderPage = {
+ startTime:'2000-01-01 00:00:00',
+ endTime:'2000-01-01 00:00:00'
+ }
+ let time = this.getCurrentTime()
+ this.orderPage.endTime =time+' '+'23:59:59'
this.getTotalData()
},
+ getCurrentTime() {
+ const now = new Date();
+ const year = now.getFullYear();
+ const month = String(now.getMonth() + 1).padStart(2, '0');
+ const hour = String(now.getHours()).padStart(2, '0');
+ return `${year}-${month}-${hour}`;
+ },
async getTotalData() {
- const res = await orderGetAll(this.formParams)
- const Orderlist = await orderStatistics(res.data.list)
- const tablelist = await orderStatisticsProductInformation(res.data.list)
+
+ const res = await getAllNotPage(this.formParams)
+ const Orderlist = await orderStatistics(res.data)
+ const tablelist = await orderStatisticsProductInformation(res.data)
// console.log(tablelist.data.commodityInformation)
this.tableData = Object.values(tablelist.data.commodityInformation).flat();
@@ -258,21 +294,9 @@
}
this.draw(data)
- let lo = {
- "names": [
- "支付成功",
- "调取支付",
- "加购",
- "访问"
- ],
- "rates": [
- 6,
- 9,
- 8,
- 100
- ]
- }
- this.draws(lo)
+ const orderIn = await orderIndex(this.orderPage)
+
+ this.draws(orderIn.data.conversion)
// this.info = d
// }
@@ -292,6 +316,21 @@
const myEchart = echarts.init(this.$refs.myEchart, 'light')
const option = {
+ tooltip: {
+ trigger: 'axis', // 触发类型为坐标轴触发
+ axisPointer: {
+ type: 'cross', // 指示器类型为十字准星
+ crossStyle: {
+ color: '#999'
+ }
+ },
+ formatter: function (params) {
+ const data = params[0];
+ const name = data.name; // 获取 arr.names 中的名称
+ const value = data.value; // 获取 arr.rates 中的次数
+ return ` ${value} 人`; // 自定义提示框内容
+ }
+ },
color: "#3F9B6A",
xAxis: {
type: 'category',
@@ -299,7 +338,7 @@
},
yAxis: {
type: 'value',
- name: '次数'
+ name: '人数'
},
series: [{
data: arr.total,
@@ -309,118 +348,171 @@
myEchart.setOption(option)
},
+ filterData(arr) {
+ const targetNames = ["加购", "支付成功"];
+ const result = {
+ names: [],
+ rates: []
+ };
+ for (let i = 0; i < arr.names.length; i++) {
+ if (targetNames.includes(arr.names[i])) {
+ result.names.push(arr.names[i]);
+ result.rates.push(arr.rates[i]);
+ }
+ }
+ return result;
+ },
+
draws(arr) {
- // myEchart
- const myEchart = echarts.init(this.$refs.myEcharts, 'light')
- // const o = this.chartData
- const option = {
- // color: ["#74d1fd", "#009ae4", "#0071c1"],
- // 设置图表的位置
- grid: {
- x: 110, // 左间距
- y: 0, // 上间距
- x2: 60, // 右间距
- y2: 40 // 下间距
- },
- // 提示框组件
- tooltip: {
- trigger: 'axis', // 触发类型, axis: 坐标轴触发
- axisPointer: {
- // 指示器类型 'line' 直线指示器 'shadow' 阴影指示器 'none' 无指示器
- // 'cross' 十字准星指示器 其实是种简写,表示启用两个正交的轴的 axisPointer
- type: 'none'
- },
- textStyle: {
- color: '#cdd3ee' ,// 文字颜色
- fontSize:'12px'
- },
- // 提示框浮层内容格式器,支持字符串模板和回调函数两种形式 折线(区域)图、柱状(条形)图、K线图
- // {a}(系列名称),{b}(类目值),{c}(数值), {d}(无)
- formatter: '{b}
{a0}: {c0}%'
- },
- // // 图例组件
- // legend: {
- // textStyle: {
- // // 文本样式
- // fontSize: 16,
- // color: "#cdd3ee"
- // },
- // top: 13, // 定位
- // data: ["已完成", "进行中", "未完成"] // 图例的数据数组
- // },
- // X轴
- xAxis: {
- type: 'value', // 坐标轴类型, 'value' 数值轴,适用于连续数据
- // 坐标轴刻度
- axisTick: {
- show: false // 是否显示坐标轴刻度 默认显示
- },
- // 坐标轴轴线
- axisLine: {
- // 是否显示坐标轴轴线 默认显示
- show: false // 是否显示坐标轴轴线 默认显示
- },
- // 坐标轴在图表区域中的分隔线
- splitLine: {
- show: false // 是否显示分隔线。默认数值轴显示
- },
- // 坐标轴刻度标签
- axisLabel: {
- show: false // 是否显示刻度标签 默认显示
- }
- },
- yAxis: [
- // 左侧Y轴
- {
- // 坐标轴类型, 'category' 类目轴,适用于离散的类目数据
- // 为该类型时必须通过 data 设置类目数据
- type: 'category',
- // 坐标轴刻度
- axisTick: {
- show: false // 是否显示坐标轴刻度 默认显示
- },
- // 坐标轴轴线
- axisLine: {
- // 是否显示坐标轴轴线 默认显示
- show: false, // 是否显示坐标轴轴线 默认显示
- lineStyle: {
- // 坐标轴线线的颜色
- color: '#cdd3ee'
- }
- },
- // 坐标轴在图表区域中的分隔线
- splitLine: {
- show: false // 是否显示分隔线。默认数值轴显示
- },
- // 坐标轴刻度标签
- axisLabel: {
- show: true, // 是否显示刻度标签 默认显示
- fontSize: 16, // 文字的字体大小
- color: '#cdd3ee', // 刻度标签文字的颜色
- // 使用字符串模板,模板变量为刻度默认标签 {value}
- formatter: '{value}'
- },
- // 类目数据,在类目轴(type: 'category')中有效
- data: arr.names.reverse()
- }
- ],
- // 系列列表
- series: [{
- type: 'bar', // 系列类型
- name: '已完成',
- barMaxWidth: 20, // 柱条的最大宽度,不设时自适应
- // label: {
- // show: true,
- // position: "inside"
- // },
- itemStyle: {
- barBorderRadius: [10, 0, 0, 10] // 圆角半径, 单位px, 支持传入数组分别指定 4 个圆角半径
- },
- data: arr.rates.reverse() // 系列中的数据内容数组
- }]
- }
+ const filteredData = this.filterData(arr);
+ const myEchart = echarts.init(this.$refs.myEcharts, 'light')
+ const option = {
+ color: "#3F9B6A",
+ tooltip: {
+ trigger: 'axis', // 触发类型为坐标轴触发
+ axisPointer: {
+ type: 'cross', // 指示器类型为十字准星
+ crossStyle: {
+ color: '#999'
+ }
+ },
+ formatter: function (params) {
+ const data = params[0];
+ const name = data.name; // 获取 arr.names 中的名称
+ const value = data.value; // 获取 arr.rates 中的次数
+ return `${name}: ${value} 人`; // 自定义提示框内容
+ }
+ },
+ xAxis: {
+ type: 'category',
+ data: filteredData.names
+ },
+ yAxis: {
+ type: 'value',
+ name: '人数',
+ },
+ series: [
+ {
+ data: filteredData.rates,
+ type: 'line'
+ }
+ ]
+ }
+
+ myEchart.setOption(option)
+
+
+ // const myEchart = echarts.init(this.$refs.myEcharts, 'light')
+ // // const o = this.chartData
+ // const option = {
+ // // color: ["#74d1fd", "#009ae4", "#0071c1"],
+ // // 设置图表的位置
+ // grid: {
+ // x: 110, // 左间距
+ // y: 0, // 上间距
+ // x2: 60, // 右间距
+ // y2: 40 // 下间距
+ // },
+ // // 提示框组件
+ // tooltip: {
+ // trigger: 'axis', // 触发类型, axis: 坐标轴触发
+ // axisPointer: {
+ // // 指示器类型 'line' 直线指示器 'shadow' 阴影指示器 'none' 无指示器
+ // // 'cross' 十字准星指示器 其实是种简写,表示启用两个正交的轴的 axisPointer
+ // type: 'none'
+ // },
+ // textStyle: {
+ // color: '#cdd3ee' // 文字颜色
+ // },
+ // // 提示框浮层内容格式器,支持字符串模板和回调函数两种形式 折线(区域)图、柱状(条形)图、K线图
+ // // {a}(系列名称),{b}(类目值),{c}(数值), {d}(无)
+ // formatter: '{b}
{a0}: {c0}%'
+ // },
+ // // // 图例组件
+ // // legend: {
+ // // textStyle: {
+ // // // 文本样式
+ // // fontSize: 16,
+ // // color: "#cdd3ee"
+ // // },
+ // // top: 13, // 定位
+ // // data: ["已完成", "进行中", "未完成"] // 图例的数据数组
+ // // },
+ // // X轴
+ // xAxis: {
+ // type: 'value', // 坐标轴类型, 'value' 数值轴,适用于连续数据
+ // // 坐标轴刻度
+ // axisTick: {
+ // show: false // 是否显示坐标轴刻度 默认显示
+ // },
+ // // 坐标轴轴线
+ // axisLine: {
+ // // 是否显示坐标轴轴线 默认显示
+ // show: false // 是否显示坐标轴轴线 默认显示
+ // },
+ // // 坐标轴在图表区域中的分隔线
+ // splitLine: {
+ // show: false // 是否显示分隔线。默认数值轴显示
+ // },
+ // // 坐标轴刻度标签
+ // axisLabel: {
+ // show: false // 是否显示刻度标签 默认显示
+ // }
+ // },
+ // yAxis: [
+ // // 左侧Y轴
+ // {
+ // // 坐标轴类型, 'category' 类目轴,适用于离散的类目数据
+ // // 为该类型时必须通过 data 设置类目数据
+ // type: 'category',
+ // // 坐标轴刻度
+ // axisTick: {
+ // show: false // 是否显示坐标轴刻度 默认显示
+ // },
+ // // 坐标轴轴线
+ // axisLine: {
+ // // 是否显示坐标轴轴线 默认显示
+ // show: false, // 是否显示坐标轴轴线 默认显示
+ // lineStyle: {
+ // // 坐标轴线线的颜色
+ // color: '#cdd3ee'
+ // }
+ // },
+ // // 坐标轴在图表区域中的分隔线
+ // splitLine: {
+ // show: false // 是否显示分隔线。默认数值轴显示
+ // },
+ // // 坐标轴刻度标签
+ // axisLabel: {
+ // show: true, // 是否显示刻度标签 默认显示
+ // fontSize: 16, // 文字的字体大小
+ // color: '#cdd3ee', // 刻度标签文字的颜色
+ // // 使用字符串模板,模板变量为刻度默认标签 {value}
+ // formatter: '{value}'
+ // },
+ // // 类目数据,在类目轴(type: 'category')中有效
+ // data: arr.names.reverse()
+ // }
+ // ],
+ // // 系列列表
+ // series: [
+ // {
+ // type: 'bar', // 系列类型
+ // name: '已完成',
+ // barMaxWidth: 20, // 柱条的最大宽度,不设时自适应
+ // // label: {
+ // // show: true,
+ // // position: "inside"
+ // // },
+ // itemStyle: {
+ // barBorderRadius: [10, 0, 0, 10] // 圆角半径, 单位px, 支持传入数组分别指定 4 个圆角半径
+ // },
+ // data: arr.rates.reverse() // 系列中的数据内容数组
+ // }
+ // ]
+ // }
- myEchart.setOption(option)
+ // myEchart.setOption(option)
},
//导出
// async userVisitExport() {
diff --git a/ceres-uniapp-master/pages_category_page1/orderModule/logisticsInfo.vue b/ceres-uniapp-master/pages_category_page1/orderModule/logisticsInfo.vue
index 88c3cf9..9a30128 100644
--- a/ceres-uniapp-master/pages_category_page1/orderModule/logisticsInfo.vue
+++ b/ceres-uniapp-master/pages_category_page1/orderModule/logisticsInfo.vue
@@ -1,7 +1,15 @@
-
-
+
+
+
+ 物流信息
+ 物流公司:{{express}}
+ 物流单号:{{deliverFormid}}
+
+
+
+
diff --git a/ceres-uniapp-master/pages_category_page1/orderModule/orderDetails.vue b/ceres-uniapp-master/pages_category_page1/orderModule/orderDetails.vue
index fc8b4fb..1b4c09b 100644
--- a/ceres-uniapp-master/pages_category_page1/orderModule/orderDetails.vue
+++ b/ceres-uniapp-master/pages_category_page1/orderModule/orderDetails.vue
@@ -278,8 +278,13 @@
-
-
+
+
+
+ 物流公司:{{dataList.express}}
+ 快递单号:{{dataList.deliverFormid}}
+
+
@@ -628,6 +633,8 @@
this.dataList = data
this.dataList.receivePhone = hidden(this.dataList.receivePhone, 3, 4)
this.ifShow = true
+ console.log(this.dataList.express,'this.dataList.express')
+ console.log(this.dataList.deliverFormid,'this.dataList.express')
this.getShippingTrace(this.dataList.express, this.dataList.deliverFormid)
if (this.dataList.state == 1 || this.dataList.state == 6) {
this.countDown();
@@ -713,6 +720,7 @@
express: express,
deliverFormid: deliverFormid
}, "GET").then(res => {
+
let traces = res.data
let len = traces.length
for (let i = 0; i < len; i++) {
@@ -1020,6 +1028,7 @@
.logistics {
padding: 20upx 20upx;
+ background-color: #fff;
}
.content {
diff --git a/lvdao-miniapp/pages/propertyPay/propertyPayList/propertyPayList.vue b/lvdao-miniapp/pages/propertyPay/propertyPayList/propertyPayList.vue
index 856703a..9c30569 100644
--- a/lvdao-miniapp/pages/propertyPay/propertyPayList/propertyPayList.vue
+++ b/lvdao-miniapp/pages/propertyPay/propertyPayList/propertyPayList.vue
@@ -60,7 +60,7 @@
周期:{{item1.startDate}} - {{item1.endDate}}
- 数量:{{item1.number}}{{item1.itemUnit}}
+ 数量:{{item1.source==1?'-':item1.number}}{{item1.itemUnit}}
门牌号:{{item1.houseNumber}}
diff --git a/merchant-web-master/src/api/dataSta.js b/merchant-web-master/src/api/dataSta.js
index e249c6c..00d6ece 100644
--- a/merchant-web-master/src/api/dataSta.js
+++ b/merchant-web-master/src/api/dataSta.js
@@ -7,6 +7,14 @@ import request from '@/utils/request'
// data
// })
// }
+export function getAllNotPage(data) {
+ return request({
+ url: '/order/getAllNotPage',
+ method: 'post',
+ data
+ })
+}
+
export function orderGetAll(data) {
return request({
url: '/order/getAll',
@@ -14,7 +22,6 @@ export function orderGetAll(data) {
data
})
}
-
//计算毛利
export function calculateGrossProfit(data) {
return request({
diff --git a/merchant-web-master/src/views/comprehensive/pcdetails/index.vue b/merchant-web-master/src/views/comprehensive/pcdetails/index.vue
index 8f99f5b..d190bd8 100644
--- a/merchant-web-master/src/views/comprehensive/pcdetails/index.vue
+++ b/merchant-web-master/src/views/comprehensive/pcdetails/index.vue
@@ -9,10 +9,10 @@