|
|
@@ -423,9 +423,11 @@ export default {
|
|
|
this.headerBar.refund = data.refundAmount * 1;
|
|
|
this.headerBar.trusteeshipCount = data.trusteeshipCount;
|
|
|
this.headerBar.refundCount = data.refundCount;
|
|
|
- let amount = data.trusteeshipAmount - data.refundAmount;
|
|
|
+
|
|
|
+ // let amount = data.trusteeshipAmount - data.refundAmount;
|
|
|
let count = data.trusteeshipCount - data.refundCount;
|
|
|
- this.headerBar.revenue = amount > 0 ? amount : 0;
|
|
|
+ // this.headerBar.revenue = amount > 0 ? amount : 0;
|
|
|
+ this.headerBar.revenue = data.revenue * 1;
|
|
|
this.headerBar.revenueCount = count > 0 ? count : 0;
|
|
|
}
|
|
|
});
|
|
|
@@ -479,6 +481,7 @@ export default {
|
|
|
product_type: query.product_type, //项目类型2整包4雇佣9云端
|
|
|
start_time: query.start_time,
|
|
|
end_time: query.end_time,
|
|
|
+ order_type:1,
|
|
|
date_type: query.date_type || 2, //1到账时间2创建时间
|
|
|
status: 401, //401订单支付成功
|
|
|
artificial_mark: 0, //0为开启人工财务1开启
|
|
|
@@ -486,11 +489,11 @@ export default {
|
|
|
page_size: this.pageInfo.size
|
|
|
|
|
|
}
|
|
|
- if (this.orderType !== "") {
|
|
|
- data.order_type = this.orderType;
|
|
|
- } else {
|
|
|
- data.active_name = 'all';
|
|
|
- }
|
|
|
+ // if (this.orderType !== "") {
|
|
|
+ // data.order_type = this.orderType;
|
|
|
+ // } else {
|
|
|
+ // data.active_name = 'all';
|
|
|
+ // }
|
|
|
this.formatTitle(data.product_type);
|
|
|
this.queryData = data;
|
|
|
return true;
|