Commit c3bae4cf authored by 黄奎's avatar 黄奎
parents 2da5e7f2 fc529f00
<style>
<style scoped>
@import "../../../assets/css/newTravelManager.css";
._TradeWayList {
padding: 5px 10px;
background-color: #eeeeee;
border-radius: 4px;
margin: 0 0 3px 0;
width: 190px;
}
._bold {
font-weight: bold;
}
._bank_name,
._bank_type {
display: inline-block;
background-color: #333333;
color: white;
padding: 2px 4px;
border-radius: 4px;
margin-left: 10px;
}
._bank_name {
margin-left: 10px;
}
._bank_type {
background-color: #2aaef2;
}
._bank_type2 {
background-color: #ff9c01;
}
.TB_comtitle {
color: #333333;
padding-left: 10px;
......@@ -358,6 +390,8 @@
</el-row>
</div>
</div>
<div class="Team_collection" v-loading="loading">
<div class="clearfix TB_PrintDiv" v-if="auditCoun>0">
<div style="font-size: 15px;margin-top: 10px;">当前有<span
......@@ -408,6 +442,61 @@
</tr>
</template>
</table>
<div v-if="draftList&&draftList.length>0">
<div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">我的草稿单据</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="180">单号</th>
<th width="200">费用类型</th>
<th width="190">交易明细</th>
<th width="300">金额</th>
<th width="200">交易日期</th>
<th width="250">制单人员</th>
<th width='180'>审核状态</th>
<th width="200">当前审核人</th>
</tr>
<template v-for="item in draftList">
<tr>
<td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
</td>
<td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td>
<td style="display: flex;flex-wrap: wrap;justify-content: center;padding: 5px;">
<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 v-for="childItem in item.TradeWayList">
支付方式:{{childItem.Alias}}
<span class="TB_Rate">币种:{{childItem.CurrencyName}}</span>
<span class="Team_Coins">{{childItem.OriginalMoney}}*{{childItem.Rate}}</span>
<span class="TB_Rate">汇率:{{childItem.Rate}}</span>
</div> -->
</td>
<td style="font-size:14px;">
应收:{{item.Money}}<br />
实收:{{item.PayMoney}}
</td>
<td>{{FormartDate(new Date(item.TradeDate))}}</td>
<td>
<div>{{item.EmName}}</div>
<div class="Team_btmDiv">{{item.CreateDate}}</div>
</td>
<td>{{item.StatusStr}}</td>
<td>
<div v-for="AuditItem in item.AuditList">
{{AuditItem.EmName}}
<span class="TB_Rate">{{AuditItem.AuditDate}}</span>
</div>
</td>
</tr>
</template>
</table>
</div>
<div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">收入
<template v-if="DataList&&DataList.TeamBalance&&DataList.TeamBalance.TCNUM">
......@@ -1665,6 +1754,7 @@
export default {
data() {
return {
draftList: [],//我的草稿数据
isIncomeExpenditure: false, //查看团队收支明细权限
auditList: [],
auditCoun: 0,
......@@ -1776,6 +1866,23 @@
};
},
methods: {
Financial_post_GetPageList(){
let msg = {
pageIndex: 1,
pageSize: 6,
Status: 0,
Conditon: 1,
TCID: this.TCID,
}
this.apipost(
"Financial_post_GetPageList",msg,
res => {
if (res.data.resultCode == 1) {
let dataList = res.data.data.pageData;
this.draftList = dataList
}
})
},
//查询驳回数据
GetALLPageList() {
let msg = {
......@@ -2529,6 +2636,7 @@
this.getdataInfo();
this.getDocList();
this.GetAuth();
this.Financial_post_GetPageList()
}
};
......
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