需求变更-7

This commit is contained in:
aixianling
2024-10-22 15:50:39 +08:00
parent 197dc4bcdb
commit d5c52c0098
3 changed files with 8 additions and 8 deletions

View File

@@ -14,11 +14,11 @@ export default {
columns: {
品类销售情况: [
{label: "品类", prop: "secondCategoryName"},
{label: "销售额", prop: "currentSaleAmt", width: 70},
{label: "库存金额", prop: "currentStockAmt", width: 80},
{label: "同/环比销售额", prop: "compareSaleAmt", width: 70},
{label: "同/环比库存金额", prop: "compareStockAmt", width: 70},
{label: "前四周日均销售额", prop: "avg4WeekSaleAmt", width: 70},
{label: "销售额", prop: "currentSaleAmt"},
{label: "库存金额", prop: "currentStockAmt"},
// {label: "同/环比销售额", prop: "compareSaleAmt", width: 70},
// {label: "同/环比库存金额", prop: "compareStockAmt", width: 70},
// {label: "前四周日均销售额", prop: "avg4WeekSaleAmt", width: 70},
],
重点单品情况: [
{label: "重点单品", prop: "name"},
@@ -75,7 +75,7 @@ export default {
methods: {
getData() {
const {$http, $waitFor} = window
const {groupCodeList, type, compareDate} = this.search
const { type, compareDate} = this.search
console.log("筛选条件:", this.search)
return $waitFor($http && (type != 3 || compareDate)).then(() => this.getStores())
.then(codes => Promise.all([this.getCameras(), this.getStoreKeyGoods(), this.getCategorySales()]).then(() => codes))