Ver código fonte

修改账号管理

zs 1 ano atrás
pai
commit
c232ca3301
1 arquivos alterados com 2 adições e 0 exclusões
  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);