|
@@ -83,8 +83,6 @@ export default {
|
|
condition[`buy_time@end`] = _.last(condition.buy_time);
|
|
condition[`buy_time@end`] = _.last(condition.buy_time);
|
|
delete condition.buy_time;
|
|
delete condition.buy_time;
|
|
}
|
|
}
|
|
- if (this.user.role.code == 'sadmin') info.shop = '';
|
|
|
|
- else info.shop = this.user.shop.id;
|
|
|
|
let res = await this.query({ skip, limit, ...condition, ...info });
|
|
let res = await this.query({ skip, limit, ...condition, ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, 'list', res.data);
|
|
this.$set(this, 'list', res.data);
|