Commit 6367aa83 authored by youjie's avatar youjie

no message

parent e976e5d2
......@@ -59,7 +59,7 @@
font-size: 12px;
color: #999999;
}
.page_fdd .avatar-uploader-icon{
width: 100%;
line-height: 0;
......@@ -389,8 +389,8 @@
<template>
<div class="page_bdm" v-if="GetDetail" v-loading="loading">
<p class="_tit">{{GetDetail.FinanceName}} <span style="color: red;" v-if="GetDetail.Status==4">已作废</span></p>
<div v-if="GetDetail.TemplateId==36 || GetDetail.TemplateId==37 || GetDetail.TemplateId==53 ||GetDetail.TemplateId==48 || (GetDetail.TemplateId==43&&GetDetail.IsPublic==4) || (GetDetail.TemplateId==56&&GetDetail.IsPublic==4)" style="width: 890px;text-align: right;font-size:12px;cursor: pointer;color: #3980C8;" @click="goUrlApplication('Application',GetDetail.FrID)">
<span v-show="huijiShow" @click="goPrintPageNew(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)" style="color: #3980C8;font-size:12px;text-align:right;cursor: pointer;width:830px;margin-bottom:20px">凭证打印</span>
<span v-if="GetDetail.FApplyForNumber&&GetDetail.FApplyForNumber!=''">申请书{{GetDetail.FApplyForNumber}}下载</span>
......@@ -417,15 +417,15 @@
</template>
<div class="_explain">
<div class="illustrate-text">
<p class="illustrate-left">附加说明:<span class="fr" v-if="GetDetail.ComplainID > 0" @click="goUrl('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"> <span style="color:#000">投诉单号:</span>
<p class="illustrate-left">附加说明:<span class="fr" v-if="GetDetail.ComplainID > 0" @click="goUrl('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"> <span style="color:#000">投诉单号:</span>
<span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span>
<span v-if="(GetDetail.TemplateId==28 || GetDetail.TemplateId==30) && GetDetail.OtherType!=63 && GetDetail.OtherType!=64" @click="Gourl(GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span>
<span v-if="(GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState && GetDetail.OtherType!=63 && GetDetail.OtherType!=64" @click="GoOPurl(GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span>
<span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)" style="margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">拜访记录</span>
<span v-if="CostTypeState" @click="GourlCostType('yingyanMap',2)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">鹰眼轨迹</span>
<span v-if="GetDetail.OtherType==6" style="cursor: pointer;float: right;color: #000;font-size: 12px;">
<span style="text-decoration: underline;margin-right:10px" @click="goHand(1,GetDetail)">团号:{{GetDetail.TCNUM}}</span>
<span style="text-decoration: underline;" @click="goHand(2,GetDetail)">相关单据:{{GetDetail.ReFinanceId}}</span>
<span style="text-decoration: underline;margin-right:10px" @click="goHand(1,GetDetail)">团号:{{GetDetail.TCNUM}}</span>
<span style="text-decoration: underline;" @click="goHand(2,GetDetail)">相关单据:{{GetDetail.ReFinanceId}}</span>
</span>
<span v-if="GetDetail.OtherType==18&&GetDetail.ReFinanceId>0" style="cursor: pointer;float: right;color: #000;font-size: 12px;">
<span @click="goOrderDetails(GetDetail.ReFinanceId)">账单:{{GetDetail.ReFinanceId}}</span>
......@@ -433,23 +433,23 @@
</p>
<div class="illustrate-right" v-if="GetDetail.OtherType=='55'"
@click="clickAirTicketOrder">
@click="clickAirTicketOrder">
机票单号:{{GetDetail.ReFinanceId}}
</div>
<div v-if="GetDetail.OtherType==56||GetDetail.OtherType==57"
class="illustrate-right fygsbumen-box-right"
class="illustrate-right fygsbumen-box-right"
@click="ImpressionTicketDetails('ImpressionTicketUserDetails')">{{GetDetail.OtherType==56?'票务提成详情':'票务工资详情'}}</div>
<div v-if="GetDetail.OtherType==61||GetDetail.OtherType==62" class="illustrate-right fygsbumen-box-right"
<div v-if="GetDetail.OtherType==61||GetDetail.OtherType==62" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleDetails('singleProductHotelOrderOP')">{{'单项酒店订单:'+GetDetail.ReFinanceId}}</div>
<div v-if="GetDetail.OtherType==66" class="illustrate-right fygsbumen-box-right"
<div v-if="GetDetail.OtherType==66" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleDetails('SingleticketOrderListOP')">{{'单项门票订单:'+GetDetail.ReFinanceId}}</div>
<div v-if="GetDetail.OtherType==67||GetDetail.OtherType==68" class="illustrate-right fygsbumen-box-right"
<div v-if="GetDetail.OtherType==67||GetDetail.OtherType==68" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleDetails('CharterOrderListOP')">{{'单项车订单:'+GetDetail.ReFinanceId}}</div>
<div v-if="GetDetail.OtherType==63" class="illustrate-right fygsbumen-box-right"
<div v-if="GetDetail.OtherType==63" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleCommissionDetails('ServiceCommissiondetails',1)">{{'单项销售提成详情'}}</div>
<div v-if="GetDetail.OtherType==64" class="illustrate-right fygsbumen-box-right"
<div v-if="GetDetail.OtherType==64" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleCommissionDetails('ServiceCommissiondetails',2)">{{'单项OP提成详情'}}</div>
</div>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0">
......@@ -580,7 +580,7 @@
</div>
</template>
</div>
<div style="margin-top: 102px;" class="page_fdd" v-if="isShowAttachment&&GetDetail.IsUploadPic===1">
<div v-if="saveMsg.length>0">
<div class="_addUpload_box _addUpload_box_btm clearfix" >
......@@ -593,7 +593,7 @@
</div>
<div v-if="file.Type==1">
<div class="iconfont _wenjian_P" :class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'" @click="showUpLoadFileT(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
</div>
......@@ -628,7 +628,7 @@
<myGuanBill :ID="FrID" :FrID='FrID' :TemplateId='GetDetail.TemplateId' v-if="(((GetDetail.TemplateId === 36 || GetDetail.TemplateId === 37) && LeadState) || GetDetail.TemplateId === 63 || GetDetail.TemplateId === 59 || GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53 || GetDetail.TemplateId === 56) && showModel" />
<myJiPiaoBill :ID="FrID" :FrID='FrID' :TemplateId='GetDetail.TemplateId' v-if="GetDetail.TemplateId === 2 || GetDetail.TemplateId === 12 && showModel" />
<huijiBill :ID="ID" :disabled="true" :loopNumN="1" :FrID='FrID' :TemplateId='GetDetail.TemplateId' v-if="GetDetail.AccountantMergeDetailList && GetDetail.AccountantMergeDetailList.length>0" />
</div>
<template v-if="sonTCIDList">
<div class="w890px">
......@@ -825,7 +825,7 @@
<el-option label='支' value='2' key='2'></el-option>
</el-select>
<button class="normalBtn" @click="GetHangingAccountList(),ChongDiMoney = 0">查询</button>
</div>
</div>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;">
<tr>
<th><input type="checkbox" v-model="checkedAll" @change="changeCheckedAll()">费用类型</th>
......@@ -1032,7 +1032,7 @@
</el-date-picker>
</div>
</div>
<div class="_upload_box">
<ul class="clearfix">
<li v-for="(img,imgIndex) in uploadImgList">
......@@ -1130,7 +1130,7 @@
<el-option label='支' value='2' key='2'></el-option>
</el-select>
<button class="normalBtn" @click="GetHangingAccountList(),ChongDiMoney = 0">查询</button>
</div>
</div>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;">
<tr>
<th><input type="checkbox" v-model="checkedAll" @change="changeCheckedAll(),ChongDiMoney = 0">费用类型</th>
......@@ -1185,26 +1185,26 @@
<!-- 111 -->
<div class="_pay_box" v-if="AuditOrRefundMsg.Status=='5'&&item.SpecialNode==2">
<!-- <div class="_pay_box"> -->
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;">
<tr>
<th>账户分类</th>
<th>付款方式</th>
<th>账户</th>
<th>账户</th>
<th>金额</th>
<th width="70">币种</th>
<th width="150px">汇率</th>
<th width="100px">总金额</th>
<th width="150px">汇率</th>
<th width="100px">总金额</th>
</tr>
<template v-for="(i,index) in payMsgList">
<tr v-if="!i.show" @click="payMsgListShow(i, index)">
<td>{{i.AccName}}</td>
<td>{{i.Name}}</td>
<td>{{i.Account}}</td>
<td>{{i.Account}}</td>
<td>{{moneyFormat(i.OriginalMoney)}}</td>
<td>{{i.CurrenName}}</td>
<td>{{i.Rate}}</td>
<td>{{moneyFormat(i.allMoney)}}</td>
<td>{{i.Rate}}</td>
<td>{{moneyFormat(i.allMoney)}}</td>
</tr>
<tr v-else @keyup.enter="addList(2,index)">
<td>
......@@ -1397,7 +1397,7 @@
</div>
</div>
</div>
<div class="_right_content" v-else>
<div class="_more" v-for="(son,sindex) in item.AuditRecordList">
<p class="_name" v-if="son.AuditStatus==2">{{son.AuditName}}
......@@ -1409,7 +1409,7 @@
<p><span></span>{{z.BeFrom}}<span><i class="_color_green">转交</i></span>{{z.Target}}</p>
<p class="_pp_info">转交备注:{{z.Remarks?z.Remarks:'无'}}</p>
</div>
</template>
</template>
<div class="_right_content" v-if="son.AuditStatus==2">
<div class="_pp_info">
<p>{{son.Remark?son.Remark:'无'}}</p>
......@@ -1577,7 +1577,7 @@ export default {
show: false,
},
CurrencyId:'',
imageUrl:'',
uploadImgList:[],
coinGetList:[],
......@@ -1691,7 +1691,7 @@ export default {
this.imgList.push(i.Url);
this.picIsShow= true;
}else{
if(i.Content.substring(i.Content.lastIndexOf('.')+1,i.Content.length).toUpperCase()=='PDF'){
this.previewPDF(i.Url)
}else{
......@@ -1728,7 +1728,7 @@ export default {
let path = "/Upload/Temporary/"
this.$message.info('上传中...')
this.UploadSelfFileT(path, newArr, x => {
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
this.saveMsg.push({
Type:fileTypeNumber,
Content: x.data.FilePath,
......@@ -1737,7 +1737,7 @@ export default {
this.$message.success('上传成功');
});
},
deleteUploadFile(i){ // 删除上传文件
this.saveMsg.splice(i,1);
},
......@@ -1790,7 +1790,7 @@ export default {
}
let url
url = "CarSingle_post_GetAdminCarOrderPageList"
this.apipost(url, data,
res => {
if (res.data.resultCode == 1) {
......@@ -1828,7 +1828,7 @@ export default {
}
});
}
},
// 印象票务制单详情
ImpressionTicketDetails(path){
......@@ -1852,7 +1852,7 @@ export default {
url = 'http://localhost:8081/#/'
}
let data = [
{
{
path:'customerOrder',
OrderId: this.GetDetail.ReFinanceId,
}
......@@ -1873,7 +1873,7 @@ export default {
this.F_Disbursement_Schedule = true;
}
});
},
goPrintPageNew(type,id,Merge,OrderSource){
if(type===1){
......@@ -1894,57 +1894,57 @@ export default {
if(type==1){
this.$router.push({
name: 'TeamBalancePayment',
query: {
query: {
id:GetDetail.TCID,
IsHaveAuth:true,
blank: "y",
tab: "团队收支明细"
blank: "y",
tab: "团队收支明细"
}
});
});
}
else{
this.$router.push({
name: 'FinancialDocumentsDetail',
query: {
query: {
id:GetDetail.ReFinanceId,
blank: "y",
tab: "单据详情"
blank: "y",
tab: "单据详情"
}
});
});
}
},
//跳转至电商订单详情
goOrderDetails(id){
this.$router.push({
name: 'EleBillDetail',
query: {
query: {
BillId:id,
blank: "y",
tab: "账单详情"
blank: "y",
tab: "账单详情"
}
});
});
},
GourlCostType(path,num){
this.$router.push({
name: path,
query: {
blank: "y",
query: {
blank: "y",
EmployeeId:this.GetDetail.CreateBy,
}
});
},
GoOPurl(GetDetail){
this.$router.push({
name: 'OpComPersonDetails',
query: {
query: {
EmployeeId:GetDetail.AccountEmployeeId,
PeriodsId:GetDetail.OPPeriodsId,
RB_Branch_Id:GetDetail.RB_Branch_Id,
blank: "y",
tab: "op提成明细"
blank: "y",
tab: "op提成明细"
}
});
},
......@@ -1952,20 +1952,20 @@ export default {
if(GetDetail.OtherType==43){//9月9号新增 如果是43 就跳转到国内的详情 反之按之前的来用
this.$router.push({
name: 'domesticCommissiondetails',
query: {
query: {
PeriodId:GetDetail.ReFinanceId,
blank: "y",
tab: "国内销售提成详情"
blank: "y",
tab: "国内销售提成详情"
}
});
}else if(GetDetail.OtherType==69){//跳转台湾提成的三级详情
this.$router.push({
name: 'domesticCommissiondetailsTW',
query: {
query: {
PeriodId:GetDetail.ReFinanceId,
OutBranchId: GetDetail.RB_Branch_Id,
blank: "y",
tab: "台湾销售提成详情"
OutBranchId: GetDetail.RB_Branch_Id,
blank: "y",
tab: "台湾销售提成详情"
}
});
}else if(GetDetail.OtherType==70){//跳转台湾提成的三级详情
......@@ -1978,25 +1978,45 @@ export default {
}
this.$router.push({
name: urlName,
query: {
query: {
PeriodId:GetDetail.ReFinanceId,
OutBranchId: GetDetail.RB_Branch_Id,
blank: "y",
tab: "台湾销售提成详情"
OutBranchId: GetDetail.RB_Branch_Id,
blank: "y",
tab: "台湾销售提成详情"
}
});
}else{
} else if (GetDetail.OtherType == 72) {//同业提成详情
this.$router.push({
name: 'TradeTicketDetails',
query: {
PeriodId: GetDetail.ReFinanceId,
RB_Branch_Id: GetDetail.RB_Branch_Id,
blank: "y",
tab: "同业提成详情"
}
});
} else if (GetDetail.OtherType == 73) {//OP提成详情
this.$router.push({
name: 'OpComPersonDetails',
query: {
PeriodId: GetDetail.ReFinanceId,
OutBranchId: GetDetail.RB_Branch_Id,
blank: "y",
tab: "同业提成明细"
}
});
} else{
this.$router.push({
name: 'CommissionDetail',
query: {
query: {
periods:GetDetail.Periods,
companyID:GetDetail.RB_Branch_Id,
blank: "y",
tab: "提成详情"
blank: "y",
tab: "提成详情"
}
});
}
},
// 单选计算
checkdIteam(item){
......@@ -2013,7 +2033,7 @@ export default {
this.ChongDiMoney += item.Money
}
}
},
// 全选
changeCheckedAll(){
......@@ -2038,7 +2058,7 @@ export default {
GetHangingAccountList(){
if (this.GetDetail.Type === 1 && this.ChongDiMsg.ClientType === '' && this.ChongDiMsg.ClientID === '') {
this.$message.error('请选择客户类型!')
return
return
}
this.apipost('Financial_post_GetHangingAccountList', this.ChongDiMsg, res=>{
if(res.data.resultCode == 1) {
......@@ -2075,7 +2095,7 @@ export default {
ClientAccountList.push(obj)
})
this.ClientAccountList = ClientAccountList;
}
}, err => {})
},
......@@ -2117,7 +2137,7 @@ export default {
this.payMsgList[index].show = true
}
},
addList: function (type, index) {
addList: function (type, index) {
if (type) {
if (this.payMsgList[index].AccountId==='') return
if (this.payMsgList[index].Type==='') return
......@@ -2157,10 +2177,10 @@ export default {
let num=allMoney.toString().split(".")[1].length;
if(num==3){
allMoney=`${allMoney}1`;
}
}
}
this.allMoney = Math.round(allMoney * 100) / 100;
},
Financial_post_GetFinancLogList(){ // 获取单据日志
if(this.checkboxShow) return
......@@ -2378,20 +2398,20 @@ export default {
let NewRate=Rate;
if(Rate.toString().split(".")[1] && Rate.toString().split(".")[1].length <5){
NewRate= Rate*100;
}
}
let newmoney=Money*NewRate+fee;
if(newmoney.toString().split(".")[1]){
let num=newmoney.toString().split(".")[1].length;
if(num==1){
newmoney=`${newmoney}0`;
}
}
}
if(Rate.toString().split(".")[1] && Rate.toString().split(".")[1].length <5){
this.payMsgList[index].allMoney = Math.round( newmoney* 100) / 100 / 100;
} else{
this.payMsgList[index].allMoney = Math.round( newmoney* 100) / 100;
}
} else {
this.payMsg.Fee = isNaN(parseFloat(this.payMsg.Fee))?0:parseFloat(this.payMsg.Fee);
this.payMsg.Rate = isNaN(parseFloat(this.payMsg.Rate))?0:parseFloat(this.payMsg.Rate);
......@@ -2408,14 +2428,14 @@ export default {
let num=newmoney.toString().split(".")[1].length;
if(num==1){
newmoney=`${newmoney}0`;
}
}
}
if(Rate.toString().split(".")[1] && Rate.toString().split(".")[1].length <5){
this.payMsg.allMoney = Math.round( newmoney* 100) / 100 / 100;
this.payMsg.allMoney = Math.round( newmoney* 100) / 100 / 100;
}else{
this.payMsg.allMoney = Math.round( newmoney* 100) / 100;
}
this.payMsg.allMoney = Math.round( newmoney* 100) / 100;
}
}
},
......@@ -2610,7 +2630,7 @@ export default {
AuditOrRefund(){ // 保存
let that=this;
that.benMoney=Math.round(that.benMoney * 100) / 100;
if(that.Ststus==1){
if(this.AuditOrRefundMsg.Status=='5'){
if(that.GetDetail.AccountNumber && that.GetDetail.AccountNumber.indexOf("东航平台")!=-1){
......@@ -2631,7 +2651,7 @@ export default {
}
}
}
let imgArr = [];
this.uploadImgList.forEach(x=>{
imgArr.push(x.src);
......@@ -2866,10 +2886,10 @@ export default {
this.ChongDiMsg.Types = ''
this.ChongDiMsg.ClientType = data.Type === 2 ? data.ClientType : ''
this.ChongDiMsg.ClientID = data.Type === 2 ? data.ClientID : ''
if (data.Type === 2) {
if (data.Type === 2) {
this.financeinfo_post_GetClientAccountList(this.ChongDiMsg.ClientType)
this.GetHangingAccountList()
}
}
let AuditSteps=this.GetDetail.AuditSteps;
let ChuNaShenHe = false
let MsgUrl = false;
......@@ -2891,7 +2911,7 @@ export default {
return
}
})
}
}
this.MsgUrl = MsgUrl
......@@ -2904,7 +2924,7 @@ export default {
// this.Ststus=0;
// }
// })
// }
// })
if (this.GetDetail.DijieBathFinanceList.length > 0 ) {
......@@ -2915,7 +2935,7 @@ export default {
}
} else if (this.GetDetail.DijieBathFinanceList.length < 1 ) {
this.otherTable = false
}
}
this.OrderID = this.GetDetail.OrderID;
this.OrderSource = this.GetDetail.OrderSource;
this.SourceID = this.GetDetail.SourceID;
......@@ -3127,7 +3147,7 @@ export default {
this.qjGroupId=this.QjGroupId();
this.userId = userInfo.EmployeeId;
this.RB_Post_Id = userInfo.RB_Post_Id;
this.queryMsg.FinanceId = this.$route.query.id;
this.financeinfo_post_GetClientTypeList();
this.Financial_post_GetDetail(this.ID);
......
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