|
|
@@ -43,9 +43,9 @@
|
|
|
<div style="display: flex;flex-wrap: wrap;">
|
|
|
<div style="width: 390px;">
|
|
|
<el-form-item label="团组名称:" label-width="160px">
|
|
|
- <el-select v-model="OpCustomersData.diId" clearable filterable placeholder="团组选择"
|
|
|
+ <el-select v-model="OpCustomersData.diId" remote :remote-method="GroupFeeKeywordSearch" :loading="selectLoading" clearable filterable placeholder="团组选择"
|
|
|
:disabled="isShow" @change="DiIdSelectChange">
|
|
|
- <el-option v-for="item in delegationInfoList" :key="item.id" :label="item.teamName"
|
|
|
+ <el-option v-for="item in delegationInfoLists" :key="item.id" :label="item.teamName"
|
|
|
:value="item.id">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
@@ -326,6 +326,8 @@ export default {
|
|
|
DelfileName: "",
|
|
|
delegationInfo: {},
|
|
|
delegationInfoList: [],//团组下拉框
|
|
|
+ delegationInfoLists: [],//团组下拉框
|
|
|
+ selectLoading:false,
|
|
|
insuranceCostList: [],//保险类型下拉框
|
|
|
Balance: 0,//保险余额
|
|
|
currencyList: [],//币种下拉框
|
|
|
@@ -416,6 +418,34 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ //联想
|
|
|
+ GroupFeeKeywordSearch(query) {
|
|
|
+ if (query !== '') {
|
|
|
+ this.selectLoading=true;
|
|
|
+ var url = "/api/search/GroupFeeKeywordSearch/" +this.userId+'/'+82 +'/'+query
|
|
|
+ var that = this
|
|
|
+ this.$axios({
|
|
|
+ method: 'get',
|
|
|
+ url: url,
|
|
|
+ headers: {
|
|
|
+ Authorization: 'Bearer ' + this.token
|
|
|
+ },
|
|
|
+ }).then(function (res) {
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ that.delegationInfoLists = res.data.data;
|
|
|
+ }else{
|
|
|
+ that.delegationInfoLists=[];
|
|
|
+ }
|
|
|
+ }).finally(()=>{
|
|
|
+ that.selectLoading=false;
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.delegationInfoLists=this.delegationInfoList;
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
//拼音
|
|
|
pinyingxing(val) {
|
|
|
return pinyin(val, { toneType: 'none' }).toUpperCase();
|
|
|
@@ -444,6 +474,7 @@ export default {
|
|
|
console.log('DecreasePaymentsSelect', res.data.data);
|
|
|
if (res.data.code == 200) {
|
|
|
that.delegationInfoList = res.data.data.groupName; //团组列表
|
|
|
+ that.delegationInfoLists = that.delegationInfoList; //团组列表
|
|
|
that.PostTourClientListByDiId();
|
|
|
that.payment = res.data.data.payment; //支付方式
|
|
|
for (let index = 0; index < that.delegationInfoList.length; index++) {
|