Commit 09901738 authored by youjie's avatar youjie

no message

parent b9bd5c16
...@@ -107,8 +107,19 @@ ...@@ -107,8 +107,19 @@
<!--<p class="_yewudanju">订单号:<span class="_jump_page" @click="GetDetail.OrderID>0?jumpPage('RegistrationList',GetDetail.TCID,1):''">{{GetDetail.OrderID?GetDetail.OrderID:'无'}}</span></p>--> <!--<p class="_yewudanju">订单号:<span class="_jump_page" @click="GetDetail.OrderID>0?jumpPage('RegistrationList',GetDetail.TCID,1):''">{{GetDetail.OrderID?GetDetail.OrderID:'无'}}</span></p>-->
<p class="_yewudanju" v-if="GetDetail.OrderSource==8&&!isPrintPage">{{$t('hotel.order_Number')}}<span class="_jump_page" @click="GetDetail.OrderID>0?jumpPage('RegistrationList',GetDetail.TCID,1):''">{{GetDetail.OrderID?GetDetail.OrderID:$t('fnc.no')}}</span></p> <p class="_yewudanju" v-if="GetDetail.OrderSource==8&&!isPrintPage">{{$t('hotel.order_Number')}}<span class="_jump_page" @click="GetDetail.OrderID>0?jumpPage('RegistrationList',GetDetail.TCID,1):''">{{GetDetail.OrderID?GetDetail.OrderID:$t('fnc.no')}}</span></p>
<p class="_yewudanju" v-if="isPrintPage">{{$t('fnc.dayinshijian')}}<span >{{printTime}}</span></p> <p class="_yewudanju" v-if="isPrintPage">{{$t('fnc.dayinshijian')}}<span >{{printTime}}</span></p>
<div class="rb_top_row _r_mb5" v-if="GetDetail.GroundingSupplierId">
<p @click="goUnifyUrl('GroundSupplier',GetDetail.GroundingSupplierId)">
<span>&nbsp;&nbsp;&nbsp; 供应商:</span>
<span class="" style="color: #3980C8;cursor: pointer;"
>{{ GetDetail.GroundingSupplierName }}</span>
<el-tooltip class="item" effect="dark" :content="GetDetail.GSupplierContractUrl?'有合同':'无合同'" placement="top">
<span style="cursor: pointer;font-size: 12px;">{{GetDetail.GSupplierContractUrl?'已签合同':'未签合同'}}</span>
</el-tooltip>
</p>
</div>
<div class="rb_top_row _r_mb5"> <div class="rb_top_row _r_mb5">
<p v-if="GetDetail.Type==1 || GetDetail.Type==5">{{$t('fnc.hnrdanwei')}}<span class="_r_name">{{GetDetail.RemitterName}}</span></p> <p v-if="GetDetail.Type==1 || GetDetail.Type==5">{{$t('fnc.hnrdanwei')}}<span class="_r_name">{{GetDetail.RemitterName}}</span></p>
<p v-if="GetDetail.Type==2 || GetDetail.Type==6">{{$t('fnc.fkduixiang')}} <p v-if="GetDetail.Type==2 || GetDetail.Type==6">{{$t('fnc.fkduixiang')}}
<span class="_r_name" style="margin-right:8px">{{GetDetail.ClientTypeName}}</span> <span class="_r_name" style="margin-right:8px">{{GetDetail.ClientTypeName}}</span>
<span class="_r_name">{{GetDetail.AccountHolder}}</span> <span class="_r_name">{{GetDetail.AccountHolder}}</span>
...@@ -122,6 +133,8 @@ ...@@ -122,6 +133,8 @@
<span class="_r_name _r_IsPublic" v-if="GetDetail.IsPublic==7">收支相抵</span> <span class="_r_name _r_IsPublic" v-if="GetDetail.IsPublic==7">收支相抵</span>
<span class="_r_name _r_IsPublic" v-if="GetDetail.IsPublic==10">虚拟结算</span> <span class="_r_name _r_IsPublic" v-if="GetDetail.IsPublic==10">虚拟结算</span>
<span class="_r_name _r_IsPublic" v-if="GetDetail.IsPublic==11">电商结算</span> <span class="_r_name _r_IsPublic" v-if="GetDetail.IsPublic==11">电商结算</span>
</p> </p>
<p style="font-weight: bold"><span class="">{{$t('hotel.hotel_SerialNumber')}}</span>{{GetDetail.FrID}}</p> <p style="font-weight: bold"><span class="">{{$t('hotel.hotel_SerialNumber')}}</span>{{GetDetail.FrID}}</p>
</div> </div>
...@@ -154,7 +167,7 @@ ...@@ -154,7 +167,7 @@
<div> <div>
<span v-if="GetDetail.OtherType!=55">{{$t('hotel.order_Number')}}:<span>{{GetDetail.OrderID?GetDetail.OrderID:$t('fnc.no')}}</span></span> <span v-if="GetDetail.OtherType!=55">{{$t('hotel.order_Number')}}:<span>{{GetDetail.OrderID?GetDetail.OrderID:$t('fnc.no')}}</span></span>
<span v-if="GetDetail.OtherType==55"> 机票单号:<span>{{GetDetail.ReFinanceId?GetDetail.ReFinanceId:$t('fnc.no')}}</span></span> <span v-if="GetDetail.OtherType==55"> 机票单号:<span>{{GetDetail.ReFinanceId?GetDetail.ReFinanceId:$t('fnc.no')}}</span></span>
</div> </div>
</div> </div>
<div class="rb_top_row _r_mb5" v-if="isPrintPage&&OrderSource==4"> <div class="rb_top_row _r_mb5" v-if="isPrintPage&&OrderSource==4">
<p> <p>
...@@ -358,6 +371,15 @@ export default { ...@@ -358,6 +371,15 @@ export default {
s = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds(); s = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
this.printTime = y + '' + m + '' + d + ' ' + h + ':' + min + ':' + s; this.printTime = y + '' + m + '' + d + ' ' + h + ':' + min + ':' + s;
},methods:{ },methods:{
goUnifyUrl(path,Id){
this.$router.push({
path: path,
query: {
Id: Id,
blank: 'y',
}
});
},
jumpPage(path,id,type){ jumpPage(path,id,type){
if(type==1){ if(type==1){
// let routeData = this.$router.resolve({ // let routeData = this.$router.resolve({
...@@ -415,14 +437,14 @@ export default { ...@@ -415,14 +437,14 @@ export default {
if(item.CostTypeName=="地接费(领取)"){ if(item.CostTypeName=="地接费(领取)"){
status=true; status=true;
} }
}) })
if(status){ if(status){
} }
} }
} }
}, err => {}) }, err => {})
}, },
},mounted(){ },mounted(){
const myDate = new Date(); const myDate = new Date();
let yaer = myDate.getFullYear(); //获取完整的年份(4位,1970-????) let yaer = myDate.getFullYear(); //获取完整的年份(4位,1970-????)
...@@ -430,7 +452,7 @@ export default { ...@@ -430,7 +452,7 @@ export default {
let dateS = myDate.getDate(); //获取当前日(1-31) let dateS = myDate.getDate(); //获取当前日(1-31)
this.StartDate = yaer + '-' + month + '-' + '01'; this.StartDate = yaer + '-' + month + '-' + '01';
this.EndDate = yaer + '-' + month + '-' + dateS; this.EndDate = yaer + '-' + month + '-' + dateS;
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.EmployeeId = userInfo.EmployeeId; this.EmployeeId = userInfo.EmployeeId;
this.Financial_post_GetDetail(this.ID); this.Financial_post_GetDetail(this.ID);
},watch: { // 监听参数变化 },watch: { // 监听参数变化
......
...@@ -2283,13 +2283,15 @@ ...@@ -2283,13 +2283,15 @@
if (this.$route.query.id == 245 || if (this.$route.query.id == 245 ||
this.$route.query.id == 246 || this.$route.query.id == 246 ||
this.$route.query.id == 247 || this.$route.query.id == 247 ||
this.$route.query.id == 248) { this.$route.query.id == 248 ||
this.$route.query.id == 267) {
this.is_HandFee = true this.is_HandFee = true
this.isHandFee = true this.isHandFee = true
} else if ((this.msg.TemplateId == 245 || } else if ((this.msg.TemplateId == 245 ||
this.msg.TemplateId == 246 || this.msg.TemplateId == 246 ||
this.msg.TemplateId == 247 || this.msg.TemplateId == 247 ||
this.msg.TemplateId == 248) && this.msg.HandFeeFrId == 0 && this.msg.RB_Branch_Id != 1220) { this.msg.TemplateId == 248 ||
this.msg.TemplateId == 267) && this.msg.HandFeeFrId == 0 && this.msg.RB_Branch_Id != 1220) {
this.is_HandFee = true this.is_HandFee = true
this.isHandFee = true this.isHandFee = true
} else { } else {
...@@ -2568,7 +2570,8 @@ ...@@ -2568,7 +2570,8 @@
if (this.$route.query.id == 245 || if (this.$route.query.id == 245 ||
this.$route.query.id == 246 || this.$route.query.id == 246 ||
this.$route.query.id == 247 || this.$route.query.id == 247 ||
this.$route.query.id == 248) { this.$route.query.id == 248 ||
this.$route.query.id == 267) {
this.is_HandFee = true this.is_HandFee = true
this.isHandFee = true this.isHandFee = true
} else { } else {
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="账户管理" placement="top"> <el-tooltip class="item" effect="dark" content="账户管理" placement="top">
<el-button @click="AccountManage(scope.row)" <el-button @click="AccountManage(scope.row)"
class="button" type="primary" class="button" type=""
icon="el-icon-s-finance" circle> icon="el-icon-s-finance" circle>
</el-button> </el-button>
</el-tooltip> </el-tooltip>
...@@ -150,8 +150,14 @@ ...@@ -150,8 +150,14 @@
class="button" type="primary" class="button" type="primary"
icon="el-icon-edit" circle> icon="el-icon-edit" circle>
</el-button> </el-button>
<el-tooltip class="item" effect="dark" content="详情" placement="top">
<el-button @click="Edit(scope.row,1)"
class="button" type="info"
icon="el-icon-view" circle>
</el-button>
</el-tooltip>
<el-button @click="Delete(scope.row)" <el-button @click="Delete(scope.row)"
class="button" type="danger" class="button" type="danger" style="margin-left: 0;margin-top: 5px;"
icon="el-icon-delete" circle></el-button> icon="el-icon-delete" circle></el-button>
</template> </template>
</el-table-column> </el-table-column>
...@@ -163,7 +169,7 @@ ...@@ -163,7 +169,7 @@
</div> </div>
</div> </div>
<el-dialog :title="`${titleName}供应商`" :visible.sync="showVisible" width="750px" @close="resetForm('form')"> <el-dialog :title="`${titleName}供应商`" :visible.sync="showVisible" width="750px" @close="resetForm('form')">
<el-form ref="form" :model="form" :rules="rules" label-width="110px"> <el-form ref="form" :model="form" :rules="rules" label-width="110px" :disabled="titleName=='查看'?true:false">
<div class="msgbox"> <div class="msgbox">
<el-form-item label="线路" prop="LineId"> <el-form-item label="线路" prop="LineId">
<el-select <el-select
...@@ -320,7 +326,7 @@ ...@@ -320,7 +326,7 @@
} }
}, },
created() { created() {
this.msg.Id = this.$route.query.Id?this.$route.query.Id:''
}, },
components: { components: {
...@@ -341,10 +347,25 @@ ...@@ -341,10 +347,25 @@
this.titleName = '新增' this.titleName = '新增'
this.showVisible = true this.showVisible = true
}, },
Edit(row){ Edit(row,type){
this.titleName = '编辑' if(type==1){
this.form = JSON.parse(JSON.stringify(row)) this.titleName = '查看'
this.form.LineId = row.LineInfo.split(',').map(x=>{ return Number(x) }) this.apipost('travel_get_GetGroundingSupplier', {
Id: row.Id
}, res => {
if (res.data.resultCode == 1) {
this.form = res.data.data
this.form.LineId = res.data.data.LineInfo.split(',').map(x=>{ return Number(x) })
} else {
this.Error(res.data.message)
}
})
}else{
this.titleName = '编辑'
this.form = JSON.parse(JSON.stringify(row))
this.form.LineId = row.LineInfo.split(',').map(x=>{ return Number(x) })
}
this.showVisible = true this.showVisible = true
}, },
Delete(row){ Delete(row){
......
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