Commit ff477030 authored by liudong1993's avatar liudong1993

1

parent 73ea8db6
...@@ -508,6 +508,43 @@ ...@@ -508,6 +508,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">
...@@ -1440,6 +1477,11 @@ ...@@ -1440,6 +1477,11 @@
OrderId: 0, OrderId: 0,
GuestNum: 0, //旅客人数 GuestNum: 0, //旅客人数
SignType: 0, //0-四川和平,1-日本PIC,2-成都欧亚 SignType: 0, //0-四川和平,1-日本PIC,2-成都欧亚
//地接社
dmcName: "",
dmcAddress: "",
dmcContact: "",
dmcContactPhone: "",
}, },
//旅客名单 //旅客名单
guestList: [], guestList: [],
...@@ -1543,6 +1585,7 @@ ...@@ -1543,6 +1585,7 @@
LineName: "", LineName: "",
SMLoading: false, SMLoading: false,
dataLoading: false, dataLoading: false,
DmcCompanyList: [],//地接社
}; };
}, },
components: { components: {
...@@ -2147,6 +2190,21 @@ ...@@ -2147,6 +2190,21 @@
} }
}); });
}, },
changeDmcCompany(item){
this.CtObj.dmcName = item.CompanyName;
this.CtObj.dmcAddress = item.Address;
this.CtObj.dmcContact = item.ContactName;
this.CtObj.dmcContactPhone = item.ContactPhone;
},
GetDmcCompanyList(){
this.apipost(
"travelcontract_post_GetDmcCompanyList", {},
(res) => {
this.DmcCompanyList = res.data.data;
},
(err) => {}
);
},
}, },
created() { created() {
if (this.$route.query.TCID && this.$route.query.TCID > 0) { if (this.$route.query.TCID && this.$route.query.TCID > 0) {
...@@ -2161,6 +2219,7 @@ ...@@ -2161,6 +2219,7 @@
if (this.CtObj.ID > 0 || this.CtObj.TCID > 0) { if (this.CtObj.ID > 0 || this.CtObj.TCID > 0) {
this.GetData(); this.GetData();
} }
this.GetDmcCompanyList();
this.$nextTick(function () { this.$nextTick(function () {
//滚动监听事件 //滚动监听事件
window.addEventListener("scroll", this.menu); window.addEventListener("scroll", this.menu);
......
...@@ -1585,8 +1585,7 @@ ...@@ -1585,8 +1585,7 @@
agentName: "", agentName: "",
agentCall: "", agentCall: "",
contractPlace: "", contractPlace: "",
//地接社 //地接社
dmcName: "",
dmcAddress: "", dmcAddress: "",
dmcContact: "", dmcContact: "",
dmcContactPhone: "", dmcContactPhone: "",
......
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