Commit b08dca0d authored by youjie's avatar youjie

no message

parent 06e54896
<style scoped>
._PrintPage{
width: 100%;
background-color: white;
position: absolute;
padding-top: 20px;
}
._PrintPage_box{
width: 1000px;
margin: 0 auto;
padding: 0 !important;
}
._border_1{
border: 1px solid #333333;
margin-bottom:30px;
/* page-break-after: always; */
}
/* @media print {
._PrintPage{
margin-left:-145px;
}
} */
._PrintPage_box{
position: relative;
}
._PrintPage_box .SetDiv{
position: absolute;
top:10px;
color:#106BAF;
left: -290px;
}
._PrintPage_box .SetDiv span{
color:#106BAF;
cursor: pointer;
font-size: 15px;
}
._PrintPage_Center+._PrintPage_always{
page-break-before: always;
}
</style>
<template v-loading="loading">
<div class="_PrintPage">
<div class="_PrintPage_box">
<div v-for="(items,index) in printDatas"
:class="[index% 2 == 0?'_PrintPage_always':'_PrintPage_Center']">
<template v-if="items.type=='2'&&(items.Merge=='0'||items.Merge==null)">
<div class="SetDiv">
<el-select size="mini" v-model="titleName" :placeholder="$t('objFill.qingxuanzhettname')"
style="width: 150px;">
<el-option
v-for="item in optionsList"
:key="item.value"
:label="item.Name"
:value="item.value">
</el-option>
</el-select>
</div>
<template v-for="(item,index) in loopNumT">
<div v-if="index+1==2"
:class="{'_border_1':index+1==2}">
<my-Bill :ID="items.id" :width="widthSon" :isPrintPage="true" :color="colorSon" :OrderSource="items.OrderSource" :name='index+1' :titleName="titleName"></my-Bill>
</div>
</template>
</template>
<template v-else-if="items.type=='1'&&(items.Merge=='0'||items.Merge==null)">
<div class="SetDiv">
<el-select size="mini" v-model="titleName" :placeholder="$t('objFill.qingxuanzhettname')"
style="width: 150px;">
<el-option
v-for="item in optionsList"
:key="item.value"
:label="item.Name"
:value="item.value">
</el-option>
</el-select>
</div>
<template v-for="(item,index) in loopNumN">
<div v-if="index+1==2" class="_border_1">
<my-RVB-Bill v-on:helloPP="numAdd" :Num="num" :ID="items.id" :width="widthSon" :isPrintPage="true" :OrderSource="items.OrderSource" :color="colorSon" :name='index+1' :titleName="titleName"></my-RVB-Bill>
</div>
</template>
</template>
<template v-if="items.type=='7'&&(items.Merge=='0'||items.Merge==null)">
<template v-for="(item,index) in loopNumT">
<div v-if="index+1==2" class="_border_1">
<my-GZ-Bill :ID="items.id" :width="widthSon" :isPrintPage="true" :color="colorSon" :OrderSource="items.OrderSource" :name='index+1'></my-GZ-Bill>
</div>
</template>
</template>
<template v-if="items.Merge=='1'">
<template v-for="(item,index) in loopNumN">
<div v-if="index+1==2" class="_border_1">
<my-HB-Bill v-on:helloPP="numAdd" :Num="num" :ID="items.id" :width="widthSon" :isPrintPage="true" :color="colorSon" :name='index+1'></my-HB-Bill>
</div>
</template>
</template>
</div>
</div>
</div>
</template>
<script>
import myBill from "./FinancialModule/FinancialSubmodule/BillModule.vue";
import myrbvBill from "./FinancialModule/FinancialSubmodule/ReceivablesModule.vue";
import myhrBill from "./FinancialModule/FinancialSubmodule/MergeBillModule.vue";
import myGZBill from "./FinancialModule/FinancialSubmodule/GZBillModule.vue";
export default {
data(){
return{
titleName:'',
optionsList:[
{Name:'和平',value:'四川和平国际旅行社'},
{Name:'微途',value:'成都微途科技有限公司'},
{Name:'欧亚',value:'成都欧亚旅行社'},
{Name:'兆鸿',value:'四川兆鸿文化传播有限公司'},
],
loading:true,
id:null,
type:null,
isKehu:null,
widthSon:"100%",
colorSon:"#ffffff",
num:0,
loopNumN:this.$route.query.isKehu=='1'?3:2,
loopNumT:2,
Merge:null,
OrderSource:-1,
printDatas:[]
}
},components:{
'my-Bill': myBill,
'my-RVB-Bill':myrbvBill,
'my-HB-Bill':myhrBill,
'my-GZ-Bill': myGZBill
},methods:{
numAdd(){
this.num = this.num + 1
}
},mounted(){
},created(){
this.printDatas = JSON.parse(this.$route.query.list)
this.$i18n.locale = localStorage.language?localStorage.language:'zh-CN'
}
}
</script>
<style scoped> <style scoped>
/deep/._fnDm_content .el-table th.el-table__cell {
background-color: #E6E6E6 !important;
}
.page_fnDm { .page_fnDm {
background-color: white; background-color: white;
} }
...@@ -567,7 +570,7 @@ ...@@ -567,7 +570,7 @@
float: left; float: left;
font-size: 12px; font-size: 12px;
color: #666; color: #666;
margin: 20px 30px 20px 0; margin: 5px 30px 5px 0;
} }
input::-webkit-outer-spin-button, input::-webkit-outer-spin-button,
...@@ -707,13 +710,21 @@ ...@@ -707,13 +710,21 @@
<button v-if="this.userId==2739" class="hollowFixedBtn" @click="openMarkDialog"> PIC优先付款记录</button> <button v-if="this.userId==2739" class="hollowFixedBtn" @click="openMarkDialog"> PIC优先付款记录</button>
<!-- v-if="F_Advance_Match" --> <!-- v-if="F_Advance_Match" -->
<button class="hollowFixedBtn" @click="BOSSBtn = !BOSSBtn, checkList = [], getPageList(1), BOSSBtn2 = false" <button class="hollowFixedBtn" @click="BOSSBtn = !BOSSBtn, checkList = [], getPageList(1), BOSSBtn2 = false"
v-if="msg.Conditon === 3 && userMenuCode">{{BOSSBtn ? $t('objFill.disableapproval') : $t('objFill.oneclickapproval')}}</button> v-if="msg.Conditon == 3 && userMenuCode">{{BOSSBtn ? $t('objFill.disableapproval') : $t('objFill.oneclickapproval')}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon === 3 && BOSSBtn" <button class="hollowFixedBtn" v-if="msg.Conditon == 3 && BOSSBtn"
@click="BOSSBtnClick(1)">{{$t('ios.shenpi')}}</button> @click="BOSSBtnClick(1)">{{$t('ios.shenpi')}}</button>
<button class="hollowFixedBtn" @click="BOSSBtn2 = !BOSSBtn2, checkList = [], getPageList(1), BOSSBtn = false" <button class="hollowFixedBtn" @click="BOSSBtn2 = !BOSSBtn2, checkList = [], getPageList(1), BOSSBtn = false"
v-if="msg.Conditon === 3">{{BOSSBtn2 ? $t('objFill.noOneclicktransfer') : $t('objFill.oneclicktransfer')}}</button> v-if="msg.Conditon == 3">{{BOSSBtn2 ? $t('objFill.noOneclicktransfer') : $t('objFill.oneclicktransfer')}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon === 3 && BOSSBtn2" @click="BOSSBtnClick(2)">{{$t('fnc.zhuanjiao')}}</button> <button class="hollowFixedBtn" v-if="msg.Conditon == 3 && BOSSBtn2" @click="BOSSBtnClick(2)">{{$t('fnc.zhuanjiao')}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon === 1&&ActionMenuCode.indexOf('batchAddWages')!=-1 " @click="outerVisible=true">{{$t('objFill.payroll')}}</button> <button class="hollowFixedBtn" v-if="msg.Conditon == 1&&ActionMenuCode.indexOf('batchAddWages')!=-1 " @click="outerVisible=true">{{$t('objFill.payroll')}}</button>
<template v-if="isBatchPrinting&&msg.Conditon == 3">
<button class="hollowFixedBtn" v-if="!BOSSBtn3"
@click="BOSSBtn3 = true">一键打印</button>
<button v-else class="hollowFixedBtn"
@click="BOSSBtn3 = !BOSSBtn3,checkList = [],toggleSelection()">关闭一键打印</button>
<button class="hollowFixedBtn" v-if="BOSSBtn3"
@click="BOSSBtnClick(3)">打印</button>
</template>
</li> </li>
</ul> </ul>
<div class="Myquery-box"> <div class="Myquery-box">
...@@ -994,222 +1005,240 @@ ...@@ -994,222 +1005,240 @@
<!-- <input type="text" v-model="mathNumber" @blur="mathMoney(mathNumber)"> <!-- <input type="text" v-model="mathNumber" @blur="mathMoney(mathNumber)">
<input type="text" v-model="ChineseStr"> --> <input type="text" v-model="ChineseStr"> -->
<div class="_fnDm_content" v-loading='loading' :style="{minHeight:minHeight+'px'}"> <div class="_fnDm_content" v-loading='loading' :style="{minHeight:minHeight+'px'}">
<table border="0" cellspacing="0" cellpadding="0" class="singeRowTable" style="margin-bottom:30px;"> <el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%"
<tr class="_t_head"> @selection-change="handleSelectionChange"
<th v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2"><input type="checkbox" v-model="isCkedAll" row-key="FrID">
@click='checkedAll()'></th> <el-table-column v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2 || BOSSBtn3"
<th width="90">{{$t('system.query_company')}}</th> :reserve-selection="true"
<th>{{$t('fnc.danhao')}}</th> type="selection"
<th width="90">{{$t('fnc.djleixing')}}</th> width="55">
<th>{{$t('hotel.hotel_corrlelatition')}}</th> </el-table-column>
<th>{{$t('fnc.feiyongleixing')}}</th> <el-table-column prop="BranchName" :label="$t('system.query_company')" width="90"></el-table-column>
<th>{{$t('tips.jiaoyifangshi')}}</th> <el-table-column :label="$t('fnc.danhao')">
<th>{{$t('fnc.jine')}}</th> <template slot-scope="scope">
<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"> <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)"> <template v-if="scope.row.Type!=1&&scope.row.Type!=7&&scope.row.modelShow&&(scope.row.Is_Merge===0||scope.row.Is_Merge===null)">
<my-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-Bill> <my-Bill :ID="scope.row.FrID" :width="widthSon" :color="colorSon"></my-Bill>
</template> </template>
<template v-else-if="item.Type==1&&item.modelShow&&(item.Is_Merge===0||item.Is_Merge===null)"> <template v-else-if="scope.row.Type==1&&scope.row.modelShow&&(scope.row.Is_Merge===0||scope.row.Is_Merge===null)">
<my-RVB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill> <my-RVB-Bill :ID="scope.row.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill>
</template> </template>
<template v-else-if="item.Type==7&&item.modelShow&&(item.Is_Merge===0||item.Is_Merge===null)"> <template v-else-if="scope.row.Type==7&&scope.row.modelShow&&(scope.row.Is_Merge===0||scope.row.Is_Merge===null)">
<my-GZ-Bill :ID="item.FrID" :width="'1000px'" :color="colorSon"></my-GZ-Bill> <my-GZ-Bill :ID="scope.row.FrID" :width="'1000px'" :color="colorSon"></my-GZ-Bill>
</template> </template>
<template v-else-if="item.Is_Merge===1&&item.modelShow"> <template v-else-if="scope.row.Is_Merge===1&&scope.row.modelShow">
<my-HB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-HB-Bill> <my-HB-Bill :ID="scope.row.FrID" :width="widthSon" :color="colorSon"></my-HB-Bill>
</template> </template>
<span slot="reference" @click="item.modelShow = true" class="text_d PingFangSC">{{item.FrID}}</span> <span slot="reference" @click="scope.row.modelShow = true" class="text_d PingFangSC">{{scope.row.FrID}}</span>
</el-popover> </el-popover>
</td> </template>
<td> </el-table-column>
<span class="_bg__" :class="item.Type==1 || item.Type==5?'_bg_green':'_bg_red'">{{item.TypeName}}</span> <el-table-column :label="$t('fnc.djleixing')">
<template slot-scope="scope">
<span class="_bg__" :class="scope.row.Type==1 || scope.row.Type==5?'_bg_green':'_bg_red'">{{scope.row.TypeName}}</span>
<el-tooltip class="item" effect="dark" :content="$t('ground.zjiatk')" placement="top"> <el-tooltip class="item" effect="dark" :content="$t('ground.zjiatk')" placement="top">
<span v-if="item.OtherType == 1" class="zhuiClass">{{$t('objFill.chase')}}</span> <span v-if="scope.row.OtherType == 1" class="zhuiClass">{{$t('objFill.chase')}}</span>
</el-tooltip> </el-tooltip>
</template>
</td> </el-table-column>
<td class="_number"> <el-table-column :label="$t('hotel.hotel_corrlelatition')">
<template v-if="item.TCIDAndTCNUMList.length>0"> <template slot-scope="scope">
<div class="_TCIDAndTCNUMList"> <div class="_number">
<span>{{$t('visa.v_tuanhao')}}</span> <template v-if="scope.row.TCIDAndTCNUMList.length>0">
<template v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0"> <div class="_TCIDAndTCNUMList">
<p><span v-for="(i,ix) in item.TCIDAndTCNUMList">{{i.TCNUM}}{{i.TCID}} <span>{{$t('visa.v_tuanhao')}}</span>
<template v-if="i.TeamTypeNameStr&&i.TeamTypeNameStr!=''">({{i.TeamTypeNameStr}})</template> <template v-if="scope.row.TCIDAndTCNUMList&&scope.row.TCIDAndTCNUMList.length>0">
<span v-if="ix!=item.TCIDAndTCNUMList.length-1">,<br /></span></span></p> <p><span v-for="(i,ix) in scope.row.TCIDAndTCNUMList">{{i.TCNUM}}{{i.TCID}}
</template> <template v-if="i.TeamTypeNameStr&&i.TeamTypeNameStr!=''">({{i.TeamTypeNameStr}})</template>
<template v-else> <span v-if="ix!=scope.row.TCIDAndTCNUMList.length-1">,<br /></span></span></p>
<span>{{$t('fnc.no')}}</span> </template>
</template> <template v-else>
</div> <span>{{$t('fnc.no')}}</span>
<p v-if="item.OrderID>0 && item.OrderSource==8">{{$t('fnc.danhao')}}<span </template>
class="">{{item.OrderID}}</span></p> </div>
</template> <p v-if="scope.row.OrderID>0 && scope.row.OrderSource==8">{{$t('fnc.danhao')}}<span
<template v-else-if="item.OrderSource==8 && item.TCIDAndTCNUMList.length==0"> class="">{{scope.row.OrderID}}</span></p>
<p class="_TCIDAndTCNUMList">{{$t('tips.zwtqxinxi')}}</p> </template>
</template> <template v-else-if="scope.row.OrderSource==8 && scope.row.TCIDAndTCNUMList.length==0">
<template v-else-if="item.OrderSource==4 && item.TCIDAndTCNUMList.length==0"> <p class="_TCIDAndTCNUMList">{{$t('tips.zwtqxinxi')}}</p>
<p class="_TCIDAndTCNUMList text_d" @click="goTicketPage(item)">{{$t('fnc.jpbianhao')}}{{item.SourceID}} </template>
</p> <template v-else-if="scope.row.OrderSource==4 && scope.row.TCIDAndTCNUMList.length==0">
<p style="margin-top: 5px;"> <p class="_TCIDAndTCNUMList text_d" @click="goTicketPage(scope.row)">{{$t('fnc.jpbianhao')}}{{scope.row.SourceID}}
{{$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>
<p>{{tw.BankNo}}</p> <p style="margin-top: 5px;">
</div> {{$t('advmanager.v_line')}}<span>{{scope.row.LineName?scope.row.LineName:$t('tips.jpswxzxianlu')}}</span></p>
</template> </template>
<template v-else> <template v-else-if="scope.row.OrderSource==9 && scope.row.TCIDAndTCNUMList.length==0">
<div class="_pad5"> <p class="_TCIDAndTCNUMList">{{$t('fnc.gnjpqishu')}}{{scope.row.Term}}</p>
{{$t('fnc.no')}} </template>
</div> <template v-else-if="scope.row.OrderSource==10 && scope.row.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.qzbianhao')}}{{scope.row.SourceID}}</p>
</template>
<template v-else-if="scope.row.OrderSource==11 && scope.row.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.tsbianhao')}}{{scope.row.SourceID}}</p>
</template>
<template v-else-if="scope.row.OrderSource==12 && scope.row.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList">{{$t('fnc.smjpbianhao')}}{{scope.row.SourceID}}</p>
</template>
<template v-else-if="scope.row.OrderSource==0">
<p class="_TCIDAndTCNUMList">{{ scope.row.BranchName }}-{{scope.row.DepartName}} </p>
</template>
<template v-else>
<p class="_TCIDAndTCNUMList">{{$t('active.cl_zanwu')}} </p>
</template>
</div>
</template>
</el-table-column>
<el-table-column :label="$t('fnc.feiyongleixing')">
<template slot-scope="scope">
<template v-for="(s,si) in scope.row.CostTypeList">
<span class="_tag_span">{{s}}</span><br />
</template> </template>
</td> </template>
<td> </el-table-column>
<p v-if="item.IsForeignCurrency && item.IsForeignCurrency ==1">{{$t('fnc.yuanbi')}}<span <el-table-column :label="$t('tips.jiaoyifangshi')">
class="">{{moneyFormat(item.WBMoney)}}{{item.CurrencyName}}</span></p> <template slot-scope="scope">
<p>{{item.Type==1 ? $t('fnc.yingshou') : $t('fnc.yingfu') }}<span <div class="_number">
class="">{{moneyFormat(item.Money)}}</span></p> <template v-if="scope.row.TradeWayList&&scope.row.TradeWayList.length>0">
<p>{{item.Type==1 ? $t('fnc.shishou') : $t('fnc.shifu') }}<span <div class="_TradeWayList" v-for="(tw,twIn) in scope.row.TradeWayList">
class="">{{moneyFormat(item.PayMoney)}}</span></p> <p class="_fex_cen clearfix"><span class="_bold">{{tw.Alias}}</span><span
</td> class="_bank_name">{{scope.row.TradeWayList[0].TypeName}}</span><span class="_bank_type"
<td> :class="tw.AccountType=='私'?'':'_bank_type2'">{{tw.AccountType==""?$t('fnc.no'):tw.AccountType}}</span>
<template v-if='item.Type===1'> </p>
<span class="_color_gar">{{$t('fnc.huikuanren')}}</span><span>{{item.RemitterName}}</span> <p>{{tw.BankNo}}</p>
</div>
</template>
<template v-else>
<div class="_pad5">
{{$t('fnc.no')}}
</div>
</template>
</div>
</template>
</el-table-column>
<el-table-column :label="$t('fnc.jine')">
<template slot-scope="scope">
<p v-if="scope.row.IsForeignCurrency && scope.row.IsForeignCurrency ==1">{{$t('fnc.yuanbi')}}<span
class="">{{moneyFormat(scope.row.WBMoney)}}{{scope.row.CurrencyName}}</span></p>
<p>{{scope.row.Type==1 ? $t('fnc.yingshou') : $t('fnc.yingfu') }}<span
class="">{{moneyFormat(scope.row.Money)}}</span></p>
<p>{{scope.row.Type==1 ? $t('fnc.shishou') : $t('fnc.shifu') }}<span
class="">{{moneyFormat(scope.row.PayMoney)}}</span></p>
</template>
</el-table-column>
<el-table-column :label="msg.Type==1? $t('fnc.shoukuan') : $t('fnc.fukuan')+$t('fnc.duixiang')">
<template slot-scope="scope">
<template v-if='scope.row.Type===1'>
<span class="_color_gar">{{$t('fnc.huikuanren')}}</span><span>{{scope.row.RemitterName}}</span>
</template> </template>
<template v-if='item.Type===2'> <template v-if='scope.row.Type===2'>
<span class="_color_gar">{{$t('fnc.fkduixiang')}}</span><span>{{item.RemitterName}}</span> <span class="_color_gar">{{$t('fnc.fkduixiang')}}</span><span>{{scope.row.RemitterName}}</span>
</template> </template>
<template v-if='item.Type===4'> <template v-if='scope.row.Type===4'>
<span class="_color_gar">{{$t('fnc.no')}}</span> <span class="_color_gar">{{$t('fnc.no')}}</span>
</template> </template>
</td> </template>
<td valign="middle"> </el-table-column>
<img class="_head_img" :src="item.EmPhoto" alt=""> <el-table-column :label="$t('fnc.zdrenyuan')" width="150">
<span>{{item.EmName}}</span> <template slot-scope="scope">
<div>{{item.CreateDate}}</div> <div valign="middle">
</td> <img class="_head_img" :src="scope.row.EmPhoto" alt="">
<td class="_btn_group"> <span>{{scope.row.EmName}}</span>
<i v-if="item.Status==1" class="iconfont icon-daiqueren"></i> <div>{{scope.row.CreateDate}}</div>
<i v-if="item.Status==4" class="iconfont icon-yiquxiao"></i> </div>
<i v-if="item.Status==2" class="iconfont icon-yiqueren"></i> </template>
<i v-if="item.Status==3" class="iconfont icon-shenhebohui"></i> </el-table-column>
<i v-if="item.Status==0 || item.Status==5" class="iconfont icon-zancun"></i> <el-table-column :label="$t('fnc.dqzhuangtai')">
<el-popover popper-class="detailsIT_Journal" width="250" trigger="click"> <template slot-scope="scope">
<div class="InfoChangeLog"> <div class="_btn_group">
<div class="changLog"> <i v-if="scope.row.Status==1" class="iconfont icon-daiqueren"></i>
<p class="_log_t">{{$t('fnc.lcrizhi')}}</p> <i v-if="scope.row.Status==4" class="iconfont icon-yiquxiao"></i>
<ul class="changLogList" v-if="GetFinancLogList" v-loading='LogLoading'> <i v-if="scope.row.Status==2" class="iconfont icon-yiqueren"></i>
<li class="changLogList_l" v-for="(log,li) in GetFinancLogList"> <i v-if="scope.row.Status==3" class="iconfont icon-shenhebohui"></i>
<span style="background-color: #47BF8C" class="_radius_green"></span> <i v-if="scope.row.Status==0 || scope.row.Status==5" class="iconfont icon-zancun"></i>
<p> <span class="_color_blue">{{log.EmName}}</span> <span <el-popover popper-class="detailsIT_Journal" width="250" trigger="click">
class="fr changLog_time">{{log.UpdateDate}}</span> </p> <div class="InfoChangeLog">
<p class="_dtel">{{log.StartValue}}</p> <div class="changLog">
</li> <p class="_log_t">{{$t('fnc.lcrizhi')}}</p>
</ul> <ul class="changLogList" v-if="GetFinancLogList" v-loading='LogLoading'>
<ul v-else> <li class="changLogList_l" v-for="(log,li) in GetFinancLogList">
<li>{{$t('hotel.hotel_zanwu')}}</li> <span style="background-color: #47BF8C" class="_radius_green"></span>
</ul> <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> </div>
</div> <span slot="reference" class="text_d _font_init"
<span slot="reference" class="text_d _font_init" @click="Financial_post_GetFinancLogList(scope.row.FrID)">{{scope.row.StatusStr}}</span>
@click="Financial_post_GetFinancLogList(item.FrID)">{{item.StatusStr}}</span> </el-popover>
</el-popover> </div>
</td> </template>
<td class="_icon_btn"> </el-table-column>
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top"> <el-table-column :label="$t('system.table_operation')">
<i v-if="((msg.Conditon==1 ||msg.Conditon==7) && (item.InOrNotProcess==1 || item.Status==3 || item.Status==0) && item.Status!=2)" <template slot-scope="scope">
class="edit el-icon-edit" @click="goEit(item.Type,item.FrID,true,active,msg.pageIndex, item)"></i> <div class="_icon_btn">
</el-tooltip> <el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top">
<el-tooltip class="item" effect="dark" :content="$t('fnc.chakan')" placement="top"> <i v-if="((msg.Conditon==1 ||msg.Conditon==7) && (scope.row.InOrNotProcess==1 || scope.row.Status==3 || scope.row.Status==0) && scope.row.Status!=2)"
<i class="iconfont icon-sousuo" v-if='item.Type!==4' class="edit el-icon-edit" @click="goEit(scope.row.Type,scope.row.FrID,true,active,msg.pageIndex, scope.row)"></i>
@click="goUrl('FinancialDocumentsDetail',item.FrID,active,msg.pageIndex)"></i> </el-tooltip>
<i class="iconfont icon-sousuo" v-if='item.Type===4' <el-tooltip class="item" effect="dark" :content="$t('fnc.chakan')" placement="top">
@click="goUrl('CapitalAllocationDetail',item.FrID,active,msg.pageIndex)"></i> <i class="iconfont icon-sousuo" v-if='scope.row.Type!==4'
</el-tooltip> @click="goUrl('FinancialDocumentsDetail',scope.row.FrID,active,msg.pageIndex)"></i>
<el-tooltip class="item" effect="dark" :content="$t('fnc.shenhe')" placement="top"> <i class="iconfont icon-sousuo" v-if='scope.row.Type===4'
<i v-if="(msg.Conditon==3 && item.Is_Self!=1)||(msg.Conditon==8 && item.Is_Self!=1)" @click="goUrl('CapitalAllocationDetail',scope.row.FrID,active,msg.pageIndex)"></i>
class="iconfont icon-ico_commodity_defaul" </el-tooltip>
@click="goUrl('BasicDocuments',item.FrID,active,msg.pageIndex)"></i> <el-tooltip class="item" effect="dark" :content="$t('fnc.shenhe')" placement="top">
</el-tooltip> <i v-if="(msg.Conditon==3 && scope.row.Is_Self!=1)||(msg.Conditon==8 && scope.row.Is_Self!=1)"
<el-tooltip class="item" effect="dark" :content="$t('objFill.urgesbtoexamine')" placement="top"> class="iconfont icon-ico_commodity_defaul"
<i v-if="msg.Conditon==1 && item.IsFinancePushOn==1" class="iconfont icon-cuishou" @click="goUrl('BasicDocuments',scope.row.FrID,active,msg.pageIndex)"></i>
@click="cuishen('Financial_post_SetFinancePushOn', item.FrID)"></i> </el-tooltip>
</el-tooltip> <el-tooltip class="item" effect="dark" :content="$t('objFill.urgesbtoexamine')" placement="top">
<el-tooltip class="item" effect="dark" :content="$t('fnc.zhuanjiao')" placement="top"> <i v-if="msg.Conditon==1 && scope.row.IsFinancePushOn==1" class="iconfont icon-cuishou"
<i v-if="msg.Conditon==3 && !BOSSBtn2" class="iconfont icon-zhuanjiao1" @click="cuishen('Financial_post_SetFinancePushOn', scope.row.FrID)"></i>
@click="zhuanBox = true,zhuanMsg.WorkFlowId = item.FrID"></i> </el-tooltip>
</el-tooltip> <el-tooltip class="item" effect="dark" :content="$t('fnc.zhuanjiao')" placement="top">
<!-- <el-tooltip class="item" effect="dark" :content="$t('fnc.zhuanjiao')" placement="top"> <i v-if="msg.Conditon==3 && !BOSSBtn2" class="iconfont icon-zhuanjiao1"
<i v-if="msg.Conditon==7" class="iconfont icon-zhuanhuan1" @click="getExchange(item.FrID)"></i> @click="zhuanBox = true,zhuanMsg.WorkFlowId = scope.row.FrID"></i>
</el-tooltip> --> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('active.cl_zuofei')" placement="top"> <!-- <el-tooltip class="item" effect="dark" :content="$t('fnc.zhuanjiao')" placement="top">
<i v-if="((msg.Conditon==1 ||msg.Conditon==7) && (item.InOrNotProcess==1 || item.Status==3 || item.Status==0) && item.Status!=2)" <i v-if="msg.Conditon==7" class="iconfont icon-zhuanhuan1" @click="getExchange(item.FrID)"></i>
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="$t('tips.jiaoyifangshi')" 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> -->
<el-tooltip class="item" :content="$t('objFill.commissionsetting')" placement="top" <el-tooltip class="item" effect="dark" :content="$t('active.cl_zuofei')" placement="top">
v-if="active==2 && item.Type==1 &&(F_Trademodify == true || isJapanCommission == true)"> <i v-if="((msg.Conditon==1 ||msg.Conditon==7) && (scope.row.InOrNotProcess==1 || scope.row.Status==3 || scope.row.Status==0) && scope.row.Status!=2)"
<i class="iconfont icon-zhifupeizhiguanli" @click="showTranTax(item.FrID,'1')"></i> class="iconfont icon-quxiao1" @click="financeRemove(scope.row.FrID)"></i>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" :content="$t('objFill.payersetup')" placement="top" <el-tooltip v-if="ActionMenuCode.indexOf('F_Update_TradeDate')!=-1" class="item"
v-if="(active==2 || active==3)&& istransaction == true && item.Type==2"> :content="$t('fnc.tzjyriqi')" placement="top">
<i class="iconfont icon-zhifupeizhiguanli" @click="showTranTax(item.FrID,'2')"></i> <i v-if="msg.Conditon==2 && scope.row.TradeDate" class="iconfont icon-tiaozheng"
</el-tooltip> @click="dialogFormVisible=true,updateMsg.FrID=scope.row.FrID,updateMsg.OTradeDate=scope.row.TradeDate"></i>
<el-tooltip class="item" :content="$t('objFill.modifytheexchangerate')" placement="top" </el-tooltip>
v-if="(active==2 || active==3) && F_Update_CurrencyRate == true"> <!-- <el-tooltip class="item" :content="$t('tips.jiaoyifangshi')" placement="top" v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0&&active==2 && istransaction == true">
<i class="iconfont icon-money" style="background-color: #47BF8C;color: white;" <i v-if="active==2" class="iconfont icon-zhifupeizhiguanli"
@click="showhuilv(item)"></i> @click="showjiaoyi(item.FrID)"></i>
</el-tooltip> </el-tooltip> -->
</td> <el-tooltip class="item" :content="$t('objFill.commissionsetting')" placement="top"
</tr> v-if="active==2 && scope.row.Type==1 &&(F_Trademodify == true || isJapanCommission == true)">
</table> <i class="iconfont icon-zhifupeizhiguanli" @click="showTranTax(scope.row.FrID,'1')"></i>
</el-tooltip>
<el-tooltip class="item" :content="$t('objFill.payersetup')" placement="top"
v-if="(active==2 || active==3)&& istransaction == true && scope.row.Type==2">
<i class="iconfont icon-zhifupeizhiguanli" @click="showTranTax(scope.row.FrID,'2')"></i>
</el-tooltip>
<el-tooltip class="item" :content="$t('objFill.modifytheexchangerate')" 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(scope.row)"></i>
</el-tooltip>
</div>
</template>
</el-table-column>
</el-table>
</div> </div>
<div class="noData" v-show="noData"> <div class="noData" v-show="noData">
{{$t('system.content_noData')}} {{$t('system.content_noData')}}
...@@ -1564,7 +1593,7 @@ ...@@ -1564,7 +1593,7 @@
<input type="button" :value="$t('pub.searchBtn')" class="hollowFixedBtn" @click="getMarkList"> <input type="button" :value="$t('pub.searchBtn')" class="hollowFixedBtn" @click="getMarkList">
</el-form-item> </el-form-item>
</el-form> </el-form>
<p style="color: red;text-align: left;padding: 5px;">*多单据请使用英文逗号分隔,如12341,45671</p> <p style="color: red;text-align: left;padding: 5px;">*多单据请使用英文逗号分隔,如12341,45671</p>
<table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0" v-loading="MarkLoading"> <table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0" v-loading="MarkLoading">
<tr> <tr>
<th>单号</th> <th>单号</th>
...@@ -1595,7 +1624,7 @@ ...@@ -1595,7 +1624,7 @@
</tr> </tr>
</table> </table>
<p style="color: red;text-align: left;padding: 5px;">*请上传凭证</p> <p style="color: red;text-align: left;padding: 5px;">*请上传凭证</p>
<div class="_addUpload_box clearfix"> <div class="_addUpload_box clearfix">
<template v-for="(file,fIndex) in MarkVorcherInos"> <template v-for="(file,fIndex) in MarkVorcherInos">
<div v-if="file.Type==3" style="width:30px; float:left;"> <div v-if="file.Type==3" style="width:30px; float:left;">
...@@ -1629,7 +1658,7 @@ ...@@ -1629,7 +1658,7 @@
</el-upload> </el-upload>
</div> </div>
<p style="color: red;text-align: left;padding: 5px;">*标记备注(非必填)</p> <p style="color: red;text-align: left;padding: 5px;">*标记备注(非必填)</p>
<el-input type="textarea" class="w320" v-model="MarkRemark" placeholder="请输入备注"></el-input> <el-input type="textarea" class="w320" v-model="MarkRemark" placeholder="请输入备注"></el-input>
</div> </div>
...@@ -1828,6 +1857,7 @@ ...@@ -1828,6 +1857,7 @@
ActionMenuCode: "", ActionMenuCode: "",
BOSSBtn: false, BOSSBtn: false,
BOSSBtn2: false, BOSSBtn2: false,
BOSSBtn3: false,
AuditOrRefundMsg: { AuditOrRefundMsg: {
WorkFlowId: "", WorkFlowId: "",
Description: "", Description: "",
...@@ -1892,7 +1922,9 @@ ...@@ -1892,7 +1922,9 @@
MarkTotal: '', MarkTotal: '',
MarkFrIds: '', MarkFrIds: '',
MarkVorcherInos: [], MarkVorcherInos: [],
MarkRemark: '' MarkRemark: '',
isBatchPrinting: false,
multipleSelection: [],
}; };
}, },
created() { created() {
...@@ -1963,6 +1995,10 @@ ...@@ -1963,6 +1995,10 @@
this.GetAuth(); this.GetAuth();
this.getCostTypeList(); this.getCostTypeList();
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode;
if (ActionMenuCode.indexOf("isBatchPrinting") != -1) {
this.isBatchPrinting = true
}
this.yfOutBranchId = userInfo.RB_Branch_id; this.yfOutBranchId = userInfo.RB_Branch_id;
let userMenuCode = "," + userInfo.ActionMenuCode + ","; let userMenuCode = "," + userInfo.ActionMenuCode + ",";
this.userMenuCode = this.userMenuCode =
...@@ -1988,6 +2024,53 @@ ...@@ -1988,6 +2024,53 @@
this.czgetList(); this.czgetList();
}, },
methods: { methods: {
toggleSelection(rows) {
if (rows) {
rows.forEach(row => {
this.$refs.multipleTable.toggleRowSelection(row);
});
} else {
this.$refs.multipleTable.clearSelection();
}
},
handleSelectionChange(val){
this.multipleSelection = []
this.checkList = []
let type1 = {
type: null,
id: null,
isKehu: 0,
Merge: null,
OrderSource: null
}
let type2 = {
type: null,
id: null,
Merge: null,
OrderSource: null
}
val.forEach(x=>{
this.checkList.push(x)
if(x.Type==1){
type1 = {
type: String(x.Type),
id: x.FrID,
isKehu: 0,
Merge: x.Is_Merge,
OrderSource: x.OrderSource?x.OrderSource:-1
}
this.multipleSelection.push(JSON.parse(JSON.stringify(type1)))
}else{
type2 = {
type: String(x.Type),
id: x.FrID,
Merge: x.Is_Merge,
OrderSource: x.OrderSource?x.OrderSource:-1
}
this.multipleSelection.push(JSON.parse(JSON.stringify(type2)))
}
})
},
uploadFileInvoiceBtn(file) { //上传 uploadFileInvoiceBtn(file) { //上传
if (file.file.size > 1024 * 1024 * 10) { if (file.file.size > 1024 * 1024 * 10) {
this.$message.warning(this.$t('tips.wjdxbncgsz')) this.$message.warning(this.$t('tips.wjdxbncgsz'))
...@@ -2099,7 +2182,7 @@ ...@@ -2099,7 +2182,7 @@
if (this.MarkVorcherInos.length<=0){ if (this.MarkVorcherInos.length<=0){
return this.$message.error("请上传凭证"); return this.$message.error("请上传凭证");
} }
this.apipost("Financial_post_SetJapanPayMark",{FrIDs:this.MarkFrIds,vorcherInos:this.MarkVorcherInos,Remark:this.MarkRemark},res => { this.apipost("Financial_post_SetJapanPayMark",{FrIDs:this.MarkFrIds,vorcherInos:this.MarkVorcherInos,Remark:this.MarkRemark},res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.$message.success(res.data.message); this.$message.success(res.data.message);
...@@ -2330,7 +2413,7 @@ ...@@ -2330,7 +2413,7 @@
null null
); );
}, },
getMarkList(){ getMarkList(){
if(this.MarkFrIds===""){return this.$message.error('请输入单号查询');} if(this.MarkFrIds===""){return this.$message.error('请输入单号查询');}
this.MarkLoading = true this.MarkLoading = true
this.apipost( this.apipost(
...@@ -2360,7 +2443,7 @@ ...@@ -2360,7 +2443,7 @@
this.czMsg.sTradeDate = ""; this.czMsg.sTradeDate = "";
this.czMsg.eTradeDate = ""; this.czMsg.eTradeDate = "";
} }
let msg = Object.assign({}, this.czMsg); let msg = Object.assign({}, this.czMsg);
if (msg.FrID == "") { if (msg.FrID == "") {
msg.FrID = 0; msg.FrID = 0;
...@@ -2553,6 +2636,14 @@ ...@@ -2553,6 +2636,14 @@
} else { } else {
if (t === 2) { if (t === 2) {
this.zhuanBox = true; this.zhuanBox = true;
}else if(t === 3) {
let routeData = this.$router.resolve({
name: 'BatchPrintPage',
query: {
list: JSON.stringify(this.multipleSelection),
}
});
window.open(routeData.href, "_blank");
} else { } else {
this.BOSSDialog = true; this.BOSSDialog = true;
} }
......
...@@ -298,11 +298,13 @@ ...@@ -298,11 +298,13 @@
<tr v-if="isPrintPage"> <tr v-if="isPrintPage">
<td height="26px">{{$t('hotel.hotel_remark')}}</td> <td height="26px">{{$t('hotel.hotel_remark')}}</td>
<td height="26px" colspan="7"> <td height="26px" colspan="7">
{{GetDetail.AuditSteps[GetDetail.AuditSteps.length-1].AuditRecordList[0].Remark ? GetDetail.AuditSteps[GetDetail.AuditSteps.length-1].AuditRecordList[0].Remark : $t('fnc.no')}} <template v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length>0">
{{GetDetail.AuditSteps[GetDetail.AuditSteps.length-1].AuditRecordList[0].Remark ? GetDetail.AuditSteps[GetDetail.AuditSteps.length-1].AuditRecordList[0].Remark : $t('fnc.no')}}
</template>
</td> </td>
</tr> </tr>
</table> </table>
<div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length"> <div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length>0">
<template v-for="(item,index) in GetDetail.AuditSteps"> <template v-for="(item,index) in GetDetail.AuditSteps">
<p> <p>
<span class="font_color_b">{{item.AuditDescription}}</span> <span class="font_color_b">{{item.AuditDescription}}</span>
......
...@@ -245,11 +245,13 @@ ...@@ -245,11 +245,13 @@
<tr v-if="isPrintPage"> <tr v-if="isPrintPage">
<td height="26px">{{$t('hotel.hotel_remark')}}</td> <td height="26px">{{$t('hotel.hotel_remark')}}</td>
<td height="26px" colspan="7"> <td height="26px" colspan="7">
{{GetDetail.AuditSteps[GetDetail.AuditSteps.length-1].AuditRecordList[0].Remark ? GetDetail.AuditSteps[GetDetail.AuditSteps.length-1].AuditRecordList[0].Remark : $t('fnc.no')}} <template v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length>0">
{{GetDetail.AuditSteps[GetDetail.AuditSteps.length-1].AuditRecordList[0].Remark ? GetDetail.AuditSteps[GetDetail.AuditSteps.length-1].AuditRecordList[0].Remark : $t('fnc.no')}}
</template>
</td> </td>
</tr> </tr>
</table> </table>
<div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length"> <div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length>0">
<template v-for="(item,index) in GetDetail.AuditSteps"> <template v-for="(item,index) in GetDetail.AuditSteps">
<p> <p>
<span class="font_color_r">{{item.AuditDescription}}</span> <span class="font_color_r">{{item.AuditDescription}}</span>
......
...@@ -312,11 +312,21 @@ ...@@ -312,11 +312,21 @@
v-if="IsUpdatePayment" v-if="IsUpdatePayment"
:loading="loadingDC2" class="normalBtn" :loading="loadingDC2" class="normalBtn"
@click="method5(2)">{{$t('objFill.fapiaopzdc')}}</el-button> @click="method5(2)">{{$t('objFill.fapiaopzdc')}}</el-button>
<el-button v-if="isBatchPrinting"
:loading="loadingDC"class="normalBtn"
@click="goPrinting()">批量打印</el-button>
</li> </li>
</ul> </ul>
</div> </div>
<div class="_fnDm_content" v-loading='loading'> <div class="_fnDm_content" v-loading='loading'>
<el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%"> <el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%"
@selection-change="handleSelectionChange"
row-key="FrID">
<el-table-column v-if="isBatchPrinting"
:reserve-selection="true"
type="selection"
width="55">
</el-table-column>
<el-table-column prop="address" :label="$t('fnc.danhao')" width="90"> <el-table-column prop="address" :label="$t('fnc.danhao')" width="90">
<template slot-scope="scope"> <template slot-scope="scope">
<el-popover popper-class="detailsIT_Journal" placement="bottom-start" trigger="click"> <el-popover popper-class="detailsIT_Journal" placement="bottom-start" trigger="click">
...@@ -728,8 +738,12 @@ ...@@ -728,8 +738,12 @@
<div style="padding-bottom:15px"> <div style="padding-bottom:15px">
<el-pagination background @current-change="handleCurrentChanges" layout="total,prev, pager, next, jumper" <el-pagination background
:page-size="pageSize" :total='total'> @current-change="handleCurrentChanges"
@size-change="handleSizeChange"
layout="total,sizes,prev, pager, next, jumper"
:page-size="msg.pageSize" :total='total'
:page-sizes="[5,15,20,30,50,100,200]">
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
...@@ -1026,6 +1040,8 @@ ...@@ -1026,6 +1040,8 @@
}, },
dialogTitle:"", dialogTitle:"",
dialogTitle1:"", dialogTitle1:"",
multipleSelection: [],
isBatchPrinting: false,
} }
}, },
created() { created() {
...@@ -1050,6 +1066,9 @@ ...@@ -1050,6 +1066,9 @@
if (ActionMenuCode.indexOf("F_AccountantFinanceMerge") != -1) { if (ActionMenuCode.indexOf("F_AccountantFinanceMerge") != -1) {
this.IsUpdatePayment = true this.IsUpdatePayment = true
} }
if (ActionMenuCode.indexOf("isBatchPrinting") != -1) {
this.isBatchPrinting = true
}
if (this.$route.query.returnCode) { if (this.$route.query.returnCode) {
this.active = this.$route.query.returnCode; this.active = this.$route.query.returnCode;
this.msg.Conditon = this.$route.query.returnCode; this.msg.Conditon = this.$route.query.returnCode;
...@@ -1135,6 +1154,56 @@ ...@@ -1135,6 +1154,56 @@
}) })
}, },
methods: { methods: {
goPrinting(){
if(this.multipleSelection.length==0) return this.$message({
type: 'info',
message: '请选择需要打印的数据',
});
// GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource
let routeData = this.$router.resolve({
name: 'BatchPrintPage',
query: {
list: JSON.stringify(this.multipleSelection),
}
});
window.open(routeData.href, "_blank");
},
handleSelectionChange(val){
this.multipleSelection = []
let type1 = {
type: null,
id: null,
isKehu: 0,
Merge: null,
OrderSource: null
}
let type2 = {
type: null,
id: null,
Merge: null,
OrderSource: null
}
val.forEach(x=>{
if(x.Type==1){
type1 = {
type: String(x.Type),
id: x.FrID,
isKehu: 0,
Merge: x.Is_Merge,
OrderSource: x.OrderSource?x.OrderSource:-1
}
this.multipleSelection.push(JSON.parse(JSON.stringify(type1)))
}else{
type2 = {
type: String(x.Type),
id: x.FrID,
Merge: x.Is_Merge,
OrderSource: x.OrderSource?x.OrderSource:-1
}
this.multipleSelection.push(JSON.parse(JSON.stringify(type2)))
}
})
},
ClaerClientAccountList(){ ClaerClientAccountList(){
this.ClientAccountList=[]; this.ClientAccountList=[];
}, },
...@@ -1281,6 +1350,11 @@ ...@@ -1281,6 +1350,11 @@
}, },
// 数据筛选 // 数据筛选
filterMethod(filters) {}, filterMethod(filters) {},
// 更改每页条数
handleSizeChange(val) {
this.msg.pageSize = val
this.getPageList();
},
handleCurrentChanges(val) { handleCurrentChanges(val) {
this.pageIndex = this.msg.pageIndex = val; this.pageIndex = this.msg.pageIndex = val;
this.getPageList(); this.getPageList();
......
...@@ -902,7 +902,7 @@ tr._item_list td:last-child { ...@@ -902,7 +902,7 @@ tr._item_list td:last-child {
float: left; float: left;
font-size: 12px; font-size: 12px;
color: #666; color: #666;
margin: 20px 30px 20px 0; margin: 5px 30px 5px 0;
} }
input::-webkit-outer-spin-button, input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { input::-webkit-inner-spin-button {
......
...@@ -464,7 +464,7 @@ tr._item_list td:last-child { ...@@ -464,7 +464,7 @@ tr._item_list td:last-child {
float: left; float: left;
font-size: 12px; font-size: 12px;
color: #666; color: #666;
margin: 20px 30px 20px 0; margin: 5px 30px 5px 0;
} }
input::-webkit-outer-spin-button, input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { input::-webkit-inner-spin-button {
......
...@@ -873,7 +873,7 @@ tr._item_list td:last-child { ...@@ -873,7 +873,7 @@ tr._item_list td:last-child {
float: left; float: left;
font-size: 12px; font-size: 12px;
color: #666; color: #666;
margin: 20px 30px 20px 0; margin: 5px 30px 5px 0;
} }
input::-webkit-outer-spin-button, input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { input::-webkit-inner-spin-button {
......
...@@ -911,7 +911,7 @@ ...@@ -911,7 +911,7 @@
float: left; float: left;
font-size: 12px; font-size: 12px;
color: #666; color: #666;
margin: 20px 30px 20px 0; margin: 5px 30px 5px 0;
} }
input::-webkit-outer-spin-button, input::-webkit-outer-spin-button,
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
} }
.cityManagement .query-box li { .cityManagement .query-box li {
margin: 20px 30px 20px 0; margin: 5px 30px 5px 0;
} }
.cityManagement ._addUpload_box>div:hover { .cityManagement ._addUpload_box>div:hover {
......
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
title: '员工管理' title: '员工管理'
}, },
}, },
{ {
path: '/Temporarystaff', //员工管理 path: '/Temporarystaff', //员工管理
name: 'Temporarystaff', name: 'Temporarystaff',
...@@ -6218,6 +6218,14 @@ export default { ...@@ -6218,6 +6218,14 @@ export default {
meta: { meta: {
title: '支付宝支付' title: '支付宝支付'
}, },
} },
{
path: '/BatchPrintPage', //财务打印页面
name: 'BatchPrintPage',
component: resolve => require(['@/components/BatchPrintPage'], resolve),
meta: {
title: '财务批量打印页面'
},
},
] ]
} }
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