浏览代码

部门批量限制

wangtao 2 年之前
父节点
当前提交
0c4e8855f3
共有 2 个文件被更改,包括 7 次插入8 次删除
  1. 6 7
      src/views/recharge/department/index.vue
  2. 1 1
      vue.config.js

+ 6 - 7
src/views/recharge/department/index.vue

@@ -331,7 +331,6 @@ export default {
     // 取消按钮
     cancel() {
       this.open = false;
-      this.reset();
     },
     // 单选框选中数据
     selectBrand(row) {
@@ -353,11 +352,6 @@ export default {
     batchChange(change){
       this.staffList.deptIds = []
       if(this.$refs.tableRef.selection.length>0){
-
-      }else{
-        this.msgError("请选择部门")
-      }
-      if(this.tableRadio){
         if(change == "1"){
           this.getListczgl()
           this.open = true;
@@ -381,8 +375,13 @@ export default {
           })
         }
       }else{
-        this.$message.error('请勾选需要处理充值到账比例部门信息')
+        this.msgError("请选择部门")
       }
+      // if(this.tableRadio){
+
+      // }else{
+      //   this.$message.error('请勾选需要处理充值到账比例部门信息')
+      // }
     },
     /** 提交按钮 */
     submitForm() {

+ 1 - 1
vue.config.js

@@ -125,4 +125,4 @@ module.exports = {
                 }
             )
     }
-}
+}