数据统计默认第一个商品2
This commit is contained in:
@@ -266,8 +266,8 @@
|
||||
}
|
||||
this.activityId = activityId;
|
||||
setTimeout(() => {
|
||||
if (!this.itemId && this.data.goods[1]) {
|
||||
this.itemId = this.data.goods[1]['value'];
|
||||
if (!this.itemId && this.data.goods[0]) {
|
||||
this.itemId = this.data.goods[0]['value'];
|
||||
}
|
||||
if (this.$refs.table) {
|
||||
this.$refs.table.reload({ page: 1 });
|
||||
|
||||
@@ -228,8 +228,8 @@
|
||||
}
|
||||
this.activityId = activityId;
|
||||
setTimeout(() => {
|
||||
if (!this.itemId && this.data.goods[1]) {
|
||||
this.itemId = this.data.goods[1]['value'];
|
||||
if (!this.itemId && this.data.goods[0]) {
|
||||
this.itemId = this.data.goods[0]['value'];
|
||||
}
|
||||
if (this.$refs.table) {
|
||||
this.$refs.table.reload({ page: 1 });
|
||||
|
||||
@@ -288,8 +288,8 @@
|
||||
}
|
||||
this.activityId = activityId;
|
||||
setTimeout(() => {
|
||||
if (!this.itemId && this.data.goods[1]) {
|
||||
this.itemId = this.data.goods[1]['value'];
|
||||
if (!this.itemId && this.data.goods[0]) {
|
||||
this.itemId = this.data.goods[0]['value'];
|
||||
}
|
||||
if (this.$refs.table) {
|
||||
this.$refs.table.reload({ page: 1 });
|
||||
|
||||
@@ -299,8 +299,8 @@
|
||||
return;
|
||||
}
|
||||
this.activityId = activityId;
|
||||
if (!this.itemId && this.data.goods[1]) {
|
||||
this.itemId = this.data.goods[1]['value'];
|
||||
if (!this.itemId && this.data.goods[0]) {
|
||||
this.itemId = this.data.goods[0]['value'];
|
||||
}
|
||||
this.getStatisticsStackedArea();
|
||||
if (this.$refs.table) {
|
||||
|
||||
@@ -214,9 +214,9 @@
|
||||
this.$util.assignObject(this.statistics, {
|
||||
...data
|
||||
});
|
||||
if (data.tableData.goods[1]) {
|
||||
this.itemIdPreheating = data.tableData.goods[1]['value'];
|
||||
this.itemIdLive = data.tableData.goods[1]['value'];
|
||||
if (data.tableData.goods[0]) {
|
||||
this.itemIdPreheating = data.tableData.goods[0]['value'];
|
||||
this.itemIdLive = data.tableData.goods[0]['value'];
|
||||
}
|
||||
this.queryFunnel();
|
||||
// 修改页签标题
|
||||
|
||||
Reference in New Issue
Block a user