diff --git a/src/views/AppStoresTable.vue b/src/views/AppStoresTable.vue index cfa4680..92cca7a 100644 --- a/src/views/AppStoresTable.vue +++ b/src/views/AppStoresTable.vue @@ -22,11 +22,13 @@ export default { ], 重点单品情况: [ {label: "重点单品", prop: "name"}, - {label: "当日目标", prop: "targetNum", width: 70}, - {label: "销售数量", prop: "saleNum", width: 70}, - {label: "库存数量", prop: "stockNum", width: 70}, + // {label: "当日目标", prop: "targetNum", width: 70}, + {label: "昨日销售数量", prop: "yesterdaySaleNum", width: 70}, + {label: "上周同天销售数量", prop: "lastWeekSaleNum", width: 70}, + {label: "今日销售数量", prop: "saleNum", width: 70}, + {label: "现在库存数量", prop: "stockNum", width: 70}, {label: "剩余时间预计销售数量", prop: "preSaleNum"}, - {label: "提醒", custom: 1, width: 70, align: 'center', prop: "remind"}, + // {label: "提醒", custom: 1, width: 70, align: 'center', prop: "remind"}, ], 周边库存情况: [ {label: "门店名称", prop: "storeName"}, @@ -75,7 +77,7 @@ export default { methods: { getData() { const {$http, $waitFor} = window - const { 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))