fix: 店铺列表增加单独激活码弹窗,修改耗材列表搜索时间筛选条件传参
This commit is contained in:
@@ -123,7 +123,13 @@ function toGoods(id: number | string) {
|
||||
//统计数据
|
||||
const gongjiData = reactive({ totalRow: 0 });
|
||||
function getTongji(params: IObject | undefined) {
|
||||
consApi.statistics(params).then((res) => {
|
||||
const query = { ...params };
|
||||
if (params?.createAt) {
|
||||
query.beginTime = params.createAt[0];
|
||||
query.endTime = params.createAt[1];
|
||||
delete query.createAt;
|
||||
}
|
||||
consApi.statistics(query).then((res) => {
|
||||
Object.assign(gongjiData, res);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user