Commit e9941744 authored by liudong1993's avatar liudong1993

1

parent aa9588ca
...@@ -519,6 +519,43 @@ ...@@ -519,6 +519,43 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="createTableTitle">地接社信息</div>
<table class="createTable">
<tbody>
<tr>
<td>
<el-form-item label="地接社名称" prop="dmcName">
<el-input type="text" v-model="CtObj.dmcName" class="w300">
<el-select placeholder="快捷" @change="changeDmcCompany" slot="append" style="width:80px">
<el-option v-for="(ditem,dindex) in DmcCompanyList" :key="dindex" :label="ditem.CompanyName" :value="ditem"> </el-option>
</el-select>
</el-input>
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-form-item label="地址" prop="dmcAddress">
<el-input type="text" class="w300" v-model="CtObj.dmcAddress"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-form-item label="联系人" prop="dmcContact">
<el-input type="text" class="w300" v-model="CtObj.dmcContact"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-form-item label="联系电话" prop="dmcContactPhone">
<el-input type="text" class="w300" v-model="CtObj.dmcContactPhone"></el-input>
</el-form-item>
</td>
</tr>
</tbody>
</table>
</div> </div>
<div class="block mtop15" id="anchor-1" ref="anchor1"> <div class="block mtop15" id="anchor-1" ref="anchor1">
<div class="blockTitle"> <div class="blockTitle">
...@@ -1489,6 +1526,7 @@ ...@@ -1489,6 +1526,7 @@
}, },
//国家列表 //国家列表
CountryList: [], CountryList: [],
DmcCompanyList: [],//地接社
isShowFade: false, //是否显示签证弹窗 isShowFade: false, //是否显示签证弹窗
QRCodeStr: "", QRCodeStr: "",
//客户省份列表 //客户省份列表
...@@ -1547,6 +1585,11 @@ ...@@ -1547,6 +1585,11 @@
agentName: "", agentName: "",
agentCall: "", agentCall: "",
contractPlace: "", contractPlace: "",
//地接社
dmcName: "",
dmcAddress: "",
dmcContact: "",
dmcContactPhone: "",
//合同条款 //合同条款
totalNumber: 2, totalNumber: 2,
eachNumber: 1, eachNumber: 1,
...@@ -1560,7 +1603,7 @@ ...@@ -1560,7 +1603,7 @@
servicePrice: "", servicePrice: "",
orderPrice: "", orderPrice: "",
payDate: "", payDate: "",
payType: "", payType: "2",
//客户同意 //客户同意
insuranceOpinion: "", insuranceOpinion: "",
insuranceCompany: "", insuranceCompany: "",
...@@ -1953,6 +1996,15 @@ ...@@ -1953,6 +1996,15 @@
(err) => {} (err) => {}
); );
}, },
GetDmcCompanyList(){
this.apipost(
"travelcontract_post_GetDmcCompanyList", {},
(res) => {
this.DmcCompanyList = res.data.data;
},
(err) => {}
);
},
//获取客户省份和城市 //获取客户省份和城市
GetSubAreaList(ID, type, isClear) { GetSubAreaList(ID, type, isClear) {
let msg = { let msg = {
...@@ -2636,10 +2688,17 @@ ...@@ -2636,10 +2688,17 @@
} }
}); });
}, },
changeDmcCompany(item){
this.CtObj.dmcName = item.CompanyName;
this.CtObj.dmcAddress = item.Address;
this.CtObj.dmcContact = item.ContactName;
this.CtObj.dmcContactPhone = item.ContactPhone;
}
}, },
mounted() { mounted() {
this.CurrentUserInfo = this.getLocalStorage(); this.CurrentUserInfo = this.getLocalStorage();
this.GetCounrty(); this.GetCounrty();
this.GetDmcCompanyList();
this.msg.TCID = this.$route.query.TCID; this.msg.TCID = this.$route.query.TCID;
this.msg.orderID = this.$route.query.orderID; this.msg.orderID = this.$route.query.orderID;
this.msg.guestId = this.$route.query.guestId; this.msg.guestId = this.$route.query.guestId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment