|
@@ -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);
|