Parcourir la source

修改账号管理

zs il y a 1 an
Parent
commit
c232ca3301
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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 } = {}) {
       let condition = _.cloneDeep(this.searchForm);
+      // 店铺管理员查询
       if (this.user.role.code == 'shopAdmin') {
         if (condition.buy_time) {
           condition[`start`] = _.head(condition.buy_time);
@@ -105,6 +106,7 @@ export default {
           }
         } else this.$message({ type: `warning`, message: `请选择查询信息` });
       } else {
+        // 系统管理员查询
         if (condition.buy_time && condition.shop) {
           condition[`start`] = _.head(condition.buy_time);
           condition[`end`] = _.last(condition.buy_time);