Browse Source

修改账号管理

zs 1 year ago
parent
commit
c232ca3301
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/platfinance/bill/index.vue

+ 2 - 0
src/views/platfinance/bill/index.vue

@@ -90,6 +90,7 @@ export default {
     // 查询
     // 查询
     async search({ skip = 0, limit = this.$limit, ...info } = {}) {
     async search({ skip = 0, limit = this.$limit, ...info } = {}) {
       let condition = _.cloneDeep(this.searchForm);
       let condition = _.cloneDeep(this.searchForm);
+      // 店铺管理员查询
       if (this.user.role.code == 'shopAdmin') {
       if (this.user.role.code == 'shopAdmin') {
         if (condition.buy_time) {
         if (condition.buy_time) {
           condition[`start`] = _.head(condition.buy_time);
           condition[`start`] = _.head(condition.buy_time);
@@ -105,6 +106,7 @@ export default {
           }
           }
         } else this.$message({ type: `warning`, message: `请选择查询信息` });
         } else this.$message({ type: `warning`, message: `请选择查询信息` });
       } else {
       } else {
+        // 系统管理员查询
         if (condition.buy_time && condition.shop) {
         if (condition.buy_time && condition.shop) {
           condition[`start`] = _.head(condition.buy_time);
           condition[`start`] = _.head(condition.buy_time);
           condition[`end`] = _.last(condition.buy_time);
           condition[`end`] = _.last(condition.buy_time);