liuhj 4 weeks ago
parent
commit
fda289ac1d
2 changed files with 10 additions and 3 deletions
  1. 3 1
      src/components/OP/Groupedit.vue
  2. 7 2
      src/components/OP/OPgroup.vue

+ 3 - 1
src/components/OP/Groupedit.vue

@@ -354,6 +354,7 @@ export default {
             bidbr:true,
             rollcallarr:[],
             nongroupty:true,
+            depname:'',
         };
     },
     methods: {
@@ -633,7 +634,7 @@ export default {
                     userId: that.userid,
                     cityId:that.ruleForm.cityId,
                     salesQuoteNo: that.ruleForm.quotenum,
-                    jietuanOperator: parseInt(that.ruleForm.person),//
+                    jietuanOperator: that.depname!='市场部'?21:parseInt(that.ruleForm.person),//
                     teamLevSId: parseInt(that.ruleForm.grades),//
                     teamDid: parseInt(that.ruleForm.OP),//
                     teamName: that.ruleForm.groupname,
@@ -784,6 +785,7 @@ export default {
         this.editid = this.$route.query.id;
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userid = JSON.parse(localStorage.getItem('userinif')).userInfo.userId;
+        this.depname = JSON.parse(localStorage.getItem('userinif')).userInfo.depName;
         setTimeout(() => {
             this.PostTourClientListByDiId();
         }, 500);

+ 7 - 2
src/components/OP/OPgroup.vue

@@ -97,11 +97,11 @@
                             {{ scope.row.teamLev=='暂未定级'?'-':scope.row.teamLev }}
                         </template>
                     </el-table-column>
-                    <el-table-column
+                    <!-- <el-table-column
                         prop="tourCode"
                         width="100"
                         label="团 号">
-                    </el-table-column>
+                    </el-table-column> -->
                     <!-- <el-table-column
                         width="100" 
                         prop="salesQuoteNo"
@@ -151,6 +151,11 @@
                         label="成单人"
                         width="110">
                     </el-table-column>
+                    <!-- <el-table-column
+                        prop="tourCode"
+                        width="100"
+                        label="进 度">
+                    </el-table-column> -->
                     <el-table-column label="操作"  width="250">
                         <template slot-scope="scope">
                             <el-button