|
@@ -173,8 +173,8 @@
|
|
|
>
|
|
>
|
|
|
</div>
|
|
</div>
|
|
|
<div style="margin:5px;display: inline-block;">
|
|
<div style="margin:5px;display: inline-block;">
|
|
|
- <span>订单创建开始时间:</span>
|
|
|
|
|
- <el-date-picker
|
|
|
|
|
|
|
+ <!-- <span>订单创建开始时间:</span> -->
|
|
|
|
|
+ <!-- <el-date-picker
|
|
|
style="width: 160px;margin-left: 10px;"
|
|
style="width: 160px;margin-left: 10px;"
|
|
|
v-model="startTime"
|
|
v-model="startTime"
|
|
|
align="right"
|
|
align="right"
|
|
@@ -183,10 +183,22 @@
|
|
|
value-format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
|
placeholder="选择开始时间"
|
|
placeholder="选择开始时间"
|
|
|
>
|
|
>
|
|
|
- </el-date-picker
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </el-date-picker> -->
|
|
|
|
|
+ <span>订单创建时间:</span>
|
|
|
|
|
+ <el-date-picker
|
|
|
|
|
+ v-model="startTime"
|
|
|
|
|
+ type="datetimerange"
|
|
|
|
|
+ unlink-panels
|
|
|
|
|
+ range-separator="-"
|
|
|
|
|
+ start-placeholder="开始日期"
|
|
|
|
|
+ end-placeholder="结束日期"
|
|
|
|
|
+ format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-date-picker>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="margin:5px;display: inline-block;">
|
|
|
|
|
|
|
+ <!-- <div style="margin:5px;display: inline-block;">
|
|
|
<span>订单创建截止时间:</span>
|
|
<span>订单创建截止时间:</span>
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
style="width: 160px;margin-left: 10px;"
|
|
style="width: 160px;margin-left: 10px;"
|
|
@@ -198,11 +210,11 @@
|
|
|
placeholder="选择截止时间"
|
|
placeholder="选择截止时间"
|
|
|
>
|
|
>
|
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
|
|
|
|
|
<div style="margin:5px;display: inline-block;">
|
|
<div style="margin:5px;display: inline-block;">
|
|
|
- <span>支付开始时间:</span>
|
|
|
|
|
- <el-date-picker
|
|
|
|
|
|
|
+ <!-- <span>支付开始时间:</span> -->
|
|
|
|
|
+ <!-- <el-date-picker
|
|
|
style="width: 160px;margin-left: 10px;"
|
|
style="width: 160px;margin-left: 10px;"
|
|
|
v-model="payStartTime"
|
|
v-model="payStartTime"
|
|
|
align="right"
|
|
align="right"
|
|
@@ -211,10 +223,21 @@
|
|
|
value-format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
|
placeholder="选择开始时间"
|
|
placeholder="选择开始时间"
|
|
|
>
|
|
>
|
|
|
- </el-date-picker
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </el-date-picker> -->
|
|
|
|
|
+ <span>支付时间:</span>
|
|
|
|
|
+ <el-date-picker
|
|
|
|
|
+ v-model="payStartTime"
|
|
|
|
|
+ type="datetimerange"
|
|
|
|
|
+ unlink-panels
|
|
|
|
|
+ range-separator="-"
|
|
|
|
|
+ start-placeholder="开始日期"
|
|
|
|
|
+ end-placeholder="结束日期"
|
|
|
|
|
+ format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
+ ></el-date-picker>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="margin:5px;display: inline-block;">
|
|
|
|
|
|
|
+ <!-- <div style="margin:5px;display: inline-block;">
|
|
|
<span>支付截止时间:</span>
|
|
<span>支付截止时间:</span>
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
style="width: 160px;margin-left: 10px;"
|
|
style="width: 160px;margin-left: 10px;"
|
|
@@ -226,10 +249,10 @@
|
|
|
placeholder="选择截止时间"
|
|
placeholder="选择截止时间"
|
|
|
>
|
|
>
|
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
<div v-if="status == 14" style="margin:5px;display: inline-block;">
|
|
<div v-if="status == 14" style="margin:5px;display: inline-block;">
|
|
|
- <span>退款开始时间:</span>
|
|
|
|
|
- <el-date-picker
|
|
|
|
|
|
|
+ <!-- <span>退款开始时间:</span> -->
|
|
|
|
|
+ <!-- <el-date-picker
|
|
|
style="width: 200px;margin-left: 10px;"
|
|
style="width: 200px;margin-left: 10px;"
|
|
|
v-model="refundStartTime"
|
|
v-model="refundStartTime"
|
|
|
align="right"
|
|
align="right"
|
|
@@ -238,10 +261,21 @@
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
placeholder="选择开始时间"
|
|
placeholder="选择开始时间"
|
|
|
>
|
|
>
|
|
|
- </el-date-picker
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </el-date-picker> -->
|
|
|
|
|
+ <span>退款时间:</span>
|
|
|
|
|
+ <el-date-picker
|
|
|
|
|
+ v-model="refundStartTime"
|
|
|
|
|
+ type="datetimerange"
|
|
|
|
|
+ unlink-panels
|
|
|
|
|
+ range-separator="-"
|
|
|
|
|
+ start-placeholder="开始日期"
|
|
|
|
|
+ end-placeholder="结束日期"
|
|
|
|
|
+ format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
+ ></el-date-picker>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
- <div v-if="status == 14" style="margin:5px;display: inline-block;">
|
|
|
|
|
|
|
+ <!-- <div v-if="status == 14" style="margin:5px;display: inline-block;">
|
|
|
<span>退款结束时间:</span>
|
|
<span>退款结束时间:</span>
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
style="width: 200px;margin-left: 10px;"
|
|
style="width: 200px;margin-left: 10px;"
|
|
@@ -253,7 +287,7 @@
|
|
|
placeholder="选择结束时间"
|
|
placeholder="选择结束时间"
|
|
|
>
|
|
>
|
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
<el-button
|
|
<el-button
|
|
|
style="margin-left:15px;"
|
|
style="margin-left:15px;"
|
|
|
size="mini"
|
|
size="mini"
|
|
@@ -490,8 +524,10 @@
|
|
|
<el-table-column prop="remark" label="订单备注" width="150">
|
|
<el-table-column prop="remark" label="订单备注" width="150">
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
|
|
- <el-table-column prop="createTime" label="创建时间"></el-table-column>
|
|
|
|
|
- <el-table-column prop="payTime" label="支付时间"></el-table-column>
|
|
|
|
|
|
|
+ <el-table-column prop="createTime" label="创建时间" width="100"></el-table-column>
|
|
|
|
|
+ <el-table-column prop="payTime" label="支付时间" width="100"></el-table-column>
|
|
|
|
|
+ <el-table-column prop="receivingTime" label="接单时间" width="100"></el-table-column>
|
|
|
|
|
+ <el-table-column prop="finishTime" label="订单完成时间" width="120"></el-table-column>
|
|
|
<el-table-column prop="payType" label="支付方式" width="100">
|
|
<el-table-column prop="payType" label="支付方式" width="100">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.payType === 1">微信</span>
|
|
<span v-if="scope.row.payType === 1">微信</span>
|
|
@@ -503,7 +539,7 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="orderCode"
|
|
prop="orderCode"
|
|
|
label="取餐号"
|
|
label="取餐号"
|
|
|
- width="100"
|
|
|
|
|
|
|
+ width="110"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
<!-- <el-table-column
|
|
<!-- <el-table-column
|
|
|
fixed="right"
|
|
fixed="right"
|
|
@@ -1063,10 +1099,8 @@
|
|
|
<el-table v-loading="tableDataLoadingQS" :data="riderData">
|
|
<el-table v-loading="tableDataLoadingQS" :data="riderData">
|
|
|
<el-table-column type="index" label="序号" width="80">
|
|
<el-table-column type="index" label="序号" width="80">
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="userName" label="骑手姓名">
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="userPhone" label="骑手手机号">
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+ <el-table-column prop="userName" label="骑手姓名"> </el-table-column>
|
|
|
|
|
+ <el-table-column prop="userPhone" label="骑手手机号"> </el-table-column>
|
|
|
<el-table-column prop="payTime" label="订单支付时间"></el-table-column>
|
|
<el-table-column prop="payTime" label="订单支付时间"></el-table-column>
|
|
|
<el-table-column prop="receveTime" label="接单时间"></el-table-column>
|
|
<el-table-column prop="receveTime" label="接单时间"></el-table-column>
|
|
|
<el-table-column prop="stationName" label="所在站点"></el-table-column>
|
|
<el-table-column prop="stationName" label="所在站点"></el-table-column>
|
|
@@ -1381,10 +1415,13 @@ export default {
|
|
|
// },
|
|
// },
|
|
|
startTime: "",
|
|
startTime: "",
|
|
|
endTime: "",
|
|
endTime: "",
|
|
|
- payStartTime: dayjs()
|
|
|
|
|
- .subtract(6, "day")
|
|
|
|
|
- .format("YYYY-MM-DD"), //支付开始时间
|
|
|
|
|
- payEndTime: dayjs().format("YYYY-MM-DD"),
|
|
|
|
|
|
|
+ payStartTime: [
|
|
|
|
|
+ dayjs()
|
|
|
|
|
+ .subtract(6, "day").startOf('day')
|
|
|
|
|
+ .format("YYYY-MM-DD HH:mm:ss"),
|
|
|
|
|
+ dayjs().endOf('day').format("YYYY-MM-DD HH:mm:ss")
|
|
|
|
|
+ ], //支付开始时间
|
|
|
|
|
+ payEndTime: dayjs().format("YYYY-MM-DD HH:mm:ss"),
|
|
|
refundStartTime: "",
|
|
refundStartTime: "",
|
|
|
refundEndTime: "",
|
|
refundEndTime: "",
|
|
|
|
|
|
|
@@ -1796,9 +1833,12 @@ export default {
|
|
|
this.endTime = "";
|
|
this.endTime = "";
|
|
|
this.refundStartTime = "";
|
|
this.refundStartTime = "";
|
|
|
this.refundEndTime = "";
|
|
this.refundEndTime = "";
|
|
|
- this.payStartTime = dayjs()
|
|
|
|
|
- .subtract(6, "day")
|
|
|
|
|
- .format("YYYY-MM-DD");
|
|
|
|
|
|
|
+ this.payStartTime = [
|
|
|
|
|
+ dayjs()
|
|
|
|
|
+ .subtract(6, "day").startOf('day')
|
|
|
|
|
+ .format("YYYY-MM-DD HH:mm:ss"),
|
|
|
|
|
+ dayjs().endOf('day').format("YYYY-MM-DD HH:mm:ss")
|
|
|
|
|
+ ];
|
|
|
this.payEndTime = dayjs().format("YYYY-MM-DD");
|
|
this.payEndTime = dayjs().format("YYYY-MM-DD");
|
|
|
this.stationName = "";
|
|
this.stationName = "";
|
|
|
this.spEarningTypeId = "";
|
|
this.spEarningTypeId = "";
|
|
@@ -1868,12 +1908,12 @@ export default {
|
|
|
reservationFlag: this.reservationFlag,
|
|
reservationFlag: this.reservationFlag,
|
|
|
indentStatus: this.indentStatus,
|
|
indentStatus: this.indentStatus,
|
|
|
riderPhone: this.riderPhone,
|
|
riderPhone: this.riderPhone,
|
|
|
- startTime: this.startTime,
|
|
|
|
|
- endTime: this.endTime,
|
|
|
|
|
- refundStartTime: this.refundStartTime,
|
|
|
|
|
- refundEndTime: this.refundEndTime,
|
|
|
|
|
- payStartTime: this.payStartTime,
|
|
|
|
|
- payEndTime: this.payEndTime,
|
|
|
|
|
|
|
+ startTime: this.startTime ? this.startTime[0] : "",
|
|
|
|
|
+ endTime: this.startTime ? this.startTime[1] : "",
|
|
|
|
|
+ refundStartTime: this.refundStartTime ? this.refundStartTime[0] : "",
|
|
|
|
|
+ refundEndTime: this.refundStartTime ? this.refundStartTime[1] : "",
|
|
|
|
|
+ payStartTime: this.payStartTime ? this.payStartTime[0] : "",
|
|
|
|
|
+ payEndTime: this.payStartTime ? this.payStartTime[1] : "",
|
|
|
riderStationId: this.stationName,
|
|
riderStationId: this.stationName,
|
|
|
shopTypeId: this.spEarningTypeId,
|
|
shopTypeId: this.spEarningTypeId,
|
|
|
couponType: this.couponType
|
|
couponType: this.couponType
|
|
@@ -1907,7 +1947,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
this.totalMoney = this.totalMoney.toFixed(2);
|
|
this.totalMoney = this.totalMoney.toFixed(2);
|
|
|
- console.log(data.data.totalCount,'此时间段暂无数据');
|
|
|
|
|
|
|
+ console.log(data.data.totalCount, "此时间段暂无数据");
|
|
|
if (!data.data.totalCount) {
|
|
if (!data.data.totalCount) {
|
|
|
this.$message({
|
|
this.$message({
|
|
|
message: "此时间段暂无数据",
|
|
message: "此时间段暂无数据",
|
|
@@ -2179,14 +2219,14 @@ export default {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
} else {
|
|
} else {
|
|
|
- if(data.msg=='订单状态发生变更,请刷新后重试!'){
|
|
|
|
|
|
|
+ if (data.msg == "订单状态发生变更,请刷新后重试!") {
|
|
|
this.$message({
|
|
this.$message({
|
|
|
- message: '当前订单状态不支持转单',
|
|
|
|
|
|
|
+ message: "当前订单状态不支持转单",
|
|
|
type: "warning",
|
|
type: "warning",
|
|
|
duration: 1500,
|
|
duration: 1500,
|
|
|
onClose: () => {}
|
|
onClose: () => {}
|
|
|
});
|
|
});
|
|
|
- }else{
|
|
|
|
|
|
|
+ } else {
|
|
|
this.$message({
|
|
this.$message({
|
|
|
message: data.msg,
|
|
message: data.msg,
|
|
|
type: "warning",
|
|
type: "warning",
|
|
@@ -2263,7 +2303,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 骑手明细 (-------------------------------------------------------)
|
|
// 骑手明细 (-------------------------------------------------------)
|
|
|
- riderListData(){
|
|
|
|
|
|
|
+ riderListData() {
|
|
|
this.dialogFormVisibleQS = true;
|
|
this.dialogFormVisibleQS = true;
|
|
|
this.$http({
|
|
this.$http({
|
|
|
url: this.$http.adornUrl("admin/transferRecord/queryTransferRecords"),
|
|
url: this.$http.adornUrl("admin/transferRecord/queryTransferRecords"),
|
|
@@ -2276,21 +2316,21 @@ export default {
|
|
|
}).then(({ data }) => {
|
|
}).then(({ data }) => {
|
|
|
console.log(data, "骑手明细");
|
|
console.log(data, "骑手明细");
|
|
|
this.tableDataLoadingQS = false;
|
|
this.tableDataLoadingQS = false;
|
|
|
- this.riderData=data.data.list
|
|
|
|
|
- this.totalCountQS=data.data.totalCount
|
|
|
|
|
|
|
+ this.riderData = data.data.list;
|
|
|
|
|
+ this.totalCountQS = data.data.totalCount;
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
riderDetail(row) {
|
|
riderDetail(row) {
|
|
|
- this.orderIdQS = row.orderId
|
|
|
|
|
- this.riderListData()
|
|
|
|
|
|
|
+ this.orderIdQS = row.orderId;
|
|
|
|
|
+ this.riderListData();
|
|
|
},
|
|
},
|
|
|
handleSizeChangeQS(val) {
|
|
handleSizeChangeQS(val) {
|
|
|
this.limitQS = val;
|
|
this.limitQS = val;
|
|
|
- this.riderListData()
|
|
|
|
|
|
|
+ this.riderListData();
|
|
|
},
|
|
},
|
|
|
handleCurrentChangeQS(val) {
|
|
handleCurrentChangeQS(val) {
|
|
|
this.pageQS = val;
|
|
this.pageQS = val;
|
|
|
- this.riderListData()
|
|
|
|
|
|
|
+ this.riderListData();
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 导出
|
|
// 导出
|
|
@@ -2371,12 +2411,14 @@ export default {
|
|
|
reservationFlag: this.reservationFlag,
|
|
reservationFlag: this.reservationFlag,
|
|
|
indentStatus: this.indentStatus,
|
|
indentStatus: this.indentStatus,
|
|
|
riderPhone: this.riderPhone,
|
|
riderPhone: this.riderPhone,
|
|
|
- startTime: this.startTime,
|
|
|
|
|
- endTime: this.endTime,
|
|
|
|
|
- payStartTime: this.payStartTime,
|
|
|
|
|
- payEndTime: this.payEndTime,
|
|
|
|
|
- refundStartTime: this.refundStartTime,
|
|
|
|
|
- refundEndTime: this.refundEndTime,
|
|
|
|
|
|
|
+ startTime: this.startTime ? this.startTime[0] : "",
|
|
|
|
|
+ endTime: this.startTime ? this.startTime[1] : "",
|
|
|
|
|
+ payStartTime: this.payStartTime ? this.payStartTime[0] : "",
|
|
|
|
|
+ payEndTime: this.payStartTime ? this.payStartTime[1] : "",
|
|
|
|
|
+ refundStartTime: this.refundStartTime
|
|
|
|
|
+ ? this.refundStartTime[0]
|
|
|
|
|
+ : "",
|
|
|
|
|
+ refundEndTime: this.refundStartTime ? this.refundStartTime[1] : "",
|
|
|
riderStationId: this.stationName,
|
|
riderStationId: this.stationName,
|
|
|
shopTypeId: this.spEarningTypeId,
|
|
shopTypeId: this.spEarningTypeId,
|
|
|
couponType: this.couponType
|
|
couponType: this.couponType
|
|
@@ -2416,23 +2458,23 @@ export default {
|
|
|
if (this.$route.params.refund == 14) {
|
|
if (this.$route.params.refund == 14) {
|
|
|
this.status = this.$route.params.refund;
|
|
this.status = this.$route.params.refund;
|
|
|
this.payStartTime = "";
|
|
this.payStartTime = "";
|
|
|
- this.payEndTime = "";
|
|
|
|
|
- this.refundStartTime = this.$route.params.dayId + " " + "00:00:00";
|
|
|
|
|
- this.refundEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
|
|
|
|
+ // this.payEndTime = "";
|
|
|
|
|
+ this.refundStartTime = [this.$route.params.dayId + " " + "00:00:00",this.$route.params.dayId + " " + "23:59:59"];
|
|
|
|
|
+ // this.refundEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
this.taskdataSelect();
|
|
this.taskdataSelect();
|
|
|
} else if (this.$route.params.refund == 15) {
|
|
} else if (this.$route.params.refund == 15) {
|
|
|
this.status = this.$route.params.refund;
|
|
this.status = this.$route.params.refund;
|
|
|
- this.payStartTime = this.$route.params.dayId + " " + "00:00:00";
|
|
|
|
|
- this.payEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
|
|
|
|
+ this.payStartTime = [this.$route.params.dayId + " " + "00:00:00",this.$route.params.dayId + " " + "23:59:59"];
|
|
|
|
|
+ // this.payEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
this.refundStartTime = "";
|
|
this.refundStartTime = "";
|
|
|
- this.refundEndTime = "";
|
|
|
|
|
|
|
+ // this.refundEndTime = "";
|
|
|
this.taskdataSelect();
|
|
this.taskdataSelect();
|
|
|
} else {
|
|
} else {
|
|
|
this.status = "";
|
|
this.status = "";
|
|
|
this.refundStartTime = "";
|
|
this.refundStartTime = "";
|
|
|
- this.refundEndTime = "";
|
|
|
|
|
|
|
+ // this.refundEndTime = "";
|
|
|
this.payStartTime = "";
|
|
this.payStartTime = "";
|
|
|
- this.payEndTime = "";
|
|
|
|
|
|
|
+ // this.payEndTime = "";
|
|
|
this.taskdataSelect();
|
|
this.taskdataSelect();
|
|
|
}
|
|
}
|
|
|
} else if (this.$route.params.type == "shop") {
|
|
} else if (this.$route.params.type == "shop") {
|
|
@@ -2440,21 +2482,24 @@ export default {
|
|
|
console.log(this.$route.params, "商家-钩子中获取参数");
|
|
console.log(this.$route.params, "商家-钩子中获取参数");
|
|
|
this.status = this.$route.params.refund;
|
|
this.status = this.$route.params.refund;
|
|
|
this.payStartTime = "";
|
|
this.payStartTime = "";
|
|
|
- this.payEndTime = "";
|
|
|
|
|
|
|
+ // this.payEndTime = "";
|
|
|
this.shopName = this.$route.params.shopName;
|
|
this.shopName = this.$route.params.shopName;
|
|
|
- this.refundStartTime = this.$route.params.dayId + " " + "00:00:00";
|
|
|
|
|
- this.refundEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
|
|
|
|
+ this.refundStartTime = [this.$route.params.dayId + " " + "00:00:00",this.$route.params.dayId + " " + "23:59:59"];
|
|
|
|
|
+ // this.refundEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
this.taskdataSelect();
|
|
this.taskdataSelect();
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
this.status = "";
|
|
this.status = "";
|
|
|
this.shopName = "";
|
|
this.shopName = "";
|
|
|
this.refundStartTime = "";
|
|
this.refundStartTime = "";
|
|
|
- this.refundEndTime = "";
|
|
|
|
|
- this.payStartTime = dayjs()
|
|
|
|
|
- .subtract(6, "day")
|
|
|
|
|
- .format("YYYY-MM-DD");
|
|
|
|
|
- this.payEndTime = dayjs().format("YYYY-MM-DD");
|
|
|
|
|
|
|
+ // this.refundEndTime = "";
|
|
|
|
|
+ this.payStartTime = [
|
|
|
|
|
+ dayjs()
|
|
|
|
|
+ .subtract(6, "day").startOf('day')
|
|
|
|
|
+ .format("YYYY-MM-DD HH:mm:ss"),
|
|
|
|
|
+ dayjs().endOf('day').format("YYYY-MM-DD HH:mm:ss")
|
|
|
|
|
+ ];
|
|
|
|
|
+ // this.payEndTime = dayjs().format("YYYY-MM-DD");
|
|
|
// this.taskdataSelect();
|
|
// this.taskdataSelect();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -2479,23 +2524,25 @@ export default {
|
|
|
if (this.$route.params.refund == 14) {
|
|
if (this.$route.params.refund == 14) {
|
|
|
this.status = this.$route.params.refund;
|
|
this.status = this.$route.params.refund;
|
|
|
this.payStartTime = "";
|
|
this.payStartTime = "";
|
|
|
- this.payEndTime = "";
|
|
|
|
|
- this.refundStartTime = this.$route.params.dayId + " " + "00:00:00";
|
|
|
|
|
- this.refundEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
|
|
|
|
+ // this.payEndTime = "";
|
|
|
|
|
+ this.refundStartTime = [this.$route.params.dayId + " " + "00:00:00",this.$route.params.dayId + " " + "23:59:59"];
|
|
|
|
|
+ // this.refundStartTime = this.$route.params.dayId + " " + "00:00:00";
|
|
|
|
|
+ // this.refundEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
this.taskdataSelect();
|
|
this.taskdataSelect();
|
|
|
} else if (this.$route.params.refund == 15) {
|
|
} else if (this.$route.params.refund == 15) {
|
|
|
this.status = this.$route.params.refund;
|
|
this.status = this.$route.params.refund;
|
|
|
- this.payStartTime = this.$route.params.dayId + " " + "00:00:00";
|
|
|
|
|
- this.payEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
|
|
|
|
+ this.payStartTime = [this.$route.params.dayId + " " + "00:00:00",this.$route.params.dayId + " " + "23:59:59"];
|
|
|
|
|
+ // this.payStartTime = this.$route.params.dayId + " " + "00:00:00";
|
|
|
|
|
+ // this.payEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
this.refundStartTime = "";
|
|
this.refundStartTime = "";
|
|
|
- this.refundEndTime = "";
|
|
|
|
|
|
|
+ // this.refundEndTime = "";
|
|
|
this.taskdataSelect();
|
|
this.taskdataSelect();
|
|
|
} else {
|
|
} else {
|
|
|
this.status = "";
|
|
this.status = "";
|
|
|
this.refundStartTime = "";
|
|
this.refundStartTime = "";
|
|
|
- this.refundEndTime = "";
|
|
|
|
|
|
|
+ // this.refundEndTime = "";
|
|
|
this.payStartTime = "";
|
|
this.payStartTime = "";
|
|
|
- this.payEndTime = "";
|
|
|
|
|
|
|
+ // this.payEndTime = "";
|
|
|
this.taskdataSelect();
|
|
this.taskdataSelect();
|
|
|
}
|
|
}
|
|
|
} else if (this.$route.params.type == "shop") {
|
|
} else if (this.$route.params.type == "shop") {
|
|
@@ -2503,21 +2550,25 @@ export default {
|
|
|
console.log(this.$route.params, "商家-钩子中获取参数");
|
|
console.log(this.$route.params, "商家-钩子中获取参数");
|
|
|
this.status = this.$route.params.refund;
|
|
this.status = this.$route.params.refund;
|
|
|
this.payStartTime = "";
|
|
this.payStartTime = "";
|
|
|
- this.payEndTime = "";
|
|
|
|
|
|
|
+ // this.payEndTime = "";
|
|
|
this.shopName = this.$route.params.shopName;
|
|
this.shopName = this.$route.params.shopName;
|
|
|
- this.refundStartTime = this.$route.params.dayId + " " + "00:00:00";
|
|
|
|
|
- this.refundEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
|
|
|
|
+ this.refundStartTime =[ this.$route.params.dayId + " " + "00:00:00",this.$route.params.dayId + " " + "23:59:59"];
|
|
|
|
|
+ // this.refundStartTime = this.$route.params.dayId + " " + "00:00:00";
|
|
|
|
|
+ // this.refundEndTime = this.$route.params.dayId + " " + "23:59:59";
|
|
|
this.taskdataSelect();
|
|
this.taskdataSelect();
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
this.status = "";
|
|
this.status = "";
|
|
|
this.shopName = "";
|
|
this.shopName = "";
|
|
|
this.refundStartTime = "";
|
|
this.refundStartTime = "";
|
|
|
- this.refundEndTime = "";
|
|
|
|
|
- this.payStartTime = dayjs()
|
|
|
|
|
- .subtract(6, "day")
|
|
|
|
|
- .format("YYYY-MM-DD");
|
|
|
|
|
- this.payEndTime = dayjs().format("YYYY-MM-DD");
|
|
|
|
|
|
|
+ // this.refundEndTime = "";
|
|
|
|
|
+ this.payStartTime = [
|
|
|
|
|
+ dayjs()
|
|
|
|
|
+ .subtract(6, "day").startOf('day')
|
|
|
|
|
+ .format("YYYY-MM-DD HH:mm:ss"),
|
|
|
|
|
+ dayjs().endOf('day').format("YYYY-MM-DD HH:mm:ss")
|
|
|
|
|
+ ];
|
|
|
|
|
+ // this.payEndTime = dayjs().format("YYYY-MM-DD");
|
|
|
this.taskdataSelect();
|
|
this.taskdataSelect();
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|