2 Commity e862cfa954 ... b313ab9c06

Autor SHA1 Wiadomość Data
  liuhj b313ab9c06 05121437 3 tygodni temu
  liuhj fda289ac1d 05121430 3 tygodni temu
2 zmienionych plików z 17 dodań i 4 usunięć
  1. 10 2
      src/components/OP/Groupedit.vue
  2. 7 2
      src/components/OP/OPgroup.vue

+ 10 - 2
src/components/OP/Groupedit.vue

@@ -7,7 +7,7 @@
                         <el-input :readonly="true" el-input v-model="ruleForm.quotenum"></el-input>
                     </el-form-item>
                     <el-form-item label-width="120px" label="本团成单人:" :prop="nongroupty?'person':''">
-                        <el-select v-model="ruleForm.person" placeholder="请选择本团成单人     ">
+                        <el-select @change="personchange" filterable v-model="ruleForm.person" placeholder="请选择本团成单人     ">
                             <el-option v-for="(item, index) in personarr" :key="index" :label="item.cnName"
                                 :value="item.id"></el-option>
                         </el-select>
@@ -354,6 +354,7 @@ export default {
             bidbr:true,
             rollcallarr:[],
             nongroupty:true,
+            depname:'',
         };
     },
     methods: {
@@ -461,6 +462,12 @@ export default {
                 }
             })
         },
+        //personchange
+        personchange(val){
+            if (val==330) {
+                this.ruleForm.person=21;
+            }
+        },
         //新增获取销售号
         getSalesQuoteNo() {
             if (this.editid == undefined) {
@@ -633,7 +640,7 @@ export default {
                     userId: that.userid,
                     cityId:that.ruleForm.cityId,
                     salesQuoteNo: that.ruleForm.quotenum,
-                    jietuanOperator: parseInt(that.ruleForm.person),//
+                    jietuanOperator:parseInt(that.ruleForm.person),//
                     teamLevSId: parseInt(that.ruleForm.grades),//
                     teamDid: parseInt(that.ruleForm.OP),//
                     teamName: that.ruleForm.groupname,
@@ -784,6 +791,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