Commit fe9eaafb authored by youjie's avatar youjie

优化 car 的菜单显示

parent 283876ca
......@@ -4,7 +4,7 @@
</style>
<template>
<div class="flexDiv">
<div class="secondMenu" :class="{'big':!isCollapse}">
<div v-if="typeSystem==0" class="secondMenu" :class="{'big':!isCollapse}">
<div class="secondMenu_l">
<div class="menuItem">
<el-menu default-active="1" :background-color="!isRed?'#282733':'#FBFBFB'"
......@@ -31,7 +31,7 @@
</div>
</div>
<div class="flexParent" v-if="openMode==1">
<div class="nav-tabs-box" @contextmenu.prevent="showRightMenu" :style="{width:`${navWidth}px`}">
<div v-if="typeSystem==0" class="nav-tabs-box" @contextmenu.prevent="showRightMenu" :style="{width:`${navWidth}px`}">
<el-tabs v-if='tabs && tabs.length>0' v-model="currentTabName" style="margin-left: 120px;"
:closable="tabs.length>1" type="card" @edit="handleTabsEdit">
<el-tab-pane :key="i" v-for="(item,i) in tabs" :label="item.title" :name="item.name+'_'+i">
......@@ -81,6 +81,7 @@
export default {
data() {
return {
typeSystem: 0,
msg: {
ParentId: "",
MenuStatus: "0",
......@@ -992,7 +993,7 @@
window.localStorage.navTabs = JSON.stringify(this.tabs)
},
created() {
this.typeSystem = localStorage.typeSystem
}
};
......
......@@ -2,7 +2,10 @@
.page_fnDm {
background-color: white;
}
.page_fnDm.active{
position: relative;
top: -30px
}
.query-box {
overflow: inherit;
}
......@@ -676,907 +679,912 @@
</style>
<template>
<div class="page_fnDm" @keyup.enter="resetPageIndex(),getPageList()">
<ul class="_nav clearfix">
<!-- <li :class="active==5?'_active':''" @click="active=5,msg.Conditon=5,getPageList()">全部</li> -->
<li :class="active==1?'_active':''" @click="getActive(1,1,-1)">{{$t('ios.wfqide')}}</li>
<li :class="active==3?'_active':''" @click="getActive(3,3)">{{$t('ios.dwspide')}}</li>
<li :class="active==2?'_active':''" @click="getActive(2,2,-1)">{{$t('ios.wspide')}}</li>
<li :class="active==6?'_active':''" @click="getActive(6,6,-1)">{{$t('ios.wzfeide')}}</li>
<li :class="active==7?'_active':''" @click="getActive(7,7,-1)">{{$t('ios.bbhuide')}} <span
v-if="rejectNum !=='' && rejectNum>=0" style="color:red">({{rejectNum}})</span></li>
<li :class="active==4?'_active':''" @click="getActive(4,4,-1)">{{$t('ios.csgwode')}}</li>
<li v-if="ActionMenuCode.indexOf('F_AccountantFinanceMerge')!=-1"
:class="active==8?'_active':''" @click="getActive(8,8,-1)">发票凭证审核</li>
<li class="hight_query" style="float:right;">
<span>
<em @click.stop="heightQueryBox=!heightQueryBox">{{$t('fnc.gjchaxun')}} <i
class="iconfont icon-gengduo"></i></em>
</span>
<button class="hollowFixedBtn" @click="resetPageIndex(),getPageList()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" @click="goUrlAdd('ChoiceAddFinancialDocuments')">{{$t('pub.addBtn')}}</button>
<button class="normalBtn" v-if="checkboxShow" @click="Financial_post_SetBatch">{{$t('fnc.piltijiao')}}</button>
<button class="normalBtn" @click="method5()">{{$t('visa.v_daochu')}}</button>
<button class="hollowFixedBtn" @click="goUrl('WorkEntrustmentMy')">{{$t('fnc.gzweituo')}}</button>
<button v-if="active==3 && !hbState && hbShow" class="hollowFixedBtn" @click="HebingSP">合并审批</button>
<button v-if="active==3 && hbState" class="hollowFixedBtn" @click="hbState=false,getPageList">关闭合并审批</button>
<button v-loading="hbBtn" v-if="active==3 && hbState" class="hollowFixedBtn" @click="HebingSPLast">审批</button>
<button v-if="HandShow" class="hollowFixedBtn" @click="Handwithfee">手配费收入</button>
<button class="hollowFixedBtn" @click="ZhiDanChongDi"> 预付款冲抵</button>
<!-- v-if="F_Advance_Match" -->
<button class="hollowFixedBtn" @click="BOSSBtn = !BOSSBtn, checkList = [], getPageList(1), BOSSBtn2 = false"
v-if="msg.Conditon === 3 && userMenuCode">{{BOSSBtn ? '关闭一键审批' : '一键审批'}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon === 3 && BOSSBtn"
@click="BOSSBtnClick(1)">{{$t('ios.shenpi')}}</button>
<button class="hollowFixedBtn" @click="BOSSBtn2 = !BOSSBtn2, checkList = [], getPageList(1), BOSSBtn = false"
v-if="msg.Conditon === 3">{{BOSSBtn2 ? '关闭一键转交' : '一键转交'}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon === 3 && BOSSBtn2" @click="BOSSBtnClick(2)">转交</button>
<button class="hollowFixedBtn" v-if="msg.Conditon === 1&&ActionMenuCode.indexOf('batchAddWages')!=-1 " @click="outerVisible=true">工资单</button>
</li>
</ul>
<div class="Myquery-box">
<ul class="clearfix">
<li>
<span>
<em>{{$t('fnc.danhao')}}</em>
<el-input placeholder="" class="w150" v-model="msg.FrID" @keyup.native="checkInteger(msg,'FrID')"
maxlength="8"></el-input>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.shzhuangtai')}}</em>
<el-select v-model="msg.Status" filterable class="w150">
<el-option value="-1" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in StatusList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</span>
</li>
<li v-if='msg.Conditon==3'>
<span>
<em>{{$t('fnc.yjdanju')}}</em>
<el-select v-model="msg.IsSpecial" filterable class="w150">
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option :value="1" :label="$t('fnc.yes')"></el-option>
<el-option :value="2" :label="$t('fnc.fou')"></el-option>
</el-select>
</span>
</li>
<li>
<div>
<div class="page_fnDm page_RecPayQuer"
:class="[typeSystem==1?'active':'']" @keyup.enter="resetPageIndex(),getPageList()">
<ul class="_nav clearfix">
<!-- <li :class="active==5?'_active':''" @click="active=5,msg.Conditon=5,getPageList()">全部</li> -->
<li :class="active==1?'_active':''" @click="getActive(1,1,-1)">{{$t('ios.wfqide')}}</li>
<li :class="active==3?'_active':''" @click="getActive(3,3)">{{$t('ios.dwspide')}}</li>
<li :class="active==2?'_active':''" @click="getActive(2,2,-1)">{{$t('ios.wspide')}}</li>
<li :class="active==6?'_active':''" @click="getActive(6,6,-1)">{{$t('ios.wzfeide')}}</li>
<li :class="active==7?'_active':''" @click="getActive(7,7,-1)">{{$t('ios.bbhuide')}} <span
v-if="rejectNum !=='' && rejectNum>=0" style="color:red">({{rejectNum}})</span></li>
<li :class="active==4?'_active':''" @click="getActive(4,4,-1)">{{$t('ios.csgwode')}}</li>
<li v-if="ActionMenuCode.indexOf('F_AccountantFinanceMerge')!=-1"
:class="active==8?'_active':''" @click="getActive(8,8,-1)">发票凭证审核</li>
<li class="hight_query" style="float:right;">
<span>
<em>{{$t('fnc.mbleixing')}}</em>
<el-select v-model="msg.TemplateId" filterable class="w150">
<el-option value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in TemplateGetList' :label='item.Name' :value='item.Id' :key='item.Id'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.djleixing')}}</em>
<el-select v-model="msg.Type" filterable class="w150">
<el-option key="0" value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option key="1" value="1" :label="$t('restaurant.res_income')"></el-option>
<el-option key="2" value="2" :label="$t('restaurant.res_outcome')"></el-option>
<el-option key="3" value="5" :label="$t('fnc.yingshou')"></el-option>
<el-option key="4" value="6" :label="$t('fnc.yingfu')"></el-option>
<el-option key="5" value="4" :label="$t('fnc.zjdiaobo')"></el-option>
<el-option key="6" value="7" :label="$t('visaT.guazdanju')"></el-option>
</el-select>
<em @click.stop="heightQueryBox=!heightQueryBox">{{$t('fnc.gjchaxun')}} <i
class="iconfont icon-gengduo"></i></em>
</span>
<button class="hollowFixedBtn" @click="resetPageIndex(),getPageList()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" @click="goUrlAdd('ChoiceAddFinancialDocuments')">{{$t('pub.addBtn')}}</button>
<button class="normalBtn" v-if="checkboxShow" @click="Financial_post_SetBatch">{{$t('fnc.piltijiao')}}</button>
<button class="normalBtn" @click="method5()">{{$t('visa.v_daochu')}}</button>
<button class="hollowFixedBtn" @click="goUrl('WorkEntrustmentMy')">{{$t('fnc.gzweituo')}}</button>
<button v-if="active==3 && !hbState && hbShow" class="hollowFixedBtn" @click="HebingSP">合并审批</button>
<button v-if="active==3 && hbState" class="hollowFixedBtn" @click="hbState=false,getPageList">关闭合并审批</button>
<button v-loading="hbBtn" v-if="active==3 && hbState" class="hollowFixedBtn" @click="HebingSPLast">审批</button>
<button v-if="HandShow" class="hollowFixedBtn" @click="Handwithfee">手配费收入</button>
<button class="hollowFixedBtn" @click="ZhiDanChongDi"> 预付款冲抵</button>
<!-- v-if="F_Advance_Match" -->
<button class="hollowFixedBtn" @click="BOSSBtn = !BOSSBtn, checkList = [], getPageList(1), BOSSBtn2 = false"
v-if="msg.Conditon === 3 && userMenuCode">{{BOSSBtn ? '关闭一键审批' : '一键审批'}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon === 3 && BOSSBtn"
@click="BOSSBtnClick(1)">{{$t('ios.shenpi')}}</button>
<button class="hollowFixedBtn" @click="BOSSBtn2 = !BOSSBtn2, checkList = [], getPageList(1), BOSSBtn = false"
v-if="msg.Conditon === 3">{{BOSSBtn2 ? '关闭一键转交' : '一键转交'}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon === 3 && BOSSBtn2" @click="BOSSBtnClick(2)">转交</button>
<button class="hollowFixedBtn" v-if="msg.Conditon === 1&&ActionMenuCode.indexOf('batchAddWages')!=-1 " @click="outerVisible=true">工资单</button>
</li>
<li>
<span>
<em>{{$t('system.table_rank')}}</em>
<el-select v-model="msg.Sort" filterable class="w150">
<el-option key="-1" value="-1" :label="$t('pub.unlimitedSel')"></el-option>
<el-option key="0" value="0" :label="$t('fnc.tuanqi')"></el-option>
<el-option key="1" value="1" :label="$t('fnc.hkriqi')"></el-option>
<el-option key="2" value="2" :label="$t('fnc.danhao')"></el-option>
<el-option key="3" value="3" :label="$t('fnc.jylshuihao')"></el-option>
</el-select>
</span>
</li>
<li v-if="msg.Conditon==1||msg.Conditon==3||msg.Conditon==2">
<span>
<em>{{$t('fnc.zdriqi')}}</em>
<el-date-picker class="h34" @change="timeAdd(1)" v-model="productionDate" type="daterange"
value-format="yyyy-MM-dd" :range-separator="$t('restaurant.res_To')">
</el-date-picker>
</span>
</li>
<template v-if="heightQueryBox">
<li>
<span>
<em>{{$t('system.query_company')}}</em>
<el-select filterable v-model='msg.RB_Branch_Id'
@change="getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',getDepartment()"
class="w150">
<el-option :value="-1" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in CompanyList' :label='item.BName' :value='item.Id' :key='item.Id'>
</el-option>
</el-select>
</span>
</li>
</ul>
<div class="Myquery-box">
<ul class="clearfix">
<li>
<span>
<em>{{$t('fnc.fybumen')}}</em>
<el-select filterable v-model='msg.RB_Depart_Id'
@change="employeeMsg.DepartmentId=msg.RB_Depart_Id,getEmployee(),msg.UpdateBy=''" class="w150">
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in DepartmentList' :label='item.DepartmentName' :value='item.DepartmentID'
:key='item.DepartmentID'>
</el-option>
</el-select>
<em>{{$t('fnc.danhao')}}</em>
<el-input placeholder="" class="w150" v-model="msg.FrID" @keyup.native="checkInteger(msg,'FrID')"
maxlength="8"></el-input>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.zdrenyuan')}}</em>
<el-select filterable v-model='msg.UpdateBy' class="w150">
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in EmployeeList' :label='item.EmName' :value='item.EmployeeId'
:key='item.EmployeeId'>
<em>{{$t('fnc.shzhuangtai')}}</em>
<el-select v-model="msg.Status" filterable class="w150">
<el-option value="-1" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in StatusList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</span>
</li>
<li>
<li v-if='msg.Conditon==3'>
<span>
<em>{{$t('fnc.zhleixing')}}</em>
<el-select filterable v-model='msg.AccountType' class="w150">
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in AccList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('tips.jiaoyifangshi')}}</em>
<el-select filterable v-model='msg.TradeWay'
@change="getAccountList(msg.AccountType,msg.TradeWay),msg.ClientID=''" class="w150">
<em>{{$t('fnc.yjdanju')}}</em>
<el-select v-model="msg.IsSpecial" filterable class="w150">
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in BranchAccountList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.sfkzhanghu')}}</em>
<el-select filterable v-model='msg.BankID' class="w150">
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in accountList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
<el-option :value="1" :label="$t('fnc.yes')"></el-option>
<el-option :value="2" :label="$t('fnc.fou')"></el-option>
</el-select>
</span>
</li>
<!-- v-show="msg.Type==2" -->
<!-- @change="financeinfo_post_GetClientAccountList(msg.ClientType),msg.ClientID=''" class="w150">-->
<li>
<span>
<em>{{$t('fnc.dxleixing')}}</em>
<el-select filterable v-model='msg.ClientType'
@change="ClaerClientAccountList(),msg.ClientID=''" class="w150">
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in ClientTypeList' :label='item.Name' :value='item.ID' :key='item.ID'>
<em>{{$t('fnc.mbleixing')}}</em>
<el-select v-model="msg.TemplateId" filterable class="w150">
<el-option value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in TemplateGetList' :label='item.Name' :value='item.Id' :key='item.Id'>
</el-option>
</el-select>
</span>
</li>
<!-- v-show="msg.Type==2" -->
<li>
<span>
<em>{{$t('fnc.fkduixiang')}}</em>
<el-select
v-model="msg.ClientID" class="w150"
filterable
remote
reserve-keyword
placeholder="请输入关键词"
:remote-method="GetClientAccountListByKeyWord"
>
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in ClientAccountList'
:label='`${item.AccountAlias}(${item.AccountHolder}/${item.CardNum})`'
:value='item.ID'
:key='item.ID'>
<div>
<span>{{`${item.AccountAlias}(${item.AccountHolder}/${item.CardNum})`}}</span>
<span style="margin-left: 15px;">
<el-tag size="mini" v-if="item.Status==1">冻结</el-tag>
</span>
</div>
</el-option>
</el-select>
<!-- <el-select filterable v-model='msg.ClientID' class="w150">
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in ClientAccountList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select> -->
</span>
</li>
<li>
<span>
<em>{{$t('scen.sc_temID')}}</em>
<el-input v-model="msg.TCID" class="w150" @keyup.native="checkInteger(msg,'TCID')"></el-input>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.ddbianhao')}}</em>
<el-input v-model="msg.OrderID" class="w150" @keyup.native="checkInteger(msg,'OrderID')"></el-input>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.bzleixing')}}</em>
<el-select filterable v-model='msg.CurrencyId' class="w150">
<el-option v-for="item in currencyTypeList" :key="item.ID" :value="item.ID" :label="item.Name">
</el-option>
<em>{{$t('fnc.djleixing')}}</em>
<el-select v-model="msg.Type" filterable class="w150">
<el-option key="0" value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option key="1" value="1" :label="$t('restaurant.res_income')"></el-option>
<el-option key="2" value="2" :label="$t('restaurant.res_outcome')"></el-option>
<el-option key="3" value="5" :label="$t('fnc.yingshou')"></el-option>
<el-option key="4" value="6" :label="$t('fnc.yingfu')"></el-option>
<el-option key="5" value="4" :label="$t('fnc.zjdiaobo')"></el-option>
<el-option key="6" value="7" :label="$t('visaT.guazdanju')"></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.feiyongleixing')}}</em>
<el-select filterable v-model='msg.CostTypeID' class="w150">
<el-option v-for="item in GetCostTypeList" :key="item.ID" :value="item.ID" :label="item.Name">
</el-option>
<em>{{$t('system.table_rank')}}</em>
<el-select v-model="msg.Sort" filterable class="w150">
<el-option key="-1" value="-1" :label="$t('pub.unlimitedSel')"></el-option>
<el-option key="0" value="0" :label="$t('fnc.tuanqi')"></el-option>
<el-option key="1" value="1" :label="$t('fnc.hkriqi')"></el-option>
<el-option key="2" value="2" :label="$t('fnc.danhao')"></el-option>
<el-option key="3" value="3" :label="$t('fnc.jylshuihao')"></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.djjine')}}</em>
<el-input v-model="msg.sMoney" class="w64d5"></el-input>-<el-input v-model="msg.eMoney" class="w64d5">
</el-input>
</span>
</li>
<!-- 制单日期 -->
<!-- <li v-if="msg.Conditon==1||msg.Conditon==3||msg.Conditon==2">
<span>
<em>{{$t('fnc.zdriqi')}}</em>
<el-date-picker class="h34"
@change="timeAdd(1)"
v-model="productionDate"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</span>
</li> -->
<li v-if="msg.Conditon==2">
<li v-if="msg.Conditon==1||msg.Conditon==3||msg.Conditon==2">
<span>
<em>{{$t('fnc.spriqi')}}</em>
<el-date-picker class="h34" @change="timeAdd(2)" v-model="approvalDate" type="daterange"
<em>{{$t('fnc.zdriqi')}}</em>
<el-date-picker class="h34" @change="timeAdd(1)" v-model="productionDate" type="daterange"
value-format="yyyy-MM-dd" :range-separator="$t('restaurant.res_To')">
</el-date-picker>
</span>
</li>
<li v-if="msg.Conditon==2 || msg.Conditon==3">
<span>
<em>{{$t('fnc.jiaoyiriqi')}}</em>
<el-date-picker class="h34" v-model="transactionDate" @change="timeAdd(3)" type="daterange"
value-format="yyyy-MM-dd">
</el-date-picker>
</span>
</li>
<li>
<span>
<em>{{$t('scen.sc_ftTime')}}</em>
<el-date-picker class="h34" v-model="missionDate" @change="timeAdd(4)" type="daterange"
value-format="yyyy-MM-dd">
</el-date-picker>
</span>
</li>
<li v-if="msg.Conditon==1 || msg.Conditon==3||msg.Conditon==2||msg.Conditon==6">
<span>
<em>费用备注</em>
<el-input class="w200" v-model="msg.Remark"></el-input>
</span>
</li>
<li v-if="msg.Conditon==1">
<span>
<em>只看待上传发票的</em>
<el-switch v-model="msg.InvoiceState" active-value="true" inactive-value="false">
</el-switch>
</span>
</li>
</template>
</ul>
</div>
<!-- <input type="text" v-model="mathNumber" @blur="mathMoney(mathNumber)">
<input type="text" v-model="ChineseStr"> -->
<div class="_fnDm_content" v-loading='loading' :style="{minHeight:minHeight+'px'}">
<table border="0" cellspacing="0" cellpadding="0" class="singeRowTable" style="margin-bottom:30px;">
<tr class="_t_head">
<th v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2"><input type="checkbox" v-model="isCkedAll"
@click='checkedAll()'></th>
<th width="90">{{$t('system.query_company')}}</th>
<th>{{$t('fnc.danhao')}}</th>
<th width="90">{{$t('fnc.djleixing')}}</th>
<th>{{$t('hotel.hotel_corrlelatition')}}</th>
<th>{{$t('fnc.feiyongleixing')}}</th>
<th>{{$t('tips.jiaoyifangshi')}}</th>
<th>{{$t('fnc.jine')}}</th>
<th>{{msg.Type==1? $t('fnc.shoukuan') : $t('fnc.fukuan')}}{{$t('fnc.duixiang')}}</th>
<th width="150">{{$t('fnc.zdrenyuan')}}</th>
<th>{{$t('fnc.dqzhuangtai')}}</th>
<th>{{$t('system.table_operation')}}</th>
</tr>
<tr class="_item_list" v-for="(item,index) in DataList">
<td v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2"><input type="checkbox" :value="item.FrID"
v-model="checkList" @change="ckeckedOne"></td>
<td>{{item.BranchName}}</td>
<td class="Bill_par">
<el-popover popper-class="detailsIT_Journal" placement="bottom-start" trigger="click">
<template v-if="item.Type!=1&&item.Type!=7&&item.modelShow&&(item.Is_Merge===0||item.Is_Merge===null)">
<my-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-Bill>
<template v-if="heightQueryBox">
<li>
<span>
<em>{{$t('system.query_company')}}</em>
<el-select filterable v-model='msg.RB_Branch_Id'
@change="getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',getDepartment()"
class="w150">
<el-option :value="-1" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in CompanyList' :label='item.BName' :value='item.Id' :key='item.Id'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.fybumen')}}</em>
<el-select filterable v-model='msg.RB_Depart_Id'
@change="employeeMsg.DepartmentId=msg.RB_Depart_Id,getEmployee(),msg.UpdateBy=''" class="w150">
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in DepartmentList' :label='item.DepartmentName' :value='item.DepartmentID'
:key='item.DepartmentID'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.zdrenyuan')}}</em>
<el-select filterable v-model='msg.UpdateBy' class="w150">
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in EmployeeList' :label='item.EmName' :value='item.EmployeeId'
:key='item.EmployeeId'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.zhleixing')}}</em>
<el-select filterable v-model='msg.AccountType' class="w150">
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in AccList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('tips.jiaoyifangshi')}}</em>
<el-select filterable v-model='msg.TradeWay'
@change="getAccountList(msg.AccountType,msg.TradeWay),msg.ClientID=''" class="w150">
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in BranchAccountList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.sfkzhanghu')}}</em>
<el-select filterable v-model='msg.BankID' class="w150">
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in accountList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</span>
</li>
<!-- v-show="msg.Type==2" -->
<!-- @change="financeinfo_post_GetClientAccountList(msg.ClientType),msg.ClientID=''" class="w150">-->
<li>
<span>
<em>{{$t('fnc.dxleixing')}}</em>
<el-select filterable v-model='msg.ClientType'
@change="ClaerClientAccountList(),msg.ClientID=''" class="w150">
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in ClientTypeList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</span>
</li>
<!-- v-show="msg.Type==2" -->
<li>
<span>
<em>{{$t('fnc.fkduixiang')}}</em>
<el-select
v-model="msg.ClientID" class="w150"
filterable
remote
reserve-keyword
placeholder="请输入关键词"
:remote-method="GetClientAccountListByKeyWord"
>
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in ClientAccountList'
:label='`${item.AccountAlias}(${item.AccountHolder}/${item.CardNum})`'
:value='item.ID'
:key='item.ID'>
<div>
<span>{{`${item.AccountAlias}(${item.AccountHolder}/${item.CardNum})`}}</span>
<span style="margin-left: 15px;">
<el-tag size="mini" v-if="item.Status==1">冻结</el-tag>
</span>
</div>
</el-option>
</el-select>
<!-- <el-select filterable v-model='msg.ClientID' class="w150">
<el-option value="" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in ClientAccountList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select> -->
</span>
</li>
<li>
<span>
<em>{{$t('scen.sc_temID')}}</em>
<el-input v-model="msg.TCID" class="w150" @keyup.native="checkInteger(msg,'TCID')"></el-input>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.ddbianhao')}}</em>
<el-input v-model="msg.OrderID" class="w150" @keyup.native="checkInteger(msg,'OrderID')"></el-input>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.bzleixing')}}</em>
<el-select filterable v-model='msg.CurrencyId' class="w150">
<el-option v-for="item in currencyTypeList" :key="item.ID" :value="item.ID" :label="item.Name">
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.feiyongleixing')}}</em>
<el-select filterable v-model='msg.CostTypeID' class="w150">
<el-option v-for="item in GetCostTypeList" :key="item.ID" :value="item.ID" :label="item.Name">
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('fnc.djjine')}}</em>
<el-input v-model="msg.sMoney" class="w64d5"></el-input>-<el-input v-model="msg.eMoney" class="w64d5">
</el-input>
</span>
</li>
<!-- 制单日期 -->
<!-- <li v-if="msg.Conditon==1||msg.Conditon==3||msg.Conditon==2">
<span>
<em>{{$t('fnc.zdriqi')}}</em>
<el-date-picker class="h34"
@change="timeAdd(1)"
v-model="productionDate"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</span>
</li> -->
<li v-if="msg.Conditon==2">
<span>
<em>{{$t('fnc.spriqi')}}</em>
<el-date-picker class="h34" @change="timeAdd(2)" v-model="approvalDate" type="daterange"
value-format="yyyy-MM-dd" :range-separator="$t('restaurant.res_To')">
</el-date-picker>
</span>
</li>
<li v-if="msg.Conditon==2 || msg.Conditon==3">
<span>
<em>{{$t('fnc.jiaoyiriqi')}}</em>
<el-date-picker class="h34" v-model="transactionDate" @change="timeAdd(3)" type="daterange"
value-format="yyyy-MM-dd">
</el-date-picker>
</span>
</li>
<li>
<span>
<em>{{$t('scen.sc_ftTime')}}</em>
<el-date-picker class="h34" v-model="missionDate" @change="timeAdd(4)" type="daterange"
value-format="yyyy-MM-dd">
</el-date-picker>
</span>
</li>
<li v-if="msg.Conditon==1 || msg.Conditon==3||msg.Conditon==2||msg.Conditon==6">
<span>
<em>费用备注</em>
<el-input class="w200" v-model="msg.Remark"></el-input>
</span>
</li>
<li v-if="msg.Conditon==1">
<span>
<em>只看待上传发票的</em>
<el-switch v-model="msg.InvoiceState" active-value="true" inactive-value="false">
</el-switch>
</span>
</li>
</template>
</ul>
</div>
<!-- <input type="text" v-model="mathNumber" @blur="mathMoney(mathNumber)">
<input type="text" v-model="ChineseStr"> -->
<div class="_fnDm_content" v-loading='loading' :style="{minHeight:minHeight+'px'}">
<table border="0" cellspacing="0" cellpadding="0" class="singeRowTable" style="margin-bottom:30px;">
<tr class="_t_head">
<th v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2"><input type="checkbox" v-model="isCkedAll"
@click='checkedAll()'></th>
<th width="90">{{$t('system.query_company')}}</th>
<th>{{$t('fnc.danhao')}}</th>
<th width="90">{{$t('fnc.djleixing')}}</th>
<th>{{$t('hotel.hotel_corrlelatition')}}</th>
<th>{{$t('fnc.feiyongleixing')}}</th>
<th>{{$t('tips.jiaoyifangshi')}}</th>
<th>{{$t('fnc.jine')}}</th>
<th>{{msg.Type==1? $t('fnc.shoukuan') : $t('fnc.fukuan')}}{{$t('fnc.duixiang')}}</th>
<th width="150">{{$t('fnc.zdrenyuan')}}</th>
<th>{{$t('fnc.dqzhuangtai')}}</th>
<th>{{$t('system.table_operation')}}</th>
</tr>
<tr class="_item_list" v-for="(item,index) in DataList">
<td v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2"><input type="checkbox" :value="item.FrID"
v-model="checkList" @change="ckeckedOne"></td>
<td>{{item.BranchName}}</td>
<td class="Bill_par">
<el-popover popper-class="detailsIT_Journal" placement="bottom-start" trigger="click">
<template v-if="item.Type!=1&&item.Type!=7&&item.modelShow&&(item.Is_Merge===0||item.Is_Merge===null)">
<my-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-Bill>
</template>
<template v-else-if="item.Type==1&&item.modelShow&&(item.Is_Merge===0||item.Is_Merge===null)">
<my-RVB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill>
</template>
<template v-else-if="item.Type==7&&item.modelShow&&(item.Is_Merge===0||item.Is_Merge===null)">
<my-GZ-Bill :ID="item.FrID" :width="'1000px'" :color="colorSon"></my-GZ-Bill>
</template>
<template v-else-if="item.Is_Merge===1&&item.modelShow">
<my-HB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-HB-Bill>
</template>
<span slot="reference" @click="item.modelShow = true" class="text_d PingFangSC">{{item.FrID}}</span>
</el-popover>
</td>
<td>
<span class="_bg__" :class="item.Type==1 || item.Type==5?'_bg_green':'_bg_red'">{{item.TypeName}}</span>
<el-tooltip class="item" effect="dark" content="追加团款" placement="top">
<span v-if="item.OtherType == 1" class="zhuiClass"></span>
</el-tooltip>
</td>
<td class="_number">
<template v-if="item.TCIDAndTCNUMList.length>0">
<div class="_TCIDAndTCNUMList">
<span>{{$t('visa.v_tuanhao')}}</span>
<template v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0">
<p><span v-for="(i,ix) in item.TCIDAndTCNUMList">{{i.TCNUM}}{{i.TCID}}
<template v-if="i.TeamTypeNameStr&&i.TeamTypeNameStr!=''">({{i.TeamTypeNameStr}})</template>
<span v-if="ix!=item.TCIDAndTCNUMList.length-1">,<br /></span></span></p>
</template>
<template v-else>
<span>{{$t('fnc.no')}}</span>
</template>
</div>
<p v-if="item.OrderID>0 && item.OrderSource==8">{{$t('fnc.danhao')}}<span
class="">{{item.OrderID}}</span></p>
</template>
<template v-else-if="item.Type==1&&item.modelShow&&(item.Is_Merge===0||item.Is_Merge===null)">
<my-RVB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill>
<template v-else-if="item.OrderSource==8 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('tips.zwtqxinxi')}}</p>
</template>
<template v-else-if="item.Type==7&&item.modelShow&&(item.Is_Merge===0||item.Is_Merge===null)">
<my-GZ-Bill :ID="item.FrID" :width="'1000px'" :color="colorSon"></my-GZ-Bill>
<template v-else-if="item.OrderSource==4 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList text_d" @click="goTicketPage(item)">{{$t('fnc.jpbianhao')}}{{item.SourceID}}
</p>
<p style="margin-top: 5px;">
{{$t('advmanager.v_line')}}<span>{{item.LineName?item.LineName:$t('tips.jpswxzxianlu')}}</span></p>
</template>
<template v-else-if="item.Is_Merge===1&&item.modelShow">
<my-HB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-HB-Bill>
<template v-else-if="item.OrderSource==9 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.gnjpqishu')}}{{item.Term}}</p>
</template>
<span slot="reference" @click="item.modelShow = true" class="text_d PingFangSC">{{item.FrID}}</span>
</el-popover>
</td>
<td>
<span class="_bg__" :class="item.Type==1 || item.Type==5?'_bg_green':'_bg_red'">{{item.TypeName}}</span>
<el-tooltip class="item" effect="dark" content="追加团款" placement="top">
<span v-if="item.OtherType == 1" class="zhuiClass"></span>
</el-tooltip>
</td>
<td class="_number">
<template v-if="item.TCIDAndTCNUMList.length>0">
<div class="_TCIDAndTCNUMList">
<span>{{$t('visa.v_tuanhao')}}</span>
<template v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0">
<p><span v-for="(i,ix) in item.TCIDAndTCNUMList">{{i.TCNUM}}{{i.TCID}}
<template v-if="i.TeamTypeNameStr&&i.TeamTypeNameStr!=''">({{i.TeamTypeNameStr}})</template>
<span v-if="ix!=item.TCIDAndTCNUMList.length-1">,<br /></span></span></p>
</template>
<template v-else>
<span>{{$t('fnc.no')}}</span>
</template>
</div>
<p v-if="item.OrderID>0 && item.OrderSource==8">{{$t('fnc.danhao')}}<span
class="">{{item.OrderID}}</span></p>
</template>
<template v-else-if="item.OrderSource==8 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('tips.zwtqxinxi')}}</p>
</template>
<template v-else-if="item.OrderSource==4 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList text_d" @click="goTicketPage(item)">{{$t('fnc.jpbianhao')}}{{item.SourceID}}
</p>
<p style="margin-top: 5px;">
{{$t('advmanager.v_line')}}<span>{{item.LineName?item.LineName:$t('tips.jpswxzxianlu')}}</span></p>
</template>
<template v-else-if="item.OrderSource==9 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.gnjpqishu')}}{{item.Term}}</p>
</template>
<template v-else-if="item.OrderSource==10 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.qzbianhao')}}{{item.SourceID}}</p>
</template>
<template v-else-if="item.OrderSource==11 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.tsbianhao')}}{{item.SourceID}}</p>
</template>
<template v-else-if="item.OrderSource==12 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.smjpbianhao')}}{{item.SourceID}}</p>
</template>
<template v-else-if="item.OrderSource==0">
<p class="_TCIDAndTCNUMList">{{ item.BranchName }}-{{item.DepartName}} </p>
</template>
<template v-else>
<p class="_TCIDAndTCNUMList">{{$t('active.cl_zanwu')}} </p>
</template>
</td>
<td>
<template v-for="(s,si) in item.CostTypeList">
<span class="_tag_span">{{s}}</span><br />
</template>
</td>
<td class="_number">
<template v-if="item.TradeWayList&&item.TradeWayList.length>0">
<div class="_TradeWayList" v-for="(tw,twIn) in item.TradeWayList">
<p class="_fex_cen clearfix"><span class="_bold">{{tw.Alias}}</span><span
class="_bank_name">{{item.TradeWayList[0].TypeName}}</span><span class="_bank_type"
:class="tw.AccountType=='私'?'':'_bank_type2'">{{tw.AccountType==""?$t('fnc.no'):tw.AccountType}}</span>
</p>
<p>{{tw.BankNo}}</p>
</div>
</template>
<template v-else>
<div class="_pad5">
{{$t('fnc.no')}}
</div>
</template>
</td>
<td>
<p v-if="item.IsForeignCurrency && item.IsForeignCurrency ==1">{{$t('fnc.yuanbi')}}<span
class="">{{moneyFormat(item.WBMoney)}}{{item.CurrencyName}}</span></p>
<p>{{item.Type==1 ? $t('fnc.yingshou') : $t('fnc.yingfu') }}<span
class="">{{moneyFormat(item.Money)}}</span></p>
<p>{{item.Type==1 ? $t('fnc.shishou') : $t('fnc.shifu') }}<span
class="">{{moneyFormat(item.PayMoney)}}</span></p>
</td>
<td>
<template v-if='item.Type===1'>
<span class="_color_gar">{{$t('fnc.huikuanren')}}</span><span>{{item.RemitterName}}</span>
</template>
<template v-if='item.Type===2'>
<span class="_color_gar">{{$t('fnc.fkduixiang')}}</span><span>{{item.RemitterName}}</span>
</template>
<template v-if='item.Type===4'>
<span class="_color_gar">{{$t('fnc.no')}}</span>
</template>
</td>
<td valign="middle">
<img class="_head_img" :src="item.EmPhoto" alt="">
<span>{{item.EmName}}</span>
<div>{{item.CreateDate}}</div>
</td>
<td class="_btn_group">
<i v-if="item.Status==1" class="iconfont icon-daiqueren"></i>
<i v-if="item.Status==4" class="iconfont icon-yiquxiao"></i>
<i v-if="item.Status==2" class="iconfont icon-yiqueren"></i>
<i v-if="item.Status==3" class="iconfont icon-shenhebohui"></i>
<i v-if="item.Status==0 || item.Status==5" class="iconfont icon-zancun"></i>
<el-popover popper-class="detailsIT_Journal" width="250" trigger="click">
<div class="InfoChangeLog">
<div class="changLog">
<p class="_log_t">{{$t('fnc.lcrizhi')}}</p>
<ul class="changLogList" v-if="GetFinancLogList" v-loading='LogLoading'>
<li class="changLogList_l" v-for="(log,li) in GetFinancLogList">
<span style="background-color: #47BF8C" class="_radius_green"></span>
<p> <span class="_color_blue">{{log.EmName}}</span> <span
class="fr changLog_time">{{log.UpdateDate}}</span> </p>
<p class="_dtel">{{log.StartValue}}</p>
</li>
</ul>
<ul v-else>
<li>{{$t('hotel.hotel_zanwu')}}</li>
</ul>
<template v-else-if="item.OrderSource==10 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.qzbianhao')}}{{item.SourceID}}</p>
</template>
<template v-else-if="item.OrderSource==11 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.tsbianhao')}}{{item.SourceID}}</p>
</template>
<template v-else-if="item.OrderSource==12 && item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.smjpbianhao')}}{{item.SourceID}}</p>
</template>
<template v-else-if="item.OrderSource==0">
<p class="_TCIDAndTCNUMList">{{ item.BranchName }}-{{item.DepartName}} </p>
</template>
<template v-else>
<p class="_TCIDAndTCNUMList">{{$t('active.cl_zanwu')}} </p>
</template>
</td>
<td>
<template v-for="(s,si) in item.CostTypeList">
<span class="_tag_span">{{s}}</span><br />
</template>
</td>
<td class="_number">
<template v-if="item.TradeWayList&&item.TradeWayList.length>0">
<div class="_TradeWayList" v-for="(tw,twIn) in item.TradeWayList">
<p class="_fex_cen clearfix"><span class="_bold">{{tw.Alias}}</span><span
class="_bank_name">{{item.TradeWayList[0].TypeName}}</span><span class="_bank_type"
:class="tw.AccountType=='私'?'':'_bank_type2'">{{tw.AccountType==""?$t('fnc.no'):tw.AccountType}}</span>
</p>
<p>{{tw.BankNo}}</p>
</div>
</div>
<span slot="reference" class="text_d _font_init"
@click="Financial_post_GetFinancLogList(item.FrID)">{{item.StatusStr}}</span>
</el-popover>
</td>
<td class="_icon_btn">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top">
<i v-if="((msg.Conditon==1 ||msg.Conditon==7) && (item.InOrNotProcess==1 || item.Status==3 || item.Status==0) && item.Status!=2)"
class="edit el-icon-edit" @click="goEit(item.Type,item.FrID,true,active,msg.pageIndex, item)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.chakan')" placement="top">
<i class="iconfont icon-sousuo" v-if='item.Type!==4'
@click="goUrl('FinancialDocumentsDetail',item.FrID,active,msg.pageIndex)"></i>
<i class="iconfont icon-sousuo" v-if='item.Type===4'
@click="goUrl('CapitalAllocationDetail',item.FrID,active,msg.pageIndex)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.shenhe')" placement="top">
<i v-if="(msg.Conditon==3 && item.Is_Self!=1)||(msg.Conditon==8 && item.Is_Self!=1)"
class="iconfont icon-ico_commodity_defaul"
@click="goUrl('BasicDocuments',item.FrID,active,msg.pageIndex)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="催审" placement="top">
<i v-if="msg.Conditon==1 && item.IsFinancePushOn==1" class="iconfont icon-cuishou"
@click="cuishen('Financial_post_SetFinancePushOn', item.FrID)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.zhuanjiao')" placement="top">
<i v-if="msg.Conditon==3 && !BOSSBtn2" class="iconfont icon-zhuanjiao1"
@click="zhuanBox = true,zhuanMsg.WorkFlowId = item.FrID"></i>
</el-tooltip>
<!-- <el-tooltip class="item" effect="dark" content="转交" placement="top">
<i v-if="msg.Conditon==7" class="iconfont icon-zhuanhuan1" @click="getExchange(item.FrID)"></i>
</el-tooltip> -->
<el-tooltip class="item" effect="dark" :content="$t('active.cl_zuofei')" placement="top">
<i v-if="((msg.Conditon==1 ||msg.Conditon==7) && (item.InOrNotProcess==1 || item.Status==3 || item.Status==0) && item.Status!=2)"
class="iconfont icon-quxiao1" @click="financeRemove(item.FrID)"></i>
</el-tooltip>
<el-tooltip v-if="ActionMenuCode.indexOf('F_Update_TradeDate')!=-1" class="item"
:content="$t('fnc.tzjyriqi')" placement="top">
<i v-if="msg.Conditon==2 && item.TradeDate" class="iconfont icon-tiaozheng"
@click="dialogFormVisible=true,updateMsg.FrID=item.FrID,updateMsg.OTradeDate=item.TradeDate"></i>
</el-tooltip>
<!-- <el-tooltip class="item" content="交易方式" placement="top" v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0&&active==2 && istransaction == true">
<i v-if="active==2" class="iconfont icon-zhifupeizhiguanli"
@click="showjiaoyi(item.FrID)"></i>
</template>
<template v-else>
<div class="_pad5">
{{$t('fnc.no')}}
</div>
</template>
</td>
<td>
<p v-if="item.IsForeignCurrency && item.IsForeignCurrency ==1">{{$t('fnc.yuanbi')}}<span
class="">{{moneyFormat(item.WBMoney)}}{{item.CurrencyName}}</span></p>
<p>{{item.Type==1 ? $t('fnc.yingshou') : $t('fnc.yingfu') }}<span
class="">{{moneyFormat(item.Money)}}</span></p>
<p>{{item.Type==1 ? $t('fnc.shishou') : $t('fnc.shifu') }}<span
class="">{{moneyFormat(item.PayMoney)}}</span></p>
</td>
<td>
<template v-if='item.Type===1'>
<span class="_color_gar">{{$t('fnc.huikuanren')}}</span><span>{{item.RemitterName}}</span>
</template>
<template v-if='item.Type===2'>
<span class="_color_gar">{{$t('fnc.fkduixiang')}}</span><span>{{item.RemitterName}}</span>
</template>
<template v-if='item.Type===4'>
<span class="_color_gar">{{$t('fnc.no')}}</span>
</template>
</td>
<td valign="middle">
<img class="_head_img" :src="item.EmPhoto" alt="">
<span>{{item.EmName}}</span>
<div>{{item.CreateDate}}</div>
</td>
<td class="_btn_group">
<i v-if="item.Status==1" class="iconfont icon-daiqueren"></i>
<i v-if="item.Status==4" class="iconfont icon-yiquxiao"></i>
<i v-if="item.Status==2" class="iconfont icon-yiqueren"></i>
<i v-if="item.Status==3" class="iconfont icon-shenhebohui"></i>
<i v-if="item.Status==0 || item.Status==5" class="iconfont icon-zancun"></i>
<el-popover popper-class="detailsIT_Journal" width="250" trigger="click">
<div class="InfoChangeLog">
<div class="changLog">
<p class="_log_t">{{$t('fnc.lcrizhi')}}</p>
<ul class="changLogList" v-if="GetFinancLogList" v-loading='LogLoading'>
<li class="changLogList_l" v-for="(log,li) in GetFinancLogList">
<span style="background-color: #47BF8C" class="_radius_green"></span>
<p> <span class="_color_blue">{{log.EmName}}</span> <span
class="fr changLog_time">{{log.UpdateDate}}</span> </p>
<p class="_dtel">{{log.StartValue}}</p>
</li>
</ul>
<ul v-else>
<li>{{$t('hotel.hotel_zanwu')}}</li>
</ul>
</div>
</div>
<span slot="reference" class="text_d _font_init"
@click="Financial_post_GetFinancLogList(item.FrID)">{{item.StatusStr}}</span>
</el-popover>
</td>
<td class="_icon_btn">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top">
<i v-if="((msg.Conditon==1 ||msg.Conditon==7) && (item.InOrNotProcess==1 || item.Status==3 || item.Status==0) && item.Status!=2)"
class="edit el-icon-edit" @click="goEit(item.Type,item.FrID,true,active,msg.pageIndex, item)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.chakan')" placement="top">
<i class="iconfont icon-sousuo" v-if='item.Type!==4'
@click="goUrl('FinancialDocumentsDetail',item.FrID,active,msg.pageIndex)"></i>
<i class="iconfont icon-sousuo" v-if='item.Type===4'
@click="goUrl('CapitalAllocationDetail',item.FrID,active,msg.pageIndex)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.shenhe')" placement="top">
<i v-if="(msg.Conditon==3 && item.Is_Self!=1)||(msg.Conditon==8 && item.Is_Self!=1)"
class="iconfont icon-ico_commodity_defaul"
@click="goUrl('BasicDocuments',item.FrID,active,msg.pageIndex)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="催审" placement="top">
<i v-if="msg.Conditon==1 && item.IsFinancePushOn==1" class="iconfont icon-cuishou"
@click="cuishen('Financial_post_SetFinancePushOn', item.FrID)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.zhuanjiao')" placement="top">
<i v-if="msg.Conditon==3 && !BOSSBtn2" class="iconfont icon-zhuanjiao1"
@click="zhuanBox = true,zhuanMsg.WorkFlowId = item.FrID"></i>
</el-tooltip>
<!-- <el-tooltip class="item" effect="dark" content="转交" placement="top">
<i v-if="msg.Conditon==7" class="iconfont icon-zhuanhuan1" @click="getExchange(item.FrID)"></i>
</el-tooltip> -->
<el-tooltip class="item" content="手续费设置" placement="top"
v-if="active==2 && item.Type==1 &&(F_Trademodify == true || isJapanCommission == true)">
<i class="iconfont icon-zhifupeizhiguanli" @click="showTranTax(item.FrID,'1')"></i>
</el-tooltip>
<el-tooltip class="item" content="付款对象设置" placement="top"
v-if="(active==2 || active==3)&& istransaction == true && item.Type==2">
<i class="iconfont icon-zhifupeizhiguanli" @click="showTranTax(item.FrID,'2')"></i>
</el-tooltip>
<el-tooltip class="item" content="修改汇率" placement="top"
v-if="(active==2 || active==3) && F_Update_CurrencyRate == true">
<i class="iconfont icon-money" style="background-color: #47BF8C;color: white;"
@click="showhuilv(item)"></i>
</el-tooltip>
</td>
</tr>
</table>
</div>
<div class="noData" v-show="noData">
{{$t('system.content_noData')}}
</div>
<div v-if="!BOSSBtn && !BOSSBtn2">
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size='msg.pageSize' :total='total'>
</el-pagination>
</div>
<el-dialog custom-class='addCompany' :title="$t('fnc.xzzjiaoren')" width="400px" :visible.sync="zhuanBox" center
:before-close="closeChangeMachie">
<template v-if="!BOSSDialogText">
<el-form label-width="100px">
<el-form-item :label="$t('fnc.zhuanjiaoren')">
<el-select v-model="zhuanMsg.AuditEmId" filterable remote reserve-keyword
:placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethod" @change="$forceUpdate()"
:loading="loading2">
<el-option v-for="item in searchList" :key="item.empId" :label="item.name" :value="item.empId">
<span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.postName }}</span>
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('hotel.hotel_remark')">
<el-input type="textarea" v-model="zhuanMsg.Description" class="w216"></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="bossLen = 1, zhuanBtn()">{{$t('pub.saveBtn')}}</button>
<button class="hollowFixedBtn" @click="zhuanBox=false">{{$t('pub.cancelBtn')}}</button>
</div>
</template>
<template v-else>
<p class="boss_btn">{{$t('ios.gongji')}} {{checkList.length}} {{$t('ios.tdqdi')}} <span>{{bossLen}}</span>
{{$t('ios.tiao')}}</p>
<p class="boss_btn_tips">{{$t('ios.yjzjzqbyjxqtcz')}}</p>
</template>
</el-dialog>
<el-dialog :title=" $t('fnc.danhao') + ':' + updateMsg.FrID + $t('fnc.tzjyriqi')" width="400px"
:visible.sync="dialogFormVisible" center :before-close="closeChangeMachie">
<el-form label-width="110px">
<el-form-item :label="$t('fnc.yjyriqi')">
<el-date-picker v-model="updateMsg.OTradeDate" type="date" :disabled='true'>
</el-date-picker>
</el-form-item>
<el-form-item :label="$t('fnc.jiaoyiriqi')">
<el-date-picker v-model="updateMsg.TradeDate" type="date" value-format="yyyy-MM-dd"
:placeholder="$t('admin.admin_choDate')">
</el-date-picker>
</el-form-item>
<el-form-item :label="$t('fnc.shuoming')">
<el-input type="textarea" v-model="updateMsg.Description" class="w216"></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="dialogFormVisible=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="UpdateTradeDate()">{{$t('pub.sureBtn')}}</el-button>
<el-tooltip class="item" effect="dark" :content="$t('active.cl_zuofei')" placement="top">
<i v-if="((msg.Conditon==1 ||msg.Conditon==7) && (item.InOrNotProcess==1 || item.Status==3 || item.Status==0) && item.Status!=2)"
class="iconfont icon-quxiao1" @click="financeRemove(item.FrID)"></i>
</el-tooltip>
<el-tooltip v-if="ActionMenuCode.indexOf('F_Update_TradeDate')!=-1" class="item"
:content="$t('fnc.tzjyriqi')" placement="top">
<i v-if="msg.Conditon==2 && item.TradeDate" class="iconfont icon-tiaozheng"
@click="dialogFormVisible=true,updateMsg.FrID=item.FrID,updateMsg.OTradeDate=item.TradeDate"></i>
</el-tooltip>
<!-- <el-tooltip class="item" content="交易方式" placement="top" v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0&&active==2 && istransaction == true">
<i v-if="active==2" class="iconfont icon-zhifupeizhiguanli"
@click="showjiaoyi(item.FrID)"></i>
</el-tooltip> -->
<el-tooltip class="item" content="手续费设置" placement="top"
v-if="active==2 && item.Type==1 &&(F_Trademodify == true || isJapanCommission == true)">
<i class="iconfont icon-zhifupeizhiguanli" @click="showTranTax(item.FrID,'1')"></i>
</el-tooltip>
<el-tooltip class="item" content="付款对象设置" placement="top"
v-if="(active==2 || active==3)&& istransaction == true && item.Type==2">
<i class="iconfont icon-zhifupeizhiguanli" @click="showTranTax(item.FrID,'2')"></i>
</el-tooltip>
<el-tooltip class="item" content="修改汇率" placement="top"
v-if="(active==2 || active==3) && F_Update_CurrencyRate == true">
<i class="iconfont icon-money" style="background-color: #47BF8C;color: white;"
@click="showhuilv(item)"></i>
</el-tooltip>
</td>
</tr>
</table>
</div>
</el-dialog>
<!-- 修改交易方式 -->
<el-dialog title="修改交易方式" width="600px" :visible.sync="transactionmode" center :before-close="closeChangeMachie">
<el-form label-width="110px">
<div class="rb_top_row _r_mb5" v-for='(x,y) in trabeList' :key='y'>
<p>收款账户:
<el-select filterable v-model='x.AccountTypeId' placeholder="" @change="getAccountList2(x.AccountTypeId,y)"
class="w150 _border_b_1">
<el-option v-for='item in AccList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
<el-select filterable v-model='x.AccountId' placeholder="" @change="getAccountList3(x,y)"
class="w250 _border_b_1">
<el-option v-for='item in x.list' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</p>
<p>注意:如果修改为不同币种的账户,需修改单据的汇率</p>
</div>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="transactionmode=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="preservetransaction()">{{$t('pub.sureBtn')}}</el-button>
<div class="noData" v-show="noData">
{{$t('system.content_noData')}}
</div>
<div v-if="!BOSSBtn && !BOSSBtn2">
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size='msg.pageSize' :total='total'>
</el-pagination>
</div>
</el-dialog>
<el-dialog title="一键审批" width="400px" :visible.sync="BOSSDialog" center :close-on-press-escape="false"
:close-on-click-modal="false">
<template v-if="!BOSSDialogText">
<el-dialog custom-class='addCompany' :title="$t('fnc.xzzjiaoren')" width="400px" :visible.sync="zhuanBox" center
:before-close="closeChangeMachie">
<template v-if="!BOSSDialogText">
<el-form label-width="100px">
<el-form-item :label="$t('fnc.zhuanjiaoren')">
<el-select v-model="zhuanMsg.AuditEmId" filterable remote reserve-keyword
:placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethod" @change="$forceUpdate()"
:loading="loading2">
<el-option v-for="item in searchList" :key="item.empId" :label="item.name" :value="item.empId">
<span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.postName }}</span>
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('hotel.hotel_remark')">
<el-input type="textarea" v-model="zhuanMsg.Description" class="w216"></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="bossLen = 1, zhuanBtn()">{{$t('pub.saveBtn')}}</button>
<button class="hollowFixedBtn" @click="zhuanBox=false">{{$t('pub.cancelBtn')}}</button>
</div>
</template>
<template v-else>
<p class="boss_btn">{{$t('ios.gongji')}} {{checkList.length}} {{$t('ios.tdqdi')}} <span>{{bossLen}}</span>
{{$t('ios.tiao')}}</p>
<p class="boss_btn_tips">{{$t('ios.yjzjzqbyjxqtcz')}}</p>
</template>
</el-dialog>
<el-dialog :title=" $t('fnc.danhao') + ':' + updateMsg.FrID + $t('fnc.tzjyriqi')" width="400px"
:visible.sync="dialogFormVisible" center :before-close="closeChangeMachie">
<el-form label-width="110px">
<el-form-item :label="$t('fnc.yjyriqi')">
<el-date-picker v-model="updateMsg.OTradeDate" type="date" :disabled='true'>
</el-date-picker>
</el-form-item>
<el-form-item :label="$t('fnc.jiaoyiriqi')">
<el-date-picker v-model="updateMsg.TradeDate" type="date" value-format="yyyy-MM-dd"
:placeholder="$t('admin.admin_choDate')">
</el-date-picker>
</el-form-item>
<el-form-item :label="$t('fnc.shuoming')">
<el-input type="textarea" v-model="AuditOrRefundMsg.Description" class="w216"></el-input>
<el-input type="textarea" v-model="updateMsg.Description" class="w216"></el-input>
</el-form-item>
</el-form>
<el-form>
<div style=" text-align: center;">
<el-radio v-model="AuditOrRefundMsg.Status" label="5">{{$t('ios.tonggei')}}</el-radio>
<el-radio v-model="AuditOrRefundMsg.Status" label="3">{{$t('ios.bohui')}}</el-radio>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="dialogFormVisible=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="UpdateTradeDate()">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog>
<!-- 修改交易方式 -->
<el-dialog title="修改交易方式" width="600px" :visible.sync="transactionmode" center :before-close="closeChangeMachie">
<el-form label-width="110px">
<div class="rb_top_row _r_mb5" v-for='(x,y) in trabeList' :key='y'>
<p>收款账户:
<el-select filterable v-model='x.AccountTypeId' placeholder="" @change="getAccountList2(x.AccountTypeId,y)"
class="w150 _border_b_1">
<el-option v-for='item in AccList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
<el-select filterable v-model='x.AccountId' placeholder="" @change="getAccountList3(x,y)"
class="w250 _border_b_1">
<el-option v-for='item in x.list' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</p>
<p>注意:如果修改为不同币种的账户,需修改单据的汇率</p>
</div>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="BOSSDialog=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="bossLen = 1, subBOSSBtnClick()">{{$t('pub.sureBtn')}}
</el-button>
<el-button class="hollowFixedBtn" @click="transactionmode=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="preservetransaction()">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog>
<el-dialog title="一键审批" width="400px" :visible.sync="BOSSDialog" center :close-on-press-escape="false"
:close-on-click-modal="false">
<template v-if="!BOSSDialogText">
<el-form label-width="110px">
<el-form-item :label="$t('fnc.shuoming')">
<el-input type="textarea" v-model="AuditOrRefundMsg.Description" class="w216"></el-input>
</el-form-item>
</el-form>
<el-form>
<div style=" text-align: center;">
<el-radio v-model="AuditOrRefundMsg.Status" label="5">{{$t('ios.tonggei')}}</el-radio>
<el-radio v-model="AuditOrRefundMsg.Status" label="3">{{$t('ios.bohui')}}</el-radio>
</div>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="BOSSDialog=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="bossLen = 1, subBOSSBtnClick()">{{$t('pub.sureBtn')}}
</el-button>
</div>
</template>
<template v-else>
<p class="boss_btn">{{$t('ios.gongji')}} {{checkList.length}} {{$t('ios.tdqdi')}} <span>{{bossLen}}</span>
{{$t('ios.tiao')}}</p>
<p class="boss_btn_tips">{{$t('ios.yjshzqbyjxqtcz')}}</p>
</template>
</el-dialog>
<el-dialog custom-class='w400' title="制单人转交" :visible.sync="zhuanjiaoBox" center>
<template>
<el-form label-width="100px">
<el-form-item label="制单人转交:">
<el-select v-model="zhuanjiaoMsg.CreateBy" filterable remote reserve-keyword
:placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethodEx" @change="$forceUpdate()">
<el-option v-for="item in searchList" :key="item.empId" :label="item.name" :value="item.empId">
<span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.postName }}</span>
</el-option>
</el-select>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="zhuanjiaoBox=false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="setExchange()">{{$t('pub.sureBtn')}}</button>
</div>
</template>
</el-dialog>
<el-dialog custom-class='w400' title="手配费" :visible.sync="HandState" center>
<template>
<el-form label-width="100px">
<el-form-item label="团号">
<el-input v-model="HandMsg.TCNUM" class="w200"></el-input>
</el-form-item>
<el-form-item label="相关单据">
<el-input v-model="HandMsg.ReFinanceId" class="w200"></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="HandState=false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="setHand">{{$t('pub.sureBtn')}}</button>
</div>
</template>
</el-dialog>
<!-- 修改手续费 -->
<template v-if="transactionTax">
<shouxufei :transTax="transTax" @success="close(),resetPageIndex(),getPageList()" @close="close"></shouxufei>
</template>
<template v-else>
<p class="boss_btn">{{$t('ios.gongji')}} {{checkList.length}} {{$t('ios.tdqdi')}} <span>{{bossLen}}</span>
{{$t('ios.tiao')}}</p>
<p class="boss_btn_tips">{{$t('ios.yjshzqbyjxqtcz')}}</p>
</template>
</el-dialog>
<el-dialog custom-class='w400' title="制单人转交" :visible.sync="zhuanjiaoBox" center>
<template>
<el-form label-width="100px">
<el-form-item label="制单人转交:">
<el-select v-model="zhuanjiaoMsg.CreateBy" filterable remote reserve-keyword
:placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethodEx" @change="$forceUpdate()">
<el-option v-for="item in searchList" :key="item.empId" :label="item.name" :value="item.empId">
<span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.postName }}</span>
<el-dialog title="修改付款对象" width="300px" :visible.sync="PaymentSync" center :before-close="closeChangeMachie">
<el-form class="cdForm" label-width="90px">
<el-form-item label="客户类型" prop="ClientType">
<el-select filterable v-model='transTax.ClientType' :placeholder="$t('fnc.khleixing')"
@change="GetClientAccountList(transTax.ClientType)" class="w135 _border_b_1">
<el-option v-for='item in ClientTypeList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="客户名称" prop="ClientID">
<template>
<el-select filterable v-model='transTax.ClientID' :placeholder="$t('fnc.khmingcheng')"
class="w135 _border_b_1">
<el-option v-for='item in ClientAccountList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</template>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="zhuanjiaoBox=false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="setExchange()">{{$t('pub.sureBtn')}}</button>
<el-button class="hollowFixedBtn" @click="PaymentSync=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="handlingSurePayment" :loading="transTax.loading">
{{$t('pub.sureBtn')}}</el-button>
</div>
</template>
</el-dialog>
<el-dialog custom-class='w400' title="手配费" :visible.sync="HandState" center>
<template>
<el-form label-width="100px">
<el-form-item label="团号">
<el-input v-model="HandMsg.TCNUM" class="w200"></el-input>
</el-dialog>
<el-dialog title="预付款冲抵" width="860px" :visible.sync="yfcdState" center>
<el-form class="cdForm" label-width="90px">
<el-form-item label="单号" prop="FrID">
<el-input class="w220" @keyup.native="checkInteger(czMsg,'FrID')" v-model="czMsg.FrID"></el-input>
</el-form-item>
<el-form-item label="相关单据">
<el-input v-model="HandMsg.ReFinanceId" class="w200"></el-input>
<el-form-item label="费用类型">
<el-select filterable v-model='czMsg.CostTypeID' class="">
<el-option label="不限" value=''></el-option>
<el-option v-for="(item,index) in costList" :key="index" :label="item.Name" :value='item.ID'></el-option>
</el-select>
</el-form-item>
<el-form-item>
<input type="button" value="查询" class="hollowFixedBtn" @click="czgetList">
</el-form-item>
<el-form-item label="交易日期">
<el-date-picker v-model="czdateList" type="daterange" range-separator="至" start-placeholder="开始日期"
end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
</el-form>
<p style="color: red;text-align: right;padding: 5px;">:冲抵请勾选单据后点击下方确认冲抵</p>
<table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0" v-loading="yfcdLoading">
<tr>
<th></th>
<th>单号</th>
<th>公司</th>
<th>费用类型</th>
<th>币种</th>
<th>汇率</th>
<th>金额</th>
<th>冲抵金额</th>
<th>状态</th>
<th>付款对象</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in czList" :key="index">
<td><input type="checkbox" :value="item" v-model="yfcheckList" @change="ckeckOne"></td>
<td>{{item.FrID}}</td>
<td>{{item.BranchName}}</td>
<td>{{item.CostTypeName}}</td>
<td>{{item.CurrencyName}}</td>
<td>{{item.Rate}}</td>
<td>{{item.Money}}</td>
<td>{{item.MatchMoney}}</td>
<td>{{item.StatusStr}}</td>
<td>
<el-tooltip class="item" effect="dark"
:content="item.ClientTypeName+':'+item.RemitterName+'('+item.AccountNumber+')'" placement="top-start">
<div style="width:250px;overflow:hidden">{{item.ClientTypeName}}:{{item.RemitterName}}</div>
</el-tooltip>
</td>
<td>
<el-tooltip class="item" effect="dark" content="预付款退款" placement="top-start">
<button class="normalBtn" @click="goUrlZD(item)">
<i class="el-icon-right"></i>
</button>
</el-tooltip>
</td>
</tr>
<tr v-if="czList.length==0">
<td colspan="13">暂无数据</td>
</tr>
</table>
<el-pagination background @current-change="handleCurrentChange2" layout="total,prev, pager, next, jumper"
:page-size="czMsg.pageSize" :total='total2'>
</el-pagination>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="HandState=false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="setHand">{{$t('pub.sureBtn')}}</button>
<button class="hollowFixedBtn" @click="yfcdState=false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="goUrlZD('')">
<!-- {{$t('pub.sureBtn')}} -->
确认冲抵
</button>
</div>
</template>
</el-dialog>
<!-- 修改手续费 -->
<template v-if="transactionTax">
<shouxufei :transTax="transTax" @success="close(),resetPageIndex(),getPageList()" @close="close"></shouxufei>
</template>
<el-dialog title="修改付款对象" width="300px" :visible.sync="PaymentSync" center :before-close="closeChangeMachie">
<el-form class="cdForm" label-width="90px">
<el-form-item label="客户类型" prop="ClientType">
<el-select filterable v-model='transTax.ClientType' :placeholder="$t('fnc.khleixing')"
@change="GetClientAccountList(transTax.ClientType)" class="w135 _border_b_1">
<el-option v-for='item in ClientTypeList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="客户名称" prop="ClientID">
<template>
<el-select filterable v-model='transTax.ClientID' :placeholder="$t('fnc.khmingcheng')"
class="w135 _border_b_1">
<el-option v-for='item in ClientAccountList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</template>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="PaymentSync=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="handlingSurePayment" :loading="transTax.loading">
{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog>
<el-dialog title="预付款冲抵" width="860px" :visible.sync="yfcdState" center>
<el-form class="cdForm" label-width="90px">
<el-form-item label="单号" prop="FrID">
<el-input class="w220" @keyup.native="checkInteger(czMsg,'FrID')" v-model="czMsg.FrID"></el-input>
</el-form-item>
<el-form-item label="费用类型">
<el-select filterable v-model='czMsg.CostTypeID' class="">
<el-option label="不限" value=''></el-option>
<el-option v-for="(item,index) in costList" :key="index" :label="item.Name" :value='item.ID'></el-option>
</el-select>
</el-form-item>
<el-form-item>
<input type="button" value="查询" class="hollowFixedBtn" @click="czgetList">
</el-form-item>
<el-form-item label="交易日期">
<el-date-picker v-model="czdateList" type="daterange" range-separator="至" start-placeholder="开始日期"
end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
</el-form>
<p style="color: red;text-align: right;padding: 5px;">:冲抵请勾选单据后点击下方确认冲抵</p>
<table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0" v-loading="yfcdLoading">
<tr>
<th></th>
<th>单号</th>
<th>公司</th>
<th>费用类型</th>
<th>币种</th>
<th>汇率</th>
<th>金额</th>
<th>冲抵金额</th>
<th>状态</th>
<th>付款对象</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in czList" :key="index">
<td><input type="checkbox" :value="item" v-model="yfcheckList" @change="ckeckOne"></td>
<td>{{item.FrID}}</td>
<td>{{item.BranchName}}</td>
<td>{{item.CostTypeName}}</td>
<td>{{item.CurrencyName}}</td>
<td>{{item.Rate}}</td>
<td>{{item.Money}}</td>
<td>{{item.MatchMoney}}</td>
<td>{{item.StatusStr}}</td>
<td>
<el-tooltip class="item" effect="dark"
:content="item.ClientTypeName+':'+item.RemitterName+'('+item.AccountNumber+')'" placement="top-start">
<div style="width:250px;overflow:hidden">{{item.ClientTypeName}}:{{item.RemitterName}}</div>
</el-tooltip>
</td>
<td>
<el-tooltip class="item" effect="dark" content="预付款退款" placement="top-start">
<button class="normalBtn" @click="goUrlZD(item)">
<i class="el-icon-right"></i>
</button>
</el-tooltip>
</td>
</tr>
<tr v-if="czList.length==0">
<td colspan="13">暂无数据</td>
</tr>
</table>
<el-pagination background @current-change="handleCurrentChange2" layout="total,prev, pager, next, jumper"
:page-size="czMsg.pageSize" :total='total2'>
</el-pagination>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="yfcdState=false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="goUrlZD('')">
<!-- {{$t('pub.sureBtn')}} -->
确认冲抵
</button>
</div>
</el-dialog>
<div class="btmAddStore" :class="{'fillShow':fillShow}">
<div class="btmTitle">导入工资单信息</div>
<div style="height:250px;overflow-y: auto;">
<table class="impoTable" style="border-spacing: 0px 1px;" v-loading="tabLoading">
<thead>
<tr>
<th width="300">费用说明</th>
<th width="180">所属公司</th>
<th width="150">金额</th>
<th width="100">类别</th>
<th >凭证上传</th>
<th width="150">备注</th>
</tr>
<tr v-for="(item,index) in importData" >
<td >
<span>{{item.CostDescribe}}</span>
</td>
<td >
<span>{{item.BrandName}}</span>
</td>
<td >
<span>{{item.Money}}</span>
</td>
<td>{{item.CostType}}</td>
<td >
<div class="_addUpload_box clearfix">
<template v-for="(file,fIndex) in item.vorcherInos">
<div v-if="file.Type==3" style="width:30px; float:left;">
<div class="iconfont ">
<el-image
style="height:16px;"
:src="file.Url?file.Url:file.Content"
:preview-src-list="[file.Url?file.Url:file.Content]">
</el-image>
<!-- <img :src="file.Url?file.Url:file.Content" @click="showUpLoadFile(file,index)" style="height:16px;"> -->
</el-dialog>
<div class="btmAddStore" :class="{'fillShow':fillShow}">
<div class="btmTitle">导入工资单信息</div>
<div style="height:250px;overflow-y: auto;">
<table class="impoTable" style="border-spacing: 0px 1px;" v-loading="tabLoading">
<thead>
<tr>
<th width="300">费用说明</th>
<th width="180">所属公司</th>
<th width="150">金额</th>
<th width="100">类别</th>
<th >凭证上传</th>
<th width="150">备注</th>
</tr>
<tr v-for="(item,index) in importData" >
<td >
<span>{{item.CostDescribe}}</span>
</td>
<td >
<span>{{item.BrandName}}</span>
</td>
<td >
<span>{{item.Money}}</span>
</td>
<td>{{item.CostType}}</td>
<td >
<div class="_addUpload_box clearfix">
<template v-for="(file,fIndex) in item.vorcherInos">
<div v-if="file.Type==3" style="width:30px; float:left;">
<div class="iconfont ">
<el-image
style="height:16px;"
:src="file.Url?file.Url:file.Content"
:preview-src-list="[file.Url?file.Url:file.Content]">
</el-image>
<!-- <img :src="file.Url?file.Url:file.Content" @click="showUpLoadFile(file,index)" style="height:16px;"> -->
</div>
<span class="iconfont icon-guanbi1" style="font-size:12px;" @click="deleteInvoiceUploadFile(fIndex,index)"></span>
</div>
<span class="iconfont icon-guanbi1" style="font-size:12px;" @click="deleteInvoiceUploadFile(fIndex,index)"></span>
</div>
<div v-if="file.Type==1" style="width:30px; float:left;">
<div class="iconfont "
:class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@click="showUpLoadFile(file)">
<div v-if="file.Type==1" style="width:30px; float:left;">
<div class="iconfont "
:class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" style="font-size:12px;" @click="deleteInvoiceUploadFile(fIndex,index)"></span>
</div>
<span class="iconfont icon-guanbi1" style="font-size:12px;" @click="deleteInvoiceUploadFile(fIndex,index)"></span>
</div>
<div v-if="file.Type==2" style="width:30px; float:left;">
<div class="iconfont icon-excel" @click="showUpLoadFile(file,index)">
<div v-if="file.Type==2" style="width:30px; float:left;">
<div class="iconfont icon-excel" @click="showUpLoadFile(file,index)">
</div>
<span class="iconfont icon-guanbi1" style="font-size:12px;" @click="deleteInvoiceUploadFile(fIndex,index)"></span>
</div>
<span class="iconfont icon-guanbi1" style="font-size:12px;" @click="deleteInvoiceUploadFile(fIndex,index)"></span>
</template>
<div class="_pic_upload financiaUpload" @click="importDataIndex=index">
<el-upload drag :http-request="uploadFileInvoiceBtn" :multiple="true" :show-file-list="false" action="">
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text" >点击上传</div>
</el-upload>
</div>
</template>
<div class="_pic_upload financiaUpload" @click="importDataIndex=index">
<el-upload drag :http-request="uploadFileInvoiceBtn" :multiple="true" :show-file-list="false" action="">
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text" >点击上传</div>
</el-upload>
</div>
</div>
</td>
<td >
<span>{{item.Notes}}</span>
</td>
</tr>
</thead>
</table>
</div>
<div class="btmBtn impotBtn">
<input type="button" class="normalBtn" @click="importInfo" :value="$t('ground.qrdr')" />
<input type="button" class="hollowFixedBtn" @click="hideFill" :value="$t('pub.cancelBtn')" />
</td>
<td >
<span>{{item.Notes}}</span>
</td>
</tr>
</thead>
</table>
</div>
<div class="btmBtn impotBtn">
<input type="button" class="normalBtn" @click="importInfo" :value="$t('ground.qrdr')" />
<input type="button" class="hollowFixedBtn" @click="hideFill" :value="$t('pub.cancelBtn')" />
</div>
</div>
<el-dialog custom-class='w700' title="导入营销数据" :visible.sync="outerVisible" center>
<el-upload drag class="upload-demo" :action="importFileUrl2" :on-success="handleAvatarSuccess"
:before-upload="beforeAvatarUpload">
<i class="el-icon-upload"></i>
<div class="el-upload__text">{{$t("tips.tuodongwenjian")}}<em>{{$t('tips.dianjishanhcuan')}}</em></div>
<div slot="tip" class="el-upload__tip">{{$t("ground.znscexcel")}}</div>
</el-upload>
</el-dialog>
<editExchangeRate v-if="costmodeHL" :hlData="trabeListHL" @success="resetPageIndex(),
getPageList(),
costmodeHL=false" @cancel="costmodeHL=false"></editExchangeRate>
<!-- 修改汇率
<el-dialog title="修改汇率" width="400px"
:visible.sync="costmodeHL" center >
<template v-for='(x,y) in trabeListHL'>
<el-form label-width="110px" style="padding: 5px 0;">
费用:{{x.CostTypeName}}
</el-form>
<el-form label-width="110px" style="padding: 5px 0;">
币种:{{x.CurrencyName}}
</el-form>
<el-form label-width="110px" style="padding: 5px 0;">
原币:{{x.OriginalMoney}}
</el-form>
<el-form label-width="110px" style="padding: 5px 0;">
本位币:{{x.Money}}
</el-form>
<el-form label-width="110px" style="padding: 5px 0;">
汇率:
<el-input-number v-model="x.Rate" :min="0" style="width: 240px;" @change="getRate"></el-input-number>
</el-form>
</template>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="costmodeHL=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="preservetransactionHL()">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog> -->
</div>
<el-dialog custom-class='w700' title="导入营销数据" :visible.sync="outerVisible" center>
<el-upload drag class="upload-demo" :action="importFileUrl2" :on-success="handleAvatarSuccess"
:before-upload="beforeAvatarUpload">
<i class="el-icon-upload"></i>
<div class="el-upload__text">{{$t("tips.tuodongwenjian")}}<em>{{$t('tips.dianjishanhcuan')}}</em></div>
<div slot="tip" class="el-upload__tip">{{$t("ground.znscexcel")}}</div>
</el-upload>
</el-dialog>
<editExchangeRate v-if="costmodeHL" :hlData="trabeListHL" @success="resetPageIndex(),
getPageList(),
costmodeHL=false" @cancel="costmodeHL=false"></editExchangeRate>
<!-- 修改汇率
<el-dialog title="修改汇率" width="400px"
:visible.sync="costmodeHL" center >
<template v-for='(x,y) in trabeListHL'>
<el-form label-width="110px" style="padding: 5px 0;">
费用:{{x.CostTypeName}}
</el-form>
<el-form label-width="110px" style="padding: 5px 0;">
币种:{{x.CurrencyName}}
</el-form>
<el-form label-width="110px" style="padding: 5px 0;">
原币:{{x.OriginalMoney}}
</el-form>
<el-form label-width="110px" style="padding: 5px 0;">
本位币:{{x.Money}}
</el-form>
<el-form label-width="110px" style="padding: 5px 0;">
汇率:
<el-input-number v-model="x.Rate" :min="0" style="width: 240px;" @change="getRate"></el-input-number>
</el-form>
</template>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="costmodeHL=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="preservetransactionHL()">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog> -->
</div>
</template>
<script>
import myBill from "./FinancialSubmodule/BillModule.vue";
......@@ -1792,10 +1800,12 @@
F_Update_CurrencyRate: false,
costmodeHL: false,
trabeListHL: [], //修改费率下拉数据
isJapanCommission: false
isJapanCommission: false,
typeSystem: 0,
};
},
created() {
this.typeSystem = localStorage.typeSystem
this.isTerminate = -1
let userinfo = this.getLocalStorage();
let ActionMenuCode = userinfo.ActionMenuCode;
......@@ -2615,7 +2625,7 @@
if (!this.msg.Conditon) this.msg.Conditon = 1;
if (!this.msg.TradeWay) this.msg.TradeWay = 0;
if (!this.msg.AccountType) this.msg.AccountType = 0;
this.apipost(
"Financial_post_GetPageList",
this.msg,
......
......@@ -1840,7 +1840,7 @@
this.GetCarList(path)
} else {
if(this.GetDetail.OtherType == 80){
if(this.typeSystem>0){
if(this.typeSystem==1){
let href = this.domainManager().CarUrl
window.parent.postMessage({
event_id: 'CarDealerOrder',
......@@ -2861,14 +2861,8 @@
}
},
mounted() {
if(localStorage.crmuserInfo){
let crmuserInfo = JSON.parse(localStorage.crmuserInfo)
if(crmuserInfo
&&crmuserInfo.parameter
&&crmuserInfo.parameter.typeSystem) {
this.typeSystem = crmuserInfo.parameter.typeSystem
}
}
this.typeSystem = localStorage.typeSystem
// document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp
// document.oncontextmenu = function(){return false;}
......
......@@ -65,7 +65,7 @@
<template>
<div style="position: relative;" class="myIndexStyle" ref="firstParent">
<div class="nav" v-if="!typeSystem">
<div class="nav" v-if="typeSystem==0">
<div class="nav-left">
<img class="GroupPic" v-if="userInfo.GroupPic!='' " :src="userInfo.GroupPic" :onerror='defaultHeadImg' />
</div>
......@@ -957,7 +957,7 @@
<source src="/static/music/msgMusic.mp3" type="audio/mpeg">
</audio>
</div>
<div class="temDivs" :style="{'top':!typeSystem?'58px':'0px'}">
<div class="temDivs" :style="{'top':typeSystem==0?'58px':'58px'}">
<router-view></router-view>
</div>
......@@ -1753,14 +1753,7 @@
},
},
mounted() {
if(localStorage.crmuserInfo){
let crmuserInfo = JSON.parse(localStorage.crmuserInfo)
if(crmuserInfo
&&crmuserInfo.parameter
&&crmuserInfo.parameter.typeSystem) {
this.typeSystem = crmuserInfo.parameter.typeSystem
}
}
this.typeSystem = localStorage.typeSystem
let that = this;
this.qjGroupId = this.QjGroupId();
......
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