需求变更-7
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user