Commit a6d66d87 authored by 黄奎's avatar 黄奎

样式调整

parent eb23c926
......@@ -1266,8 +1266,7 @@
<a v-if="item.HotelDiningBus.HotelChangeState>0" @click="goHotelDiningBus(item,item.HotelDiningBus,1)"
style="color:blue;cursor:pointer">{{$t('Operation.Op_HotelChange')}}</a>
<a v-if="item.HotelDiningBus.DiningChangeState>0"
@click="goHotelDiningBus(item,item.HotelDiningBus,2)"
style="color:blue;cursor:pointer">餐厅变更</a>
@click="goHotelDiningBus(item,item.HotelDiningBus,2)" style="color:blue;cursor:pointer">餐厅变更</a>
<a
v-if="item.HotelDiningBus.ResultBusTypeStr!=''">{{$t('Operation.Op_carType')}}:{{item.HotelDiningBus.ResultBusTypeStr}}</a>
</div>
......@@ -1407,27 +1406,31 @@
</div>
</div>
<!--复制行程信息-->
<div class="combottomDiv OPremarkDiv" style="height:150px;" v-show="CopyTripAndFeatureMsg.VisaShow">
<!--复制行程信息-->
<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-input v-model="CopyTripAndFeatureMsg.CopyTCNUM" placeholder="请输入团号【KIXMF06240921C】"></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-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>
<el-button size="small" @click="CopyTripAndFeatureMsg.VisaShow = false">
{{$t('pub.cancelBtn')}}
</el-button>
<el-button type="primary" size="small" :loading="saveLoading" @click="SetCopyTripAndFeature">
{{$t('pub.sureBtn')}}
</el-button>
</div>
</div>
<div v-if="dialog.show">
......@@ -1637,12 +1640,12 @@
VisaAssistId: "",
},
CopyTripAndFeatureMsg: {
//CopyTripAndFeature
VisaShow: false,
TCID: 0,
CopyTCNUM: "",
CopyTrip: [],
copyType:"",
copyType: "",
CurrentTCNUM: "",
},
flightStatus: [{
Id: 0,
......@@ -1696,6 +1699,7 @@
TCID: 0,
CanSellTicketNum: 2
},
saveLoading: false, //保存loading防止重复提交
IsModifyTravelControl: 0, //分公司是否有修改团控权限
pickerBeginDateBefore: {
disabledDate: time => {
......@@ -2733,34 +2737,50 @@
this.CopyTripAndFeatureMsg.CopyTrip = [];
this.CopyTripAndFeatureMsg.copyType = '';
this.CopyTripAndFeatureMsg.TCID = item.TCID;
this.CopyTripAndFeatureMsg.CurrentTCNUM = item.TCNUM;
this.CopyTripAndFeatureMsg.CopyTCNUM = "";
this.getVisaEmployeeList();
},
//保存复制的行程信息
SetCopyTripAndFeature() {
var that = this;
var sMsg = "";
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);
this.CopyTripAndFeatureMsg.CopyTrip.forEach(item => {
if (item == 1) {
sMsg += "线路行程";
}
},
err => {}
);
if (item == 2) {
sMsg += "、行程特色";
}
});
}
var tipMsg = '是否将【' + this.CopyTripAndFeatureMsg.CopyTCNUM + '】的' + sMsg + ',复制到【' + this.CopyTripAndFeatureMsg
.CurrentTCNUM + '】团?';
that.Confirm(tipMsg, function () {
that.saveLoading = true;
that.apipost(
"travel_post_CopyTripAndFeature",
that.CopyTripAndFeatureMsg,
res => {
that.saveLoading = false;
if (res.data.resultCode == 1) {
that.Success("复制行程成功");
that.CopyTripAndFeatureMsg.VisaShow = false;
that.CopyTripAndFeatureMsg.CopyTrip = [];
that.CopyTripAndFeatureMsg.copyType = '';
that.CopyTripAndFeatureMsg.TCID = 0;
that.CopyTripAndFeatureMsg.CopyTCNUM = "";
that.getControlList();
} else {
that.Error(res.data.message);
}
},
err => {}
);
});
},
//签证op设置
ckOPInfo(item) {
......
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