Commit a6d66d87 authored by 黄奎's avatar 黄奎

样式调整

parent eb23c926
...@@ -1266,8 +1266,7 @@ ...@@ -1266,8 +1266,7 @@
<a v-if="item.HotelDiningBus.HotelChangeState>0" @click="goHotelDiningBus(item,item.HotelDiningBus,1)" <a v-if="item.HotelDiningBus.HotelChangeState>0" @click="goHotelDiningBus(item,item.HotelDiningBus,1)"
style="color:blue;cursor:pointer">{{$t('Operation.Op_HotelChange')}}</a> style="color:blue;cursor:pointer">{{$t('Operation.Op_HotelChange')}}</a>
<a v-if="item.HotelDiningBus.DiningChangeState>0" <a v-if="item.HotelDiningBus.DiningChangeState>0"
@click="goHotelDiningBus(item,item.HotelDiningBus,2)" @click="goHotelDiningBus(item,item.HotelDiningBus,2)" style="color:blue;cursor:pointer">餐厅变更</a>
style="color:blue;cursor:pointer">餐厅变更</a>
<a <a
v-if="item.HotelDiningBus.ResultBusTypeStr!=''">{{$t('Operation.Op_carType')}}:{{item.HotelDiningBus.ResultBusTypeStr}}</a> v-if="item.HotelDiningBus.ResultBusTypeStr!=''">{{$t('Operation.Op_carType')}}:{{item.HotelDiningBus.ResultBusTypeStr}}</a>
</div> </div>
...@@ -1407,27 +1406,31 @@ ...@@ -1407,27 +1406,31 @@
</div> </div>
</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> <div class="combottomTitle">复制行程</div>
<el-form label-width="100px"> <el-form label-width="100px">
<el-col :span="4"> <el-col :span="4">
<el-form-item label="团号" prop="Remark"> <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-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="" prop="Remark"> <el-form-item label="" prop="Remark">
<el-checkbox-group v-model="CopyTripAndFeatureMsg.CopyTrip"> <el-checkbox-group v-model="CopyTripAndFeatureMsg.CopyTrip">
<el-checkbox label="1" value="1">行程</el-checkbox> <el-checkbox label="1" value="1">线路行程</el-checkbox>
<el-checkbox label="2" value="2">特色</el-checkbox> <el-checkbox label="2" value="2">行程特色</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="CopyTripAndFeatureMsg.VisaShow = false">{{$t('pub.cancelBtn')}}</button> <el-button size="small" @click="CopyTripAndFeatureMsg.VisaShow = false">
<button class="normalBtn" type="primary" @click="SetCopyTripAndFeature">{{$t('pub.sureBtn')}}</button> {{$t('pub.cancelBtn')}}
</el-button>
<el-button type="primary" size="small" :loading="saveLoading" @click="SetCopyTripAndFeature">
{{$t('pub.sureBtn')}}
</el-button>
</div> </div>
</div> </div>
<div v-if="dialog.show"> <div v-if="dialog.show">
...@@ -1637,12 +1640,12 @@ ...@@ -1637,12 +1640,12 @@
VisaAssistId: "", VisaAssistId: "",
}, },
CopyTripAndFeatureMsg: { CopyTripAndFeatureMsg: {
//CopyTripAndFeature
VisaShow: false, VisaShow: false,
TCID: 0, TCID: 0,
CopyTCNUM: "", CopyTCNUM: "",
CopyTrip: [], CopyTrip: [],
copyType:"", copyType: "",
CurrentTCNUM: "",
}, },
flightStatus: [{ flightStatus: [{
Id: 0, Id: 0,
...@@ -1696,6 +1699,7 @@ ...@@ -1696,6 +1699,7 @@
TCID: 0, TCID: 0,
CanSellTicketNum: 2 CanSellTicketNum: 2
}, },
saveLoading: false, //保存loading防止重复提交
IsModifyTravelControl: 0, //分公司是否有修改团控权限 IsModifyTravelControl: 0, //分公司是否有修改团控权限
pickerBeginDateBefore: { pickerBeginDateBefore: {
disabledDate: time => { disabledDate: time => {
...@@ -2733,34 +2737,50 @@ ...@@ -2733,34 +2737,50 @@
this.CopyTripAndFeatureMsg.CopyTrip = []; this.CopyTripAndFeatureMsg.CopyTrip = [];
this.CopyTripAndFeatureMsg.copyType = ''; this.CopyTripAndFeatureMsg.copyType = '';
this.CopyTripAndFeatureMsg.TCID = item.TCID; this.CopyTripAndFeatureMsg.TCID = item.TCID;
this.CopyTripAndFeatureMsg.CurrentTCNUM = item.TCNUM;
this.CopyTripAndFeatureMsg.CopyTCNUM = ""; this.CopyTripAndFeatureMsg.CopyTCNUM = "";
this.getVisaEmployeeList(); this.getVisaEmployeeList();
}, },
//保存复制的行程信息 //保存复制的行程信息
SetCopyTripAndFeature() { SetCopyTripAndFeature() {
var that = this;
var sMsg = "";
this.CopyTripAndFeatureMsg.copyType = ''; this.CopyTripAndFeatureMsg.copyType = '';
if (this.CopyTripAndFeatureMsg.CopyTrip && this.CopyTripAndFeatureMsg.CopyTrip.length > 0) { if (this.CopyTripAndFeatureMsg.CopyTrip && this.CopyTripAndFeatureMsg.CopyTrip.length > 0) {
this.CopyTripAndFeatureMsg.copyType = this.CopyTripAndFeatureMsg.CopyTrip.join(',') this.CopyTripAndFeatureMsg.copyType = this.CopyTripAndFeatureMsg.CopyTrip.join(',')
} this.CopyTripAndFeatureMsg.CopyTrip.forEach(item => {
this.apipost( if (item == 1) {
"travel_post_CopyTripAndFeature", sMsg += "线路行程";
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);
} }
}, if (item == 2) {
err => {} 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设置 //签证op设置
ckOPInfo(item) { 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