Commit bbfd3042 authored by 黄奎's avatar 黄奎

团队收支明细页面修改

parent 0ca1402b
...@@ -117,12 +117,12 @@ ...@@ -117,12 +117,12 @@
</style> </style>
<template> <template>
<div class="flexOne TeamBalancePayment" v-if="isShow" v-loading="loading"> <div class="flexOne TeamBalancePayment" v-loading="loading">
<div id="print"> <div id="print">
<div class="Team_Details"> <div class="Team_Details">
<div class="TB_comtitle">团队收支明细</div> <div class="TB_comtitle">团队收支明细</div>
<div class="Team_Content"> <div class="Team_Content" v-loading="loading">
<el-row :gutter="12"> <el-row :gutter="12" v-if="DataList&&DataList.TeamBalance">
<el-col :span="4"> <el-col :span="4">
<div class="Team_DList"> <div class="Team_DList">
<div class="Team_firstTitle">收客情况</div> <div class="Team_firstTitle">收客情况</div>
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
</el-row> </el-row>
</div> </div>
</div> </div>
<div class="Team_collection"> <div class="Team_collection" v-loading="loading">
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">收入</div> <div class="TB_comtitle TB-Title">收入</div>
<input type="button" value="新增" class="hollowFixedBtn TeamAddBtn" v-show="ishowBtn" @click="AddIncomeDetail" /> <input type="button" value="新增" class="hollowFixedBtn TeamAddBtn" v-show="ishowBtn" @click="AddIncomeDetail" />
...@@ -459,7 +459,7 @@ ...@@ -459,7 +459,7 @@
</template> </template>
</table> </table>
</div> </div>
<div class="Team_collection"> <div class="Team_collection" v-loading="loading">
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">成本</div> <div class="TB_comtitle TB-Title">成本</div>
<input type="button" value="新增" class="hollowFixedBtn TeamAddBtn" v-show="ishowBtn" @click="AddOutDetail" /> <input type="button" value="新增" class="hollowFixedBtn TeamAddBtn" v-show="ishowBtn" @click="AddOutDetail" />
...@@ -839,7 +839,7 @@ ...@@ -839,7 +839,7 @@
</td> </td>
</tr> </tr>
</template> </template>
</table> </table>
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">其他:</div> <div class="TB_comtitle TB-Title">其他:</div>
</div> </div>
...@@ -888,8 +888,7 @@ ...@@ -888,8 +888,7 @@
</template> </template>
</table> </table>
</div> </div>
<div class="Team_collection" v-loading="loading">
<div class="Team_collection">
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">非成本</div> <div class="TB_comtitle TB-Title">非成本</div>
<input type="button" value="新增" class="hollowFixedBtn TeamAddBtn" v-show="ishowBtn" @click="AddOutDetail" /> <input type="button" value="新增" class="hollowFixedBtn TeamAddBtn" v-show="ishowBtn" @click="AddOutDetail" />
...@@ -989,17 +988,15 @@ ...@@ -989,17 +988,15 @@
</template> </template>
</table> </table>
</div> </div>
</div> </div>
<div class="Team_BtnList"> <div class="Team_BtnList">
<input type="button" @click="zhaunBox" value="单据转团" class="hollowFixedBtn" /> <input type="button" @click="zhaunBox" value="单据转团" class="hollowFixedBtn" />
<input type="button" v-if="!CloseIncomeBtn" @click="UpdateBrakeAccountStatus" :value="DataList.TeamBalance.BrakeAccountStatus === 0 ? '关闭收支操作' : '开启收支操作'" <input type="button" v-if="!CloseIncomeBtn" @click="UpdateBrakeAccountStatus" :value="(DataList&&DataList.TeamBalance&&DataList.TeamBalance.BrakeAccountStatus === 0) ? '关闭收支操作' : '开启收支操作'"
class="hollowFixedBtn" /> class="hollowFixedBtn" />
<input type="button" value="导出" @click="ExportExcle" class="normalBtn" /> <input type="button" value="导出" @click="ExportExcle" class="normalBtn" />
<input type="button" value="打印" @click.prevent="doPrint" class="normalBtn" /> <input type="button" value="打印" @click.prevent="doPrint" class="normalBtn" />
</div> </div>
<el-dialog custom-class='w350' title="合并单据" :visible.sync="zhuanLoading" center :before-close="initZhuanMsg"> <el-dialog custom-class='w350' title="合并单据" :visible.sync="zhuanLoading" center :before-close="initZhuanMsg">
<!--zhaunMsg.TCNUM-->
<el-form label-width="110px"> <el-form label-width="110px">
<el-form-item label="转出团号:" class="w280"> <el-form-item label="转出团号:" class="w280">
<el-input v-model="zhuanMsg.TCNUM"></el-input> <el-input v-model="zhuanMsg.TCNUM"></el-input>
...@@ -1019,7 +1016,6 @@ ...@@ -1019,7 +1016,6 @@
TCID: 0, TCID: 0,
//数据列表 //数据列表
DataList: "", DataList: "",
isShow: false,
OutBranchId: 0, OutBranchId: 0,
ishowBtn: true, ishowBtn: true,
CloseIncomeBtn: false, CloseIncomeBtn: false,
...@@ -1034,26 +1030,22 @@ ...@@ -1034,26 +1030,22 @@
}, },
methods: { methods: {
//判断数组包含字符串 //判断数组包含字符串
isExists(array,str) isExists(array, str) {
{ var flag = false;
var flag=false; array.forEach(item => {
array.forEach(item=>{ if (item == str && !flag) {
if(item==str && !flag) flag = true;
{ }
flag=true;
}
}); });
return flag; return flag;
}, },
//判断数组不包含字符串 //判断数组不包含字符串
NotExists(array,str) NotExists(array, str) {
{ var flag = true;
var flag=true; array.forEach(item => {
array.forEach(item=>{ if (item == str && flag) {
if(item==str && flag) flag = false;
{ }
flag=false;
}
}); });
return flag; return flag;
}, },
...@@ -1119,7 +1111,6 @@ ...@@ -1119,7 +1111,6 @@
this.apipost("travel_get_GetTeamBalanceSheet", msg, res => { this.apipost("travel_get_GetTeamBalanceSheet", msg, res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.isShow = true;
let data = res.data.data; let data = res.data.data;
data.FiniceReciveList.forEach(x => { data.FiniceReciveList.forEach(x => {
x.checked = false; x.checked = false;
......
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