Commit eb23c926 authored by 吴春's avatar 吴春

1

parent 77f6c1a1
......@@ -1228,6 +1228,9 @@
</el-dropdown-item>
<el-dropdown-item @click.native='ckOPInfo(item)'>签证OP设置
</el-dropdown-item>
<el-dropdown-item @click.native='CopyTripAndFeature(item)'>复制行程
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
......@@ -1404,7 +1407,29 @@
</div>
</div>
<!--复制行程信息-->
<div class="combottomDiv OPremarkDiv" style="height:150px;" v-show="CopyTripAndFeatureMsg.VisaShow">
<div class="combottomTitle">复制行程</div>
<el-form label-width="100px">
<el-col :span="4">
<el-form-item label="团号" prop="Remark">
<el-input v-model="CopyTripAndFeatureMsg.CopyTCNUM" placeholder="请输入团号"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="" prop="Remark">
<el-checkbox-group v-model="CopyTripAndFeatureMsg.CopyTrip">
<el-checkbox label="1" value="1">行程</el-checkbox>
<el-checkbox label="2" value="2">特色</el-checkbox>
</el-checkbox-group>
</el-form-item>
</el-col>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="CopyTripAndFeatureMsg.VisaShow = false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="SetCopyTripAndFeature">{{$t('pub.sureBtn')}}</button>
</div>
</div>
<div v-if="dialog.show">
<el-dialog :visible.sync="dialog.show" width="1400px" title="报价详情">
<price-dialog :ConfigId="dialog.ConfigId" :OfferId="dialog.OfferId" ref="dialog"></price-dialog>
......@@ -1611,6 +1636,14 @@
VisaAssistIds: [],
VisaAssistId: "",
},
CopyTripAndFeatureMsg: {
//CopyTripAndFeature
VisaShow: false,
TCID: 0,
CopyTCNUM: "",
CopyTrip: [],
copyType:"",
},
flightStatus: [{
Id: 0,
Name: "不限",
......@@ -2694,6 +2727,41 @@
err => {}
);
},
//弹窗选择复制的团期信息
CopyTripAndFeature(item) {
this.CopyTripAndFeatureMsg.VisaShow = true;
this.CopyTripAndFeatureMsg.CopyTrip = [];
this.CopyTripAndFeatureMsg.copyType = '';
this.CopyTripAndFeatureMsg.TCID = item.TCID;
this.CopyTripAndFeatureMsg.CopyTCNUM = "";
this.getVisaEmployeeList();
},
//保存复制的行程信息
SetCopyTripAndFeature() {
this.CopyTripAndFeatureMsg.copyType = '';
if (this.CopyTripAndFeatureMsg.CopyTrip && this.CopyTripAndFeatureMsg.CopyTrip.length > 0) {
this.CopyTripAndFeatureMsg.copyType = this.CopyTripAndFeatureMsg.CopyTrip.join(',')
}
this.apipost(
"travel_post_CopyTripAndFeature",
this.CopyTripAndFeatureMsg,
res => {
if (res.data.resultCode == 1) {
this.Success("复制行程成功");
this.CopyTripAndFeatureMsg.VisaShow = false;
this.CopyTripAndFeatureMsg.CopyTrip = [];
this.CopyTripAndFeatureMsg.copyType = '';
this.CopyTripAndFeatureMsg.TCID = 0;
this.CopyTripAndFeatureMsg.CopyTCNUM = "";
this.getControlList();
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
//签证op设置
ckOPInfo(item) {
this.VisaOPMsg.VisaShow = true;
......
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