MONSTER-ygh vor 5 Monaten
Ursprung
Commit
6dcb5e14fa
2 geänderte Dateien mit 7 neuen und 6 gelöschten Zeilen
  1. 1 0
      src/views/team/creditRecord/index.vue
  2. 6 6
      src/views/team/teamMr/index.vue

+ 1 - 0
src/views/team/creditRecord/index.vue

@@ -324,6 +324,7 @@ export default {
     },
         handleCorporatePayClose(){
           this.$set(this.form,'photoList',[])
+          this.getList()
           this.corporatePayLoading = false;
           this.showCorporatePay = false;
         },

+ 6 - 6
src/views/team/teamMr/index.vue

@@ -130,7 +130,7 @@
               type="text"
               @click="handleAudit(scope.row,'Audit')"
               style="margin-left: 10px;"
-              v-if="scope.row.checkStatus == 0 && name!=scope.row.createBy"
+              v-if="scope.row.checkStatus == 0 && ( name!=scope.row.createBy || scope.row.bigCustomer == 2 )"
             >审核</el-button>
           </span>
           <span v-hasPermi="['teamMr:teamMr:edit']" style="display: inline-block;">
@@ -139,7 +139,7 @@
               type="text"
               @click="handleUpdate(scope.row)"
               style="margin-left: 10px;"
-              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy" 
+              v-if="scope.row.checkStatus == 1 && ( name!=scope.row.createBy || scope.row.bigCustomer == 2 )" 
             >编辑</el-button>
           </span>
           <span v-hasPermi="['teamMr:teamMr:edit']" style="display: inline-block;">
@@ -157,7 +157,7 @@
               type="text"
               @click="handleDelete(scope.row,scope.index)"
               style="margin-left: 10px;"
-              v-if="(scope.row.checkStatus == 1 && name!=scope.row.createBy)||scope.row.checkStatus != 1"
+              v-if="(scope.row.checkStatus == 1 && name!=scope.row.createBy)||scope.row.checkStatus != 1 || (scope.row.checkStatus == 1 && scope.row.bigCustomer == 2)"
             >删除</el-button>
           </span>
           <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row,scope.index)">
@@ -167,15 +167,15 @@
                 v-if="scope.row.checkStatus == 1"
                 v-hasPermi="['teamMr:teamMr:resetting']">重置密码</el-dropdown-item>
               <el-dropdown-item command="rechargeBox" icon="el-icon-key"
-              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy && scope.row.checkStatus == 1" 
+              v-if="scope.row.checkStatus == 1 && ( name!=scope.row.createBy || scope.row.bigCustomer == 2 )" 
               v-hasPermi="['teamMr:teamMr:rechargeBox']"
                 >账户充值</el-dropdown-item>
               <el-dropdown-item command="creditGranting" icon="el-icon-circle-check"
-              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy && scope.row.checkStatus == 1" 
+              v-if="scope.row.checkStatus == 1 && ( name!=scope.row.createBy || scope.row.bigCustomer == 2 )" 
               v-hasPermi="['teamMr:teamMr:creditGranting']"
               >账户授信额度</el-dropdown-item>
               <el-dropdown-item command="creditGrantingBox" icon="el-icon-circle-check"
-              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy && scope.row.checkStatus == 1"
+              v-if="scope.row.checkStatus == 1 && ( name!=scope.row.createBy || scope.row.bigCustomer == 2 )"
               v-hasPermi="['teamMr:teamMr:creditGrantingBox']" 
               >账户授信欠款</el-dropdown-item>
               <el-dropdown-item command="orderAll" icon="el-icon-circle-check"